Operating System - HP-UX
1757032 Members
1880 Online
108858 Solutions
New Discussion юеВ

Re: how to migrate root file systems to new EMC SAN disk

 
SOLVED
Go to solution
Michal Kapalka (mikap)
Honored Contributor

Re: how to migrate root file systems to new EMC SAN disk

hi,

but you could also use DRD to clone the system to another disk.

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=DynRootDisk

and the latest way is to make a Ignite backup / restore.

mikap
Vishu
Trusted Contributor
Solution

Re: how to migrate root file systems to new EMC SAN disk

Hi Brian,

Here is the procedure. Suppose your new SAN disk is c0t5d0 and old SAN disk is c0t0d0. Then,

# pvcreate -f -B /dev/rdsk/c0t5d0
# vgextend /dev/vg00 /dev/dsk/c0t5d0
# mkboot -l /dev/rdsk/c0t5d0
# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c0t5d0
# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c0t5d0
# lvextend -m 1 /dev/vg00/ /dev/dsk/c0t5d0 (Repeat for every LV in VG00)
# lvlnboot -R /dev/vg00
# lvlnboot -v

Now, you must see both disks in lvlnboot -v output. if yes, then you can proceed reducing your LV on old disk.


#lvreduce -m 0 -A n /dev/vg00/ /dev/dsk/c0t0d0 (Repeat for every LV in VG00)

# vgreduce vg00 /dev/dsk/c0t0d0

Check o/p of 'setboot' command, if primary path is not set. Set by below command.

#setboot -p
Brian Lee_4
Regular Advisor

Re: how to migrate root file systems to new EMC SAN disk

Thank you all.
brian lee