1834501 Members
2383 Online
110068 Solutions
New Discussion

Re: lvextend and /opt

 
SOLVED
Go to solution
Larry Scheetz
Advisor

lvextend and /opt

I am running a N4000 with 11.0 and have OnlineJfs. I am running out of space in /opt. Can I add space to this on the fly as within other logical volumes without having to umount and all? Thank you for your time.
Larry
A Happy heart makes the face cheerful
3 REPLIES 3
Pete Randall
Outstanding Contributor
Solution

Re: lvextend and /opt

Larry,

Sure, use fsadm (man fsadm_vxfs). First lvextend:

lvextend -L 2048 /dev/vg00/lvolX
fsadm -F vxfs -b 2048M /opt


Pete


Pete
Caesar_3
Esteemed Contributor

Re: lvextend and /opt

Hello!

Ofcourse you can and you don't need to
unmount all on the fly.
All thanks to OnlineJFS

Caesar
Sarvesh A Dhuri
Advisor

Re: lvextend and /opt

Hi
If u have online JFS 3.3 or so u can do it really online no need to umount the file system & extend it

yse lvextend command to that or if u have licenses to use fsadm use that.

make sure the u have enough space on the volume group where /opt is residing
I have been betrayed by our own People