From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078715811725.tru64-unix-managers.marc@archive.invalid> From: CHANTHP () POLAROID ! COM (PHETPHONE D CHANTHAVONG) Date: Thu, 16 Jul 1998 13:46:31 +0000 To: tru64-unix-managers Subject: SUMMARY...recover root & /usr with LSM X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078715811725 Hi all, Thanks to all, who replied to my question, most of them just talking in general... These are the answer to my question below. The answer are base on the experiement on my testing system with help from Compaq/Digital: 1. Boot installation CD and select option UNIX Shell. 2. Create special device filesystem and edit the disk label # cd /dev # ./MAKEDEV re0 tz5 # disklabel -z re0 # disklabel -rw -t advfs re0 SWXCR 3. Recreate root filesystem using mkfdmn & mkfset 4. Restore root from the backup. 5. edit fstab, change LSM references to disk references everything on the system disk. 6. Change link to references all domains. 7. edit sysconfigtab and change the following lines from 1 to 0. lsm_rootdev_is_volume lsm_swapdev_is_volume 8. remove link od /sbin/swapdefault and recreate it. # rm -e /sbin/swapdefault # ln -sf ../dev/re0b swapdefault # sync # sync # sync 9. Halt and reboot the system to singleuser mode. 10. Remove and recreate usr_domain and restore /usr from tape, assumed /var is in /usr. 11. start & remove all LSM system disk volumes using voldg command. # /sbin/lsmbstartup -n # voldg -rf rm rootvol # voldg -rf rm swapvol # voldg -rf rm vol-re0g 12. reboot the system to multiuser mode. 13. you now can reencapsulating and remirror the system disk. Your system will then be configured as it was. Thanks, -Pat ______________________________ Forward Header __________________________________ Subject: recover root & /usr with LSM Author: PHETPHONE D CHANTHAVONG at ~W300F2 Date: 7/13/98 11:39 AM hello all, I have another problem when trying to recover the root & /usr with Encapsalting LSM on it under Digital UNIX V4.0 and higher. After I restored "vrestore" files system of root & /usr from the backup "vdump" tape and I then halt and reboot the system, but the system won't boot. The error: lsm:vold: Error: system startup failed. I have tried it with the system fully reinstall and with loading from the installation software CD and select option #3 (UNIX Shell prompt) as what it said on the manual and I have no luck with it. Is anyone having this kind of problem and know the answer? Thanks, -pat