From: Rich Glazier <rglazier2002@yahoo.com>
To: tru64-unix-managers@ornl.gov
Subject: migrating boot disk (root_domain) from one EVA to another
Date: Wed, 04 Feb 2009 18:58:16 -0800 (PST) [thread overview]
Message-ID: <139684.35795.qm@web32207.mail.mud.yahoo.com> (raw)
5.1A PK6, DS20E, EVA5000
Managers,
I know that the root domain is the only domain in AdvFS that you can not add a volume to. We are migrating our storage from an old EVA5000 to a new EVA8100, and I've been using addvol/rmvol to accomplish this for the non root domains.
(presented a new lun from the 8100, labeled it, added the volume into the domain (addvol), and removed the
old 5000 volume from the domain (rmvol)).
I can not do this for the bootable root disk; I boot off the SAN. I need to migrate the root_domain another way. Here was my plan. Please see if this seems sounds. If there's a better way to do it, or if anyone has done it, please let me know.
- present new root lun from 8100
- hwmgr sc sc
- hwmgr sh sc / hwmgr v d (note Lun # /OSID of new disk)
- disklabel -rw new disk (making it bootable)
- mkfdmn /dev/disk/dskxx root2_domain
- mkfset root2_domain root
- mkdir /root2
- mount root2_domain#root /root2
- shutdown system application
- vdump -0f - / | vrestore -xf - -D /root2
- change system to not reboot
- consvar -s auto_action HALT
- consvar -l (see that it changed)
- consvar -a (write it to NVRAM)
- bring to single user mode (init s)
- change fstab file so that root2_domain#root mounts to /
- change fstab file- comment out root_domain#root mount
- shutdown system (halt) to SRM prompt, show old boot device
-P00>>> show bootdef_dev (pga...)
- go into wwidmgr and quickset to new lun paths
- P00>>> wwidmgr -show wwid (take not of old boot disks)
- P00>>> init
- P00>>> set mode diag
- P00>>> init
-P00>>> wwidmgr -clear all
-P00>>> init
- P00>>> wwidmgr -show wwid (find UDID that matches OSID from lun on 8100)
- P00>>> init
-P00>>> wwidmgr -quickset -udid ## (## is OSID of lun. do for one path from each controller)
-P00>>> init
-P00>>> show dev kgpsa* (find pga* names of devices to boot)
-P00>>> init
-P00>>> set bootdev_dev pga*..., pgb*...
- Change console from HALT to BOOT
-P00>>> set auto_action boot
- b -fl s (boot to single user mode)
- If it boots from new disk, continue to multiuser mode (CTRL D)
Thanks for the help,
Rich
next reply other threads:[~2009-02-05 2:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-05 2:58 Rich Glazier [this message]
2009-02-10 22:40 ` SUMMARY: migrating boot disk (root_domain) from one EVA to another Rich Glazier
2009-02-16 20:59 ` SUMMARY:CORRECTION " Rich Glazier
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox