ZYY0104 发表于 2011-8-2 11:35:41

HPUX 专区 11.23 vgcfgrestore更换IAmirror盘

# vi /tmp/partitionfile
The 4 line entry for 11.23 should look like this:
3
EFI 500MB
HPUX 100%
HPSP 400MB
# idisk -wf /tmp/partitionfile /dev/rdsk/cXtXdX
Use insf to create the new device dfiles (cXtXdXs1, cXtXdX2 and cXtXdXs3)
# insf -e
Use mkboot to format and populate the newly created EFI partition:
# mkboot -e -l /dev/dsk/cXtXdX
# pvchange -a n /dev/dsk/cXtXdXs2
# vgcfgrestore -n vg00 /dev/rdsk/cXtXdXs2
# pvchange -a y /dev/dsk/cXtXdXs2
# vgchange -a y vg00
# vgsync vg00
# lvlnboot -r /dev/vg00/lvol3 /dev/vg00
# lvlnboot -b /dev/vg00/lvol1 /dev/vg00
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00
# lvlnboot -v (to verify the results)
页: [1]
查看完整版本: HPUX 专区 11.23 vgcfgrestore更换IAmirror盘