(一)查看AIX上物理磁盘(PV)与磁盘阵列逻辑磁盘的对应关系:
root@HOSTNAME#mpio_get_config -Av
Frame id 0:
Storage Subsystem worldwide name: 60ab80032633a00004a11f92f
Controller count: 2
Partition count: 1
Partition 0:
Storage Subsystem Name = ''
hdisk LUN # Ownership User Label
hdisk2 1 A (preferred) HAN01UX_L1
hdisk3 2 A (preferred) HAN01UX_L2
hdisk4 3 B (preferred) HAN01UX_L3
hdisk5 4 B (preferred) HAN01UX_L4
hdisk6 5 A (preferred) HAN01UX_L5
hdisk7 6 A (preferred) HAN01UX_L6
hdisk8 7 B (preferred) HAN02UX_L7
hdisk9 8 B (preferred) HAN01UX_L7
hdisk10 9 A (preferred) HAN01UX_L8
hdisk11 10 A (preferred) HAN01UX_L9
(二)从AIX上删除物理磁盘(PV):
root@HOSTNAME#rmdev -d -l hdisk8
hdisk8 deleted
(三)在AIX上扫描新硬件:
root@HOSTNAME#cfgmgr
(四)AIX上扩展卷组(VG):
root@HOSTNAME#extendvg -f datavg1 hdisk11
注:-f 强至扩展
(五)AIX上从VG删除PV:
root@HOSTNAME# reducevg vgname hdisk2
(六)AIX上修改逻辑卷(LV)最大逻辑分区数(MAX LPs):
root@HOSTNAME#chlv -x 5000 LVSAPDATA3
(七)AIX上扩展逻辑卷(LV)(在线扩展,立即生效):
root@HOSTNAME#chfs -a size=+15G /dev/LVSAPDATA3
或者
root@HOSTNAME#smitty jfs2
......
(八)挂载光盘
root@HOSTNAME#mount -rv cdrfs /dev/cd0 /cdrom
阅读(10121) | 评论(2) | 转发(0) |