1834208 Members
2459 Online
110066 Solutions
New Discussion

lvextend

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

lvextend

I found some free extents on my root disk, so I expanded /var,opt and usr. All went well. Do I have to worry about the mirrored root disk. Or does my lvextend on the primary root volume also automatically take care of the mirrored root disk.

10x
RPM
UNIX IS GOOD
5 REPLIES 5
John Poff
Honored Contributor
Solution

Re: lvextend

Hi,

If your lvols are mirrored, your lvextend will be picked up on the mirror disk also. You can verify this by doing an 'lvdisplay -v' on the lvols that you extended.

JP
Pete Randall
Outstanding Contributor

Re: lvextend

Hi Robert,

You're covered. You can verify that by looking at the lvols with lvdisplay. You'll see that the current LE amount is half the allocated PE - the other half is your mirror.


Pete

Pete
Patrick Wallek
Honored Contributor

Re: lvextend

If an LV is mirrored, then lvextend will automatically extend both copies. You don't have to worry about the mirror.

I'm sure you are aware the just lvextend'ing will not give you the space in the filesystem. You need to use either the fsadm (if you have Online JFS installed) or the extendfs (without Online JFS) to extend the filesystem and make the new space available to you.
James R. Ferguson
Acclaimed Contributor

Re: lvextend

Hi Robert:

You're fine. Extending a mirrored logical volume means that all copies are extended.

Regards!

...JRF...
Gene Kornacki_3
Advisor

Re: lvextend

MirrorUX will take care of you if you set it up correctly.

lvdisplay -v will certainly tell you. Just look for the following in the output.

--- Distribution of logical volume ---

The disks in the lvol will be listed afterwards.