Unix OS HP-UX Move root disk to same model of machine (11iv3)

** Myself
Move root disk to same model of machine
- EFI --> change boot record to hpux in disk
Move root disk to another model of machine
- From old machine,Exported all vg to map file(ex vgexport –s –m vg00.map vg00 into root path)
- EFI --> change boot record to hpux in disk
- boot vmunix –lm
- mkdir /dev/vg00
- mknod /dev/vg00/group c 64 0x000000
- vgimport /dev/vg00 /dev/dsk/cXtXd0
- vgchange -a y /dev/vg00
- repeat step to all vgs
- mount –a
- lvlnboot –v
- If any errors fix it by lvlnboot
#rmlnboot -b
#rmlnboot -r
#rmlnboot -s
#rmlnboot -d
#lvlnboot -b /dev/vg00/lvol1 ===== > for boot partition
#lvlnboot -r /dev/vg00/lvol3 ===== > for root partition
#lvlnboot -s /dev/vg00/lvol2 ===== > for swap partition
#lvlnboot -d /dev/vg00/lvol2 ===== > for dump partition
- shutdown –Ry 0 (-R to reconfig)

0 comments:

Loading