From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653731622889.tru64-unix-managers.marc@archive.invalid> From: jreed () athena ! appliedtheory ! com Date: Wed, 27 Mar 2002 13:38:27 +0000 To: tru64-unix-managers Subject: SUMMARY: migrating boot disks X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653731622889 Thanks to all who responded so quickly. Consensus seems to be that plan will generally work, but vdump/vrestore to new OS disks while system is up will give me a better copy and prevent possible problems with restoring from a backup that didn't know about new LSM config. Other items were: * may not need to take system down if disks are hot-pluggable * /etc/passwd, /var/tcb, /var/... files might change = during vdump/vrestore * "consvar" could be used to change console params - I've crashed a system or two, though, using consvar, so am wary! * if a cluster, could be very complicated, may need to remove a cluster member and re-add to recreate its boot disk. * make sure to modify /etc/rc.config swap partition reference. * V5.* makes the whole exercise much more complicated! John Losey had an interesting scenario where you keep the OS disks at sam= e locations by swapping old with new and then booting CD and using = vdump/vrestore, here are details: -------------------------------------------------------- One thought might be to: (Assuming 4.0x, I'm not overly sure how 5.x woul= d = handle something similar) *=A0 Take the system down. = *=A0 Move the two old disks to the empty slots. = *=A0 Put the new disks into the newly available slots. (this would keep L= SM & = /etc/fstab happier). *=A0 Boot to the OS CD, go to shell mode. = *=A0 Partition new disks. = *=A0 Mount new disk & old disk (only need to mount the primaries, since y= ou = implied they are LSM mirrors). *=A0 Use vdump | vrestore (syntax near the bottom of the manpage for vres= tore) = to dump from old OS disk to new OS disk. *=A0 Shutdown the system. = *=A0 Boot to the new disk (which should be the same console setting as it= was = before) Since LSM is expecting your / & /usr part of the LSM Mirror to be at a = specific disk (say /dev/rz0), by putting the new disks at that location, = you'll keep LSM happy while still migrating to new disks.=A0 If you're = using Tru64 5.x, things get a bit different because the old disks = would probably still be /dev/disk/dsk0 (I believe it tracks the serial# = of the drive and would notice that the old drives were at a new Target = and keep the old name).=A0 Though there have been posts lately talking = about how to clear out the device information, so this might be able = to be worked around as well. ------------------------------------------------------------- alan@nabeth notes that in V4 moving the physical system disk is easy, = but in V5 OS remembers what disk it was on and makes things more complica= ted. He also notes that there should be summaries about the v5 issue of modifying the hardware database, and that there might be a best practices paper on Compaq's website. -------------------------------------------------------------- Several people sent more or less detailed instructions, you know who you are, huge thanks to you!!!!!!! Regards, Judith Reed