The following steps describe how to load and enable Prestoserve for use with DiskSuite. Basically, you edit the /etc/system file to load Prestoserve after the DiskSuite driver.
Add the following line to the /etc/system file.
exclude: drv/pr |
Edit the /etc/init.d/lvm.init file and add the following lines to the end of the "start" clause.
'start') rm -f /tmp/.mdlock if [ -x "$METAINIT" -a -c "$METADEV" ]; then #echo "$METAINIT -r" $METAINIT -r error=$? #echo "$error" case "$error" in 0|1) ;; 66) echo "Insufficient metadevice database replicas located." echo "" echo "Use metadb to delete databases which are broken." echo "Ignore any \"Read-only file system\" error messages." echo "Reboot the system when finished to reload the metadevice database." echo "After reboot, repair any broken database replicas which were deleted." /sbin/sulogin < /dev/console echo "Resuming system initialization. Metadevice database will remain stale." ;; *) echo "Unknown $METAINIT -r failure $error." ;; esac modload /kernel/drv/pr presto -p >/dev/null fi ;; |
Edit the /etc/init.d/prestoserve file.
Replace the following line:
presto -u |
with the line:
presto -u /filesystem... |
In this command, filesystem... is a list of every file system to be accelerated with Prestoserve. Do not include any of the following: