1、查看磁盘模式:
vxdctl -c mode
2、所有dg列表信息:-确认服务器上的dg信息,有些是隐藏的,如仲裁盘。
vxdisk -o alldgs list
3、SF扫盘:
vxdisk scandisks
之前的存储配置磁盘步骤省略,但说明,SF只能按已经划订的逻辑磁盘大小整数添加,这里我们是1块磁盘大小为250G。
4、查看状态:
vxdg list
vxlist dg
vxprint -htr
vxlist disk
/opt/VRTSsfmh/adm/dclisetup.sh
5、安装磁盘:
vxdisksetup -i storwizev70000_00008b
vxdisksetup -i storwizev70000_00008c
vxdisksetup -i storwizev70000_00008d
vxdisksetup -i storwizev70000_00008e
6、删除磁盘:
vxdg -g paydbdg rmdisk storwizev70000_00008b
vxdg -g paydbdg rmdisk storwizev70000_00008c
vxdg -g paydbdg rmdisk storwizev70000_00008d
vxdg -g paydbdg rmdisk storwizev70000_00008e
7、已现有磁盘ID添加磁盘:
vxdg -g paydbdg adddisk storwizev70000_12=storwizev70000_00008b
vxdg -g paydbdg adddisk storwizev70000_13=storwizev70000_00008c
vxdg -g paydbdg adddisk storwizev70000_14=storwizev70000_00008d
vxdg -g paydbdg adddisk storwizev70000_15=storwizev70000_00008e
8、对要扩容的lv在线扩容:
vxresize -g paydbdg lv_oradata +990g alloc=storwizev70000_12,storwizev70000_13,storwizev70000_14,storwizev70000_15
9、查看dg大小:
bash-4.2# vxlist dg
TY DISKGROUP IMPORT STATUS SIZE FREE ID
dg paydbdg shared enabled 2999.52g 1.17g 1398064580.49.zfyw-paydb83
dg vxfendg - deported - - 1398061962.20.zfyw-paydb84
10、查看lv大小:
bash-4.2# vxlist vol
TY VOLUME DISKGROUP SIZE STATUS LAYOUT LINKAGE
vol lv_oraarch paydbdg 499.61g healthy striped -
vol lv_oradata paydbdg 2.39t healthy striped -
vol lv_oraredo paydbdg 50.00g healthy striped -
==========================================================================
vol lv_oraarch paydbdg 499.61g healthy striped -
vol lv_oradata paydbdg 3.36t healthy striped -
vol lv_oraredo paydbdg 50.00g healthy striped -
/dev/vx/dsk/paydbdg/lv_oradata 2448.74 365.58 86% 667 1% /oradata
/dev/vx/dsk/paydbdg/lv_oradata 3438.74 1347.82 61% 667 1% /oradata
1、2、4 步骤为前期的检查和信息收集步骤。
3、5、7、8 为扩容操作步骤。
9、10 为后期检查步骤。
至此所有操作顺利完成。