Sharing Knowledge | System Admin Articles

Extending a VxFS Filesystem (No Online JFS)

Extending a VxFS Filesystem (No Online JFS)
  1. 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.
  2. First lvextend the logical volume - 2 Options for lvextend:
    1. lvextend -L <New Size in MB> /dev/VG_NAME/LV_NAME
    2. lvextend -l <NEW Size in # of LEs> /dev/VG_NAME/LV_NAME
  3. Unmount the filesystem
  4. extendfs -F vxfs /dev/<VG_Name>/r<LV_Name>
    • Note:  extendfs uses the raw logical volume name (ie rlvol1)

How to determine if you have Online JFS
  • swlist -l fileset | grep -i advanced
How to determine the filesystem type
  • grep <mount point> /etc/fstab
  • Results should show the filesystem type (vxfs or hfs) in the return string

Labels: HP-UX

My Profile PhotoAbout the Author

I'm Madesh, An UNIX System Admin by Profession. I'm having Expertise in HP-UX and Linux Administration. I have done lot of work on the infrastructure Mgmt side in UNIX system administration, Hardware, Storage (EMC/ HP EVA). I'm blogging since 2010.
Follow Me On Twitter or On Facebook

0 Comments for "Extending a VxFS Filesystem (No Online JFS)"

What do you think about this Article? Add your Opinion..!

Back To Top