1752778 Members
6308 Online
108789 Solutions
New Discussion юеВ

lvreduce query

 
Shahul
Esteemed Contributor

lvreduce query

Hi,

I have a very large volume 2-way mirrored. I now need to reduce to 1 way mirror (means leaving two mirror copies only). In the 3rd cpy, there 8 PVs. So, my question is, if I do lvreduce -m 1 pv1 pv2 pv3...pv8

Will it work, or there is a limit on the pvs you can give in one go? To me it may look bit odd with 8 PVs in the same command line?

Thanks in advance
Shahul
3 REPLIES 3
Kanagaraj
Regular Advisor

Re: lvreduce query

Hi,

//I have a very large volume 2-way mirrored. I now need to reduce to 1 way mirror (means leaving two mirror copies only). In the 3rd cpy, there 8 PVs. So, my question is, if I do lvreduce -m 1 pv1 pv2 pv3...pv8
//

if your volume mirrored with 2 copy then you cann reduce by

lvreduce -m 1 lv_name pv_name

But,your question is bit confusion,,,can you post lvdisplay -v lv_name

so that I can understand how many PV's added in that LV.
Shahul
Esteemed Contributor

Re: lvreduce query

to clarify, 8PVs on mirror0, 8PVs on mirror1 and 8PVs on mirror2. Does that make sense? I want to remove 3rd mirror (mirror2), so I need to mention all 8PVs in the lvreduce command? will it work?
Kanagaraj
Regular Advisor

Re: lvreduce query

Yes Sahul,

you reduce that large LV.

lvreduce -m 1 lv_name pv1,pv2,pv3,...pv8

Thanks
Kanagaraj