How to increase the logical volume size?

Before increasin the size of the logical volume, always ensure that you do a make_tape_recovery and fbackup on the data stored on that particular logical volume that you wish to increase.

Always check your current and free lvol size before increasing so you can keep track and notice the differents.

We take a scenario where I would want to increase my /dev/vg00/lvol10 to 1GB

  1. umount /dev/vg00/lvol10
  2. lvextend -L 1024 /dev/vg00/lvol10
  3. extendfs -F vxfs /dev/vg00/lvol10
  4. mount /dev/vg00/lvol10 /myfolder
  5. bdf

bdf command to check your increased lvol size.

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s