1854689 Members
11489 Online
104102 Solutions
New Discussion

Mirror a striped lv

 
Vorb
Occasional Contributor

Mirror a striped lv

I have a logical volume in a volum group, which consists of 2 striped PVs. I need to migrate these PVs to another array. How can i do it online? Is it possible to mirror a striped LV on HP-UX 11.31?

4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: Mirror a striped lv

Hi:

 

Yes, in 11.31 striped and mirrored logical volumes are supported.  See the manpages for 'lvcreate(1M)' and 'lvextend(1M)' for more information.

 

Regards!

 

...JRF...

Vorb
Occasional Contributor

Re: Mirror a striped lv

And is it possible to disable stripe and to migrate data to one big PV? 

Patrick Wallek
Honored Contributor

Re: Mirror a striped lv

No, you cannot disable striping. 

 

Once traditional striping has been enabled (via lvcreate with the '-i' and '-I' options) on an LV then only way to remove it, that I am aware of, is to back up the data, recreate the LV, then restore the data.

 

The exception is if you used distributed stripes (lvcreate -D y).  These can be disabled via 'lvchange -D n' on the logical volume.

Vorb
Occasional Contributor

Re: Mirror a striped lv

Okk... thank you :)