Extending a VxFS Filesystem (No Online JFS)
How to determine if you have Online JFS
- Verify that there is enough space in the volume group
- vgdisplay <VG Name>
- If there is not enough space then the volume group must be extended - see procedure below.
- First lvextend the logical volume - 2 Options for lvextend:
- lvextend -L <New Size in MB> /dev/VG_NAME/LV_NAME
- lvextend -l <NEW Size in # of LEs> /dev/VG_NAME/LV_NAME
- lvextend -L <New Size in MB> /dev/VG_NAME/LV_NAME
- Unmount the filesystem
- extendfs -F vxfs /dev/<VG_Name>/r<LV_Name>
- Note: extendfs uses the raw logical volume name (ie rlvol1)
- Note: extendfs uses the raw logical volume name (ie rlvol1)
How to determine if you have Online JFS
- swlist -l fileset | grep -i advanced
- grep <mount point> /etc/fstab
- Results should show the filesystem type (vxfs or hfs) in the return string
1 Comments
Thanks for sharing this important information. You may also refer http://www.s4techno.com/blog/2016/06/17/extend-vxvm-filesystem/
ReplyDelete