Home > HP-UX > HP-UX extending a filesystem

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.

Categories: HP-UX
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: