HP-UX extending a filesystem
Confirm OnlineJFS is installed:
#swlist | grep -i online
#lvextend -L <new size in MB> <logical vol>
#fsadm -F vxfs -b <new size in MB>M <mountpoint>
#lvextend -L 5120 /dev/vg00/lvol5
#fsadm -F vxfs -b 5120M /home
If you don’t have OnlineJFS installed, you will have to umount and remount:
# umount /home
# lvextend -L 81920 /dev/vg00/lvol5
# extendfs -F vxfs /dev/vg00/rlvol5
# mount /dev/vg00/lvol9 /home
If you can not umount the filesystem, then you will have to boot into single-user mode and manually finish the process.
Of course you always have the option of running “sam” as well.