vxfs(Veritas File System)扩充目录大小
1.新增加一个磁盘并初始化
# vxdisk list
# vxdisksetup -i 3pardata0_22
2.将新增加的磁盘合并到磁盘组中
# vxdg -g testdg01 adddisk test_data02=3pardata0_22
3.查看当前组里新增卷或者原有卷可以扩充的最大尺寸
# vxassist -g testdg01 maxsize layout=nostripe (Maxsize is used to find the size to which a new volume can be grown to) # vxassist -g testdg01 maxgrow testvol01 (maxgrow is to find the size to which an existing volume can be grown to)
4.查看当前卷的大小
# /opt/VRTSsfmh/bin/vxlist vol #执行上述命令后报错 VxVM DCLI vxlist ERROR V-50-49971-158 Authentication or communication could not be established with the server. vxdclid is not setup. Run /opt/VRTSsfmh/adm/dclisetup.sh as root. You have mail in /var/spool/mail/root # 根据他的提示,执行命令 # /opt/VRTSsfmh/adm/dclisetup.sh # 再次查看 # /opt/VRTSsfmh/bin/vxlist vol
5.扩充卷
# vxassist -g testdg01 growto testvol01 153529m
6.扩充文件系统
# /opt/VRTSsfmh/bin/vxlist vol
# vxresize -g testdg01 testvol01 153529m
参考:https://www.thegeekdiary.com/vxvm-tutorials-volume-resize-with-vxassist-and-vxresize/
vxdisksetup -i 3pardata1_25 vxdg -g oradg11 adddisk oradg1101=3pardata1_25 vxassist -g oradg11 maxgrow voldata11 Volume voldata11 can be extended by 419231744 to: 2516176896 (1228602Mb) vxassist -g oradg11 growto voldata11 2516176896 vxresize -g oradg11 voldata11 2516176896