tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [Q] - Booting from a spare root disk
@ 1997-10-07 22:13 Susan Rodriguez
  0 siblings, 0 replies; only message in thread
From: Susan Rodriguez @ 1997-10-07 22:13 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-10-07 22:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-07 22:13 [Q] - Booting from a spare root disk Susan Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox