今天尝试在一台带HP 11.31操作系统的rx8640上做根盘镜像,看看跟11.23操作系统下的根盘镜像有什么不一样,下面是具体操作步骤:
-m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/pt/pt2 /dev/rscsi/c5t7d0
/dev/rtape/tape1_BEST /dev/rmt/c7t3d0BEST
/dev/rtape/tape1_BESTn /dev/rmt/c7t3d0BESTn
/dev/rtape/tape1_BESTb /dev/rmt/c7t3d0BESTb
/dev/rtape/tape1_BESTnb /dev/rmt/c7t3d0BESTnb
/dev/pt/pt3 /dev/rscsi/c6t15d0
/dev/rdisk/disk11 /dev/rdsk/c0t6d0
/dev/rdisk/disk11_p1 /dev/rdsk/c0t6d0s1
/dev/rdisk/disk11_p2 /dev/rdsk/c0t6d0s2
/dev/rdisk/disk11_p3 /dev/rdsk/c0t6d0s3
/dev/rdisk/disk12 /dev/rdsk/c1t2d0
/dev/rdisk/disk13 /dev/rdsk/c2t6d0
/dev/rdisk/disk14 /dev/rdsk/c5t1d0
/dev/rdisk/disk15 /dev/rdsk/c5t0d0
/dev/rdisk/disk16 /dev/rdsk/c5t3d0
/dev/rdisk/disk17 /dev/rdsk/c5t2d0
/dev/rdisk/disk18 /dev/rdsk/c6t1d0
/dev/rdisk/disk19 /dev/rdsk/c6t0d0
/dev/rdisk/disk20 /dev/rdsk/c6t2d0
/dev/rdisk/disk21 /dev/rdsk/c6t3d0
这个命令是11.31操作系统里面所独有的,普通操作的时候看不出有什么好处,在有多路径的时候优势就显示出来了,比如说添加了EMC的存储,设备名/dev/rdsk/c5t0d0跟/dev/rdsk/c8t0d0对应的是同一块磁盘,在11.23下面如果要加入到vg里面必须把两个设备名都加进去,而在11.31下面因为有了多路径映射,会显示为/dev/rdisk/diskxx的形式,对应这两个设备,这样就比较一目了然了。比如说:
-m dsf /dev/rdisk/disk15
/dev/rdisk/disk15 /dev/rdsk/c5t0d0
/dev/rdsk/c8t0d0
-fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 3/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 146 GHUS153014VL3800
/dev/dsk/c0t6d0 /dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s1 /dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s1 /dev/rdsk/c0t6d0s3
disk 10 3/0/0/2/1.2.0 sdisk CLAIMED DEVICE HL-DT-STDVD-RAM GH40L
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 3/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 146 GHUS153014VL3800
/dev/dsk/c2t6d0 /dev/rdsk/c2t6d0
disk 3 3/0/8/1/0/4/1.0.0 sdisk CLAIMED DEVICE COMPAQ BF1468AFEB
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
disk 2 3/0/8/1/0/4/1.1.0 sdisk CLAIMED DEVICE COMPAQ BF1468AFEB
/dev/dsk/c5t1d0 /dev/rdsk/c5t1d0
disk 5 3/0/8/1/0/4/1.2.0 sdisk CLAIMED DEVICE COMPAQ BF1468AFEB
/dev/dsk/c5t2d0 /dev/rdsk/c5t2d0
disk 4 3/0/8/1/0/4/1.3.0 sdisk CLAIMED DEVICE COMPAQ BF1468AFEB
/dev/dsk/c5t3d0 /dev/rdsk/c5t3d0
disk 7 3/0/10/1/0/4/0.0.0 sdisk CLAIMED DEVICE COMPAQ BF1468AFEB
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0
disk 6 3/0/10/1/0/4/0.1.0 sdisk CLAIMED DEVICE COMPAQ BF1468AFEB
/dev/dsk/c6t1d0 /dev/rdsk/c6t1d0
disk 8 3/0/10/1/0/4/0.2.0 sdisk CLAIMED DEVICE COMPAQ BF1468AFEB
/dev/dsk/c6t2d0 /dev/rdsk/c6t2d0
disk 9 3/0/10/1/0/4/0.3.0 sdisk CLAIMED DEVICE COMPAQ BF1468AFEB
/dev/dsk/c6t3d0 /dev/rdsk/c6t3d0
/tmp/table
"/tmp/table" [New file]
3
EFI 500MB
HPUX 100%
HPSP 400MB
-wf /tmp/table /dev/rdisk/disk13
idisk version: 1.44
********************** WARNING ***********************
If you continue you may destroy all data on this disk.
Do you wish to continue(yes/no)? yes
EFI Primary Header:
Signature = EFI PART
Revision = 0x10000
HeaderSize = 0x5c
HeaderCRC32 = 0x60f87d52
MyLbaLo = 0x1
MyLbaHi = 0x0
AlternateLbaLo = 0x1117732f
AlternateLbaHi = 0x0
FirstUsableLbaLo = 0x40
FirstUsableLbaHi = 0x0
LastUsableLbaLo = 0x111772ff
LastUsableLbaHi = 0x0
Disk GUID = 5a0c2376-ec7e-11de-8000-d6217b60e588
PartitionEntryLbaLo = 0x2
PartitionEntryLbaHi = 0x0
NumberOfPartitionEntries = 0xc
SizeOfPartitionEntry = 0x80
PartitionEntryArrayCRC32 = 0xc3dc096
Primary Partition Table (in 512 byte blocks):
Partition 1 (EFI):
Partition Type GUID = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
Unique Partition GUID = 5a0c25b0-ec7e-11de-8000-d6217b60e588
Starting Lba Lo = 0x40
Starting Lba Hi = 0x0
Ending Lba Lo = 0xf9fff
Ending Lba Hi = 0x0
Partition 2 (HP-UX):
Partition Type GUID = 75894c1e-3aeb-11d3-b7c1-7b03a0000000
Unique Partition GUID = 5a0c25c4-ec7e-11de-8000-d6217b60e588
Starting Lba Lo = 0xfa000
Starting Lba Hi = 0x0
Ending Lba Lo = 0x110af7ff
Ending Lba Hi = 0x0
Partition 3 (HPSP):
Partition Type GUID = e2a1e728-32e3-11d6-a682-7b03a0000000
Unique Partition GUID = 5a0c25d8-ec7e-11de-8000-d6217b60e588
Starting Lba Lo = 0x110af800
Starting Lba Hi = 0x0
Ending Lba Lo = 0x111772ff
Ending Lba Hi = 0x0
EFI Alternate Header:
Signature = EFI PART
Revision = 0x10000
HeaderSize = 0x5c
HeaderCRC32 = 0x4c050c26
MyLbaLo = 0x1117732f
MyLbaHi = 0x0
AlternateLbaLo = 0x1
AlternateLbaHi = 0x0
FirstUsableLbaLo = 0x40
FirstUsableLbaHi = 0x0
LastUsableLbaLo = 0x111772ff
LastUsableLbaHi = 0x0
Disk GUID = 5a0c2376-ec7e-11de-8000-d6217b60e588
PartitionEntryLbaLo = 0x1117730f
PartitionEntryLbaHi = 0x0
NumberOfPartitionEntries = 0xc
SizeOfPartitionEntry = 0x80
PartitionEntryArrayCRC32 = 0xc3dc096
Alternate Partition Table (in 512 byte blocks):
Partition 1 (EFI):
Partition Type GUID = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
Unique Partition GUID = 5a0c25b0-ec7e-11de-8000-d6217b60e588
Starting Lba Lo = 0x40
Starting Lba Hi = 0x0
Ending Lba Lo = 0xf9fff
Ending Lba Hi = 0x0
Partition 2 (HP-UX):
Partition Type GUID = 75894c1e-3aeb-11d3-b7c1-7b03a0000000
Unique Partition GUID = 5a0c25c4-ec7e-11de-8000-d6217b60e588
Starting Lba Lo = 0xfa000
Starting Lba Hi = 0x0
Ending Lba Lo = 0x110af7ff
Ending Lba Hi = 0x0
Partition 3 (HPSP):
Partition Type GUID = e2a1e728-32e3-11d6-a682-7b03a0000000
Unique Partition GUID = 5a0c25d8-ec7e-11de-8000-d6217b60e588
Starting Lba Lo = 0x110af800
Starting Lba Hi = 0x0
Ending Lba Lo = 0x111772ff
Ending Lba Hi = 0x0
Legacy MBR (MBR Signatures in little endian):
MBR Signature = 0x12230c5a
Protective MBR
-eCdisk
insf: Installing special files for sdisk instance 0 address 3/0/0/2/0.6.0
insf: Installing special files for sdisk instance 10 address 3/0/0/2/1.2.0
insf: Installing special files for sdisk instance 1 address 3/0/0/3/0.6.0
insf: Installing special files for sdisk instance 3 address 3/0/8/1/0/4/1.0.0
insf: Installing special files for sdisk instance 2 address 3/0/8/1/0/4/1.1.0
insf: Installing special files for sdisk instance 5 address 3/0/8/1/0/4/1.2.0
insf: Installing special files for sdisk instance 4 address 3/0/8/1/0/4/1.3.0
insf: Installing special files for sdisk instance 7 address 3/0/10/1/0/4/0.0.0
insf: Installing special files for sdisk instance 6 address 3/0/10/1/0/4/0.1.0
insf: Installing special files for sdisk instance 8 address 3/0/10/1/0/4/0.2.0
insf: Installing special files for sdisk instance 9 address 3/0/10/1/0/4/0.3.0
insf: Installing special files for esdisk instance 11 address 64000/0xfa00/0x0
insf: Installing special files for esdisk instance 12 address 64000/0xfa00/0x1
insf: Installing special files for esdisk instance 13 address 64000/0xfa00/0x2
insf: Installing special files for esdisk instance 14 address 64000/0xfa00/0x4
insf: Installing special files for esdisk instance 15 address 64000/0xfa00/0x5
insf: Installing special files for esdisk instance 16 address 64000/0xfa00/0x6
insf: Installing special files for esdisk instance 17 address 64000/0xfa00/0x7
insf: Installing special files for esdisk instance 18 address 64000/0xfa00/0x9
insf: Installing special files for esdisk instance 19 address 64000/0xfa00/0xa
insf: Installing special files for esdisk instance 20 address 64000/0xfa00/0xb
insf: Installing special files for esdisk instance 21 address 64000/0xfa00/0xc
-fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 3/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 146 GHUS153014VL3800
/dev/dsk/c0t6d0 /dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s1 /dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s1 /dev/rdsk/c0t6d0s3
disk 10 3/0/0/2/1.2.0 sdisk CLAIMED DEVICE HL-DT-STDVD-RAM GH40L
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 3/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 146 GHUS153014VL3800
/dev/dsk/c2t6d0 /dev/dsk/c2t6d0s2 /dev/rdsk/c2t6d0 /dev/rdsk/c2t6d0s2
/dev/dsk/c2t6d0s1 /dev/dsk/c2t6d0s3 /dev/rdsk/c2t6d0s1 /dev/rdsk/c2t6d0s3
-e -l /dev/rdisk/disk13
-a "boot vmunix -lq" /dev/rdisk/disk11
-a "boot vmunix -lq" /dev/rdisk/disk13
-d /dev/rdisk/disk11_p1 -u /efi/hpux/auto /dev/tty
boot vmunix -lq
-d /dev/rdisk/disk13_p1 -u /efi/hpux/auto /dev/tty
boot vmunix -lq
-m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/pt/pt2 /dev/rscsi/c5t7d0
/dev/rtape/tape1_BEST /dev/rmt/c7t3d0BEST
/dev/rtape/tape1_BESTn /dev/rmt/c7t3d0BESTn
/dev/rtape/tape1_BESTb /dev/rmt/c7t3d0BESTb
/dev/rtape/tape1_BESTnb /dev/rmt/c7t3d0BESTnb
/dev/pt/pt3 /dev/rscsi/c6t15d0
/dev/rdisk/disk11 /dev/rdsk/c0t6d0
/dev/rdisk/disk11_p1 /dev/rdsk/c0t6d0s1
/dev/rdisk/disk11_p2 /dev/rdsk/c0t6d0s2
/dev/rdisk/disk11_p3 /dev/rdsk/c0t6d0s3
/dev/rdisk/disk12 /dev/rdsk/c1t2d0
/dev/rdisk/disk13 /dev/rdsk/c2t6d0
/dev/rdisk/disk13_p1 /dev/rdsk/c2t6d0s1
/dev/rdisk/disk13_p3 /dev/rdsk/c2t6d0s3
/dev/rdisk/disk13_p2 /dev/rdsk/c2t6d0s2
/dev/rdisk/disk14 /dev/rdsk/c5t1d0
/dev/rdisk/disk15 /dev/rdsk/c5t0d0
/dev/rdisk/disk16 /dev/rdsk/c5t3d0
/dev/rdisk/disk17 /dev/rdsk/c5t2d0
/dev/rdisk/disk18 /dev/rdsk/c6t1d0
/dev/rdisk/disk19 /dev/rdsk/c6t0d0
/dev/rdisk/disk20 /dev/rdsk/c6t2d0
/dev/rdisk/disk21 /dev/rdsk/c6t3d0
-fB /dev/rdisk/disk13_p2
Physical volume "/dev/rdisk/disk13_p2" has been successfully created.
vg00 /dev/disk/disk13_p2
Volume group "vg00" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
lv in /dev/vg00/lvol*
> do
> lvextend -m 1 $lv /dev/disk/disk13_p2;
> done
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol1" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol2" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol3" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol4" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol5" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol6" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol7" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol8" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
-v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk11_p2 -- Boot Disk
/dev/disk/disk13_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk11_p2
/dev/disk/disk13_p2
Root: lvol3 on: /dev/disk/disk11_p2
/dev/disk/disk13_p2
Swap: lvol2 on: /dev/disk/disk11_p2
/dev/disk/disk13_p2
Dump: lvol2 on: /dev/disk/disk11_p2, 0
-R
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
/stand/bootconf
l /dev/disk/disk11_p2
/stand/bootconf
l /dev/disk/disk11_p2
2 /dev/disk/disk13_p2
Primary bootpath : 3/0/0/2/0.0x6.0x0 (/dev/rdisk/disk11)
HA Alternate bootpath :
Alternate bootpath :
Autoboot is ON (enabled)
Hyperthreading : OFF
: OFF (next boot)
-p 3/0/0/2/0.6.0
-h 3/0/0/3/0.6.0
Primary bootpath : 3/0/0/2/0.0x6.0x0 (/dev/rdisk/disk11)
HA Alternate bootpath : 3/0/0/3/0.0x6.0x0 (/dev/rdisk/disk13)
Alternate bootpath :
Autoboot is ON (enabled)
Hyperthreading : OFF
: OFF (next boot)
总体说来,HPUX 11.31操作系统下的系统根盘镜像跟11.23下的系统根盘镜像没有本质的区别,和11.11的区别比较大。其实也可以理解,11.31相对11.23所做的改动只是增强了安全性和新增了浏览器管理等功能,系统内核的东西较之11.23相对于11.11改动较小。
阅读(5040) | 评论(4) | 转发(1) |