Thursday 24 November 2011

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
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:
a. lvextend -L /dev/VG_NAME/LV_NAME
b. lvextend -l /dev/VG_NAME/LV_NAME

3. Unmount the filesystem
4. extendfs -F vxfs /dev//r
Note: extendfs uses the raw logical volume name (ie rlvol1)

A. How to determine if you have Online JFS
swlist -l fileset | grep -i advanced

B. How to determine the filesystem type
grep /etc/fstab
Results should show the filesystem type (vxfs or hfs) in the return string

No comments:

Post a Comment