1 Rootvg做镜像
1.1 Rootvg做镜像要求
在安装完操作系统,配完应用后,我们一般要给rootvg做镜像,做rootvg镜像的硬盘必须和rootvg的硬盘空间大小相同,转速相同的同一型号内置SCSI硬盘。可通过下面这些命令来确认:
lsdev -Cc disk 确定主机中有几块硬盘,有几块内置硬盘
# lsdev -Cc disk
[IBMP740-1:root:/]#lsdev -Cc disk
hdisk0 Available 00-00-00 SAS Disk Drive
hdisk1 Available 00-00-00 SAS Disk Drive
hdisk2 Defined 07-00-02 EMC CLARiiON FCP LUNZ Disk
hdisk3 Defined 07-00-02 EMC CLARiiON FCP LUNZ Disk
hdisk4 Defined 05-00-02 EMC CLARiiON FCP LUNZ Disk
hdisk5 Defined 05-00-02 EMC CLARiiON FCP LUNZ Disk
hdisk6 Defined 07-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk7 Defined 07-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk8 Defined 07-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk9 Defined 07-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk10 Available 05-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk11 Available 05-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk12 Available 05-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk13 Available 05-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk14 Defined 07-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk15 Defined 07-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk16 Available 05-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk17 Available 05-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk18 Available 07-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk19 Available 07-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk20 Available 07-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk21 Available 07-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk22 Available 07-00-02 EMC CLARiiON FCP RAID 5 Disk
hdisk23 Available 07-00-02 EMC CLARiiON FCP RAID 5 Disk
hdiskpower0 Available 05-00-02 PowerPath Device
hdiskpower1 Available 07-00-02 PowerPath Device
hdiskpower2 Available 05-00-02 PowerPath Device
lspv 确定主机中那块内置硬盘没有被VG使用
# lspv
hdisk0 0057908c7251c07a rootvg
hdisk1 0057908cea9403a2 None
hdisk2 005d03fc9859db6c datavg
[IBMP740-1:root:/]# lspv
hdisk0 00f7ac3dfb20ed5a None
hdisk1 00f7ac3d60694e5e rootvg active
hdisk10 none None
hdisk11 none None
hdisk12 none None
hdisk13 none None
hdisk16 none None
hdisk17 none None
hdisk18 none None
hdisk19 none None
hdisk20 none None
hdisk21 none None
hdisk22 none None
hdisk23 none None