1837202 Members
3062 Online
110115 Solutions
New Discussion

Re: Extending lvol

 
SOLVED
Go to solution
Shahul
Esteemed Contributor

Extending lvol

Hi

My vg00 is having 4 HDDs, they are c3t6d0, c3t5d0, c0t6d0 and c0t5d0. I do not have lvmpvg file in /etc directory. All the lvols in c3t6d0 is mirrored to c0t6d0 and c3t5d0 to c0t5d0. I have one lvol which is not mirrored and distributed across c3t6d0, c0t6d0 and c3t5d0.

Now what I wanted to do is, I want to extend lvol8 which is in c3t6d0 and mirrored to c0t6d0. vg00 is having enough free PEs in c3t5 and c0t5 but not in c3t6 and c0t6. I have online JFS and strict policy enabled in lvol8. I will list down the command which I am going to use.

#cd /
#lvextend -L /dev/vg00/lvol8
#fsadm -b m /usr

What I expect from this command is my lvol8 should extend to c3t5d0 and mirror copy should go to c0t5d0. Am I missing anything? Or I need to do anything extra?

Thanks in advance
Shahul
3 REPLIES 3
Uday_S_Ankolekar
Honored Contributor
Solution

Re: Extending lvol

Hello,

Since you have free PE and Online JFS life is more simpler.

lvextend -Lnewsizein MB /dev/vgnn/lvolnn

fsadm -vxfs -b Newsize /filesystem.

-USA..

Good Luck..
Uday_S_Ankolekar
Honored Contributor

Re: Extending lvol

Oops. .. I missed -f option in fsadm..

fsadm -F vxfs -b newsize /filesystem

-USA..
Good Luck..
PIYUSH D. PATEL
Honored Contributor

Re: Extending lvol

Hi Shahul,

I dont think that you have to worry about anything if there are no physical extents left on the c3t6d0 and c0t6d0.

Give the -F vxfs option with the fsadm command.

Piyush