From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078618110304.tru64-unix-managers.marc@archive.invalid> From: Susan Rodriguez Date: Tue, 07 Oct 1997 22:13:14 +0000 To: tru64-unix-managers Subject: [Q] - Booting from a spare root disk X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078618110304 I have created a spare root disk on my Alpha 3000. I used dump -0f - / | (cd /mnt;restore -xf -) to make the spare disk look exactly like my root disk. I did dumps for / and /usr. All of this works fine. I am trying to simulate what I would need to do if my root disk really went bad. I am having two problems: 1. How to auto-mount my /, /usr, and swap1 to partitions on the spare device . I can specify the spare device to boot with: >>> boot dkb200 When I boot this way, /etc/fstab tries to mount to the original devices and swap spaces. I thought that setting ">>>boot_osflags s" would allow me to edit the fstab and reboot, but - low and behold, booting to single-user from the spare disk brought / up as a read-only file system. How can I get the filesystems to mount to the spare devices? 2. Can't seem to lose the swap partition from the original device. I worked around the fstab problem by booting on my original root device, changing the fstab on the spare device to mount the filesystems to the spare partitions, then rebooted. (Yes - I cheated, couldn't do this if root were really bad.) It worked except for the swap space. Now, instead of just the original rz1b swap partition, I have 2: rz1b (original) and rz10b (spare). Now why would rz1b show up as swap when it was not in my new fstab file? Original fstab: /dev/rz1a / ufs rw 1 1 /proc /proc procfs rw 0 0 /dev/rz1g /usr ufs rw 1 2 /dev/rz1b swap1 ufs sw 0 2 New fstab: /dev/rz10a / ufs rw 1 1 /proc /proc procfs rw 0 0 /dev/rz10g /usr ufs rw 1 2 /dev/rz10b swap1 ufs sw 0 2 Perhaps the answers would be obvious if the root disk were really bad, but I'd rather not wait to find out. Any helpful hints are greatly appreciated. Summary will follow. TIA Susan Rodriguez susrod@hbsi.com