1832532 Members
8445 Online
110043 Solutions
New Discussion

Re: lvextend

 
SOLVED
Go to solution
balaji_vvv
Frequent Advisor

lvextend

I have question in mirroring a Jbod which has 6 disk drivers and i split the bus and now
each controller have 3 disks.

I have created a filesystem (3 disks) with controllerA.
Now when i want to mirror controllerA disk with Controller B (3 disks). I did the following steps.
pvcreate /dev/rdsk/c1t1d0 /dev/rdsk/c1t2d0 /dev/rdsk/c1t3d0
vgextend vg01 /dev/dsk/c1t1d0 /dev/dsk/c1t2d0 /dev/dsk/c1t3d0

lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c1t1d0 /dev/dsk/c1t2d0 /dev/dsk/c1t3d0

Now question is, since i have 3 disks i have to give lvextend -m 3 .... or whatever i gave (lvextend -m 1) is correct?
4 REPLIES 4
Torsten.
Acclaimed Contributor
Solution

Re: lvextend

-m 1 is correct, you want to have 1 mirror copy of your data on 3 disks, not 3 mirror copies.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
balaji_vvv
Frequent Advisor

Re: lvextend

Thank for the fast response, So 1 or 3 indicates no. of mirror copies.
balaji_vvv
Frequent Advisor

Re: lvextend

m indicates no. of mirror copies.
Cinoj
Occasional Advisor

Re: lvextend

As you have 3 disks to be mirrored with another set of 3 disks, the number of mirror copy is 1.

I just wanted mention that, using PVG will be helpful here.

Ref: http://docs.hp.com/en/B2355-60103/lvmpvg.4.html