Advertisements

Checking file system type and resizing VXFS filesystem on Solaris

Here is the filesystem that I wish to expand

root@solaris:/ # df -h /filestorage
Filesystem             size   used  avail capacity  Mounted on
/dev/vx/dsk/datadg/datastore
2.1T 2.1T    16G   100%    /filestorage

Checking the filesystem type

root@solaris:/ # fstyp /dev/vx/dsk/datadg/datastore
vxfs

Resizing the vxfs filesystem

root@solaris:/ # vxresize -g datadg -F vxfs datastore +208309m

Expanded 200 GB (208,309 MB)

root@solaris:/ # df -h /filestorage
Filesystem             size   used  avail capacity  Mounted on
/dev/vx/dsk/datadg/datastore
2.3T 2.1T   207G    92%    /filestorage

Advertisements
%d bloggers like this: