离线系统扩容步骤

案例场景:
      在IBM-AIX系统上,离线系统空间占用100%,需要扩容;因本地磁盘满了,外挂于磁盘阵列上,无法直接通过本地来扩充磁盘容量。
解决步骤:
      离线系统lxexpdata扩容步骤:
1.  v7000 划卷并映射给vio_server: byp750a_vio
2. vio_server(oem_setup_env环境)扫盘:cfgmgr -v
3. vio_server(oem_setup_env环境)确认扫出的盘与阵列卷对应关系:pcmpath query device
DEV#:   7  DEVICE NAME: hdisk7  TYPE: 2145  ALGORITHM:  Load Balance 
SERIAL: 6005076802810C001000000000000007
==========================================================================
Path#      Adapter/Path Name          State     Mode     Select     Errors
    0           fscsi0/path0          CLOSE   NORMAL          0          0
    1           fscsi0/path1          CLOSE   NORMAL          0          0
    2           fscsi0/path2          CLOSE   NORMAL          0          0
    3           fscsi0/path3          CLOSE   NORMAL          0          0
    4           fscsi2/path4          CLOSE   NORMAL          0          0
    5           fscsi2/path5          CLOSE   NORMAL          0          0
    6           fscsi2/path6          CLOSE   NORMAL          0          0
    7           fscsi2/path7          CLOSE   NORMAL          0          0
4. vio_server(oem_setup_env环境)修改hdisk参数:
# chdev -l hdisk7 -a pv=yes
# chdev -l hdisk7 -a rw_timeout=30
5. vio_server,确认主机映射关系:lsmap -all
$ lsmap -all
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0          U8408.E8D.06ABB1T-V2-C111                    0x00000003
VTD                   lx_datavg_1
Status                Available
LUN                   0x8100000000000000
Backing device        hdisk3
Physloc               U78C5.001.DQD02G1-P2-C2-T1-W500507680215E8DB-L0
Mirrored              false
VTD                   lx_datavg_2
Status                Available
LUN                   0x8200000000000000
Backing device        hdisk5
Physloc               U78C5.001.DQD02G1-P2-C2-T1-W500507680215E8DB-L2000000000000
Mirrored              false
VTD                   lx_datavg_3
Status                Available
LUN                   0x8300000000000000
Backing device        hdisk6
Physloc               U78C5.001.DQD02G1-P2-C2-T1-W500507680215E8DB-L3000000000000
Mirrored              false
VTD                   lx_datavg_4
Status                Available
LUN                   0x8400000000000000
Backing device        hdisk7
Physloc               U78C5.001.DQD02G1-P2-C2-T1-W500507680215E8DB-L4000000000000
Mirrored              false
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost1          U8408.E8D.06ABB1T-V2-C112                    0x00000003
VTD                   lx_rootvg_1
Status                Available
LUN                   0x8100000000000000
Backing device        hdisk4
Physloc               U78C5.001.DQD02G1-P2-C2-T1-W500507680215E8DB-L1000000000000
Mirrored              false
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost2          U8408.E8D.06ABB1T-V2-C121                    0x00000000
VTD                   NO VIRTUAL TARGET DEVICE FOUND
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost3          U8408.E8D.06ABB1T-V2-C122                    0x00000000
VTD                   NO VIRTUAL TARGET DEVICE FOUND
$ mkvdev -vdev hdisk7 -vadapter vhost0 -dev lx_datavg_4
lx_datavg_4 Available
6. 微分区中扫描分配的盘:cfgmgr -v
7.微分区中将盘加入expvg: extendvg expvg hdisk4
8.扩文件系统:chfs -a size=1990G /lxexpdata

 

你可能感兴趣的:(磁盘扩容)