DONE - Change /dev/vx/dsk to /etc/vx/dsk (verify first on system) in config file If it is supposed to be /dev/vx, then fix the vxclone script (it is /dev/vx - duh!) DONE - Update vfstab creation to mark as yes and pass 2 all non /, /usr, /var filesystems. DONE - Is there a way to check syntax in the config file??? DONE - Add check to make sure target filesystem is large enough for source data DONE - test the target size by purposely making the target too small. - add test to make sure target filesystems are not currently in use and drives are not owned by veritas (compare to vfstab, current mounts, check tag on partitions 3 and 4. - add option to have it update motd, add rc script to log/email/page that it is running on clone drive - create restore script to restore original root drives from clone drives - Add install-db touch as option -n - Add -m option and function show_manpage to show manpage info - Add option (-t) to test config file and mount/unmount of target drives? use newfs -N to test, df test, devinfo? use case statements, run tests, then if case is TEST exit - Add option (-p) to probe system to see if root volumes are encapsulated and if there are any unused drives available as targets if case is PROBE then only probe system if case is RUN, then run the remainder of the script - Figure out why ufsdump/ufsrestore when run from cron gives: Restoring the new filesystem from rootvol... Cannot open("/dev/tty"): No such device or address DUMP: Writing 32 Kilobyte records DUMP: Date of this level 0 dump: Tue Aug 17 18:45:29 1999 Add to README/MANPAGE: remind user to update bootprom for nvalias for the target drive (ls -l /dev/rdsk/xxx) if you don't want veritas to start at all, boot clone-disk -s touch /etc/vx/reconfig.d/state.d/install-db and then reboot if the user wants to mount the non-rootdg volumes and have them available while the root drives are being repaired, they can simply cut and paste the volumes from /etc/vfstab.veritas to /etc/vfstab and then mount them: mountall To recover the veritas root drives - boot off of clone - vxdiskadm remove root drives - luxadm remove root drives - luxadm replace root drives - format/partition/label the drives - newfs/fsck the filesystems - ufsdump/ufsrestore from the clone disk - vxdiskadm add the drive to veritas - re-encapsulate the drives - add the rest of the volumes from /etc/vfstab.veritas - reboot the system