1834804 Members
2951 Online
110070 Solutions
New Discussion

expanding lvol

 
SOLVED
Go to solution
Mazen Al-Jarrah
Advisor

expanding lvol

Gentlemen;


How can I expand a lvol without going to single user mode...?


Thx
2 REPLIES 2
Mark Grant
Honored Contributor
Solution

Re: expanding lvol

lvextend -L 2000 /dev/vg01/lvol1

This will extend the logical volume to 2GB.

If you have online JFS you can then increase the filesystem too with "fsadm -b 200M /my/mount/point"

If you don't have onlinejfs then you'll have to unmount the file system and go

extendfs -F vxfs /dev/vg01/lvol1
Never preceed any demonstration with anything more predictive than "watch this"
Rajeev  Shukla
Honored Contributor

Re: expanding lvol

Hi,
That depends on what type of lvol you want to extend. If its an system LV then yes you have to go to single user mode, but if you have onlineJFS then you could extend them on the fly.

And the other LV can be increased without going to single user.