From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078618110202.tru64-unix-managers.marc@archive.invalid> From: "Ramanujan, Preethi" Date: Wed, 01 Oct 1997 20:32:57 +0000 To: tru64-unix-managers Subject: SUMMARY: vrestore of / and /usr partition X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078618110202 First of all I apologise for this delayed summary. I had posted a question in early Sep about procedures for restoring / and /usr partition mounted using ADFS. Thanks a lot for all the replies. The following 2 were replies which I found really helpful : Solution 1 DaveB@healthotago.com Go to the correct file on the tape useing "mt -fsf#" where # is the file number (I think mt -fsf 1 takes you to the first one - I don't think it numbers from zero) Then run vrestore using the interactive mode -- from memory the "h" command in interactive mode gives you a list of commands -- it may be "?" vrestore -i You then mark the files/directories you want to restore. When you extract them they go into the current directory - so make sure you're in the correct directory when you run vrestore. You can do everything from switches in vrestore if you want -- frankly I have found the interactive mode so useful I haven't learnt these. Hope this helps Dave Solution 2 >From Donald bovee bovee@amath.washington.edu You have probably heard from others by now. When restoring / and /usr you must first find a way to boot up the computer without using / and /usr. There is a way to do this booting from the CD-ROM with the operating system on it. Check your Digital Unix installation guide for how to do this. When booting up from the CD-ROM you can escape to shell after vmunix is loaded. At that point, if your / and /usr partitions were ADVFS filesets, you will need to recreate the filedomain and filesets with commands something like ' mkfdmn -r /dev/rz0a root_domain; mkfset root_domain root' and 'mkfdmn /dev/rz0g usr_domain; mkfset usr_domain usr'. Mount root and usr ('mkdir /var/root; mount root_domain#root; mkdir /var/usr; mount usr_domain#usr /var/usr')then 'cd /var/root; vrestore -xf /dev/rmt0h '. For /usr 'cd /var/usr; mt -f /dev/nrmt0h fsf 1; vrestore -xf /dev/nrmt0h '. If your disk is really trashed, you may need to first use disklabel. Make sure you use the same partition information as before otherwise your restored filesets may not fit. You might also need to create the tape device (for a tape at SCSI target 5, '/dev/MAKEDEV tz5'). When done, shutdown your computer, make sure that the boot device is the one you have restored your root filesystem to and boot. -Don