tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:  Boot to mirrorset in raidarray
@ 2004-04-22 14:02 Joehnk, John
  0 siblings, 0 replies; only message in thread
From: Joehnk, John @ 2004-04-22 14:02 UTC (permalink / raw)



Thanks to all that answered it is always a great help!

I have included the basic steps that I followed to create the duplicate drive.
I found an older article the mentioned that to do this, and have it bootable, the LUN of the "new" boot drive needed to be 0.

When I created my new mirrorset with a LUN of 0, it worked.

I have not tried again with a non 0 LUN to verify this, but it seems to be the difference.



These are the steps that I followed

***
Assuming that your new disk is a rz28d and is the rz1 disk

disklabel -wr -t ufs rz1 rz28d
newfs /dev/rz1a
newfs /dev/rz1g
mkdir /root2
mkdir /usr2
shutdown now
mount -u /
mount /dev/rz1a /root2
mount /usr
mount /dev/rz1g /usr2
vdump -0 -f - -D / |vrestore -xf - -D /root2
vdump -0 -f - -D /usr |vrestore -xf - -D /usr2

Some import changes to make to the new root disk.

mount root2_domain#root /root2
1.  In the /root2/etc/fstab file change your swap space to the new disk.
	change 	/dev/rz0b        swap1  ufs sw 0 2
	to	/dev/rz1b        swap1  ufs sw 0 2
***




-------------------------------------------------------------------------------------

Is it possible to have your boot/system disk in a raid cabinet?

I am testing this on an AlphaServer 1000 running 4.0g connecting to a Raid Cabinet with HSZ40 controllers.  

My production system is a 4100 with HSZ70 controllers.

I have used the vdump / vrestore procedures to copy the system.  I feel that the drive is partitioned correctly.

I made the changes to the fstab on the "new" system disk.  when I reboot and specify that drive it begins reading from the raid array, but at some point during the boot, it seems to change back to the original disk and the boot fails.

I have removed any reference to the internal drives that I can find, but the boot fails.

Any suggestions or thoughts?

Thanks

John Joehnk
Scroll Technologies


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

only message in thread, other threads:[~2004-04-22 14:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-22 14:02 SUMMARY: Boot to mirrorset in raidarray Joehnk, John

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