Operating System - HP-UX
1833847 Members
1928 Online
110063 Solutions
New Discussion

Mirroring a striped logical volume

 
SOLVED
Go to solution
Thomas Cole
Occasional Contributor

Mirroring a striped logical volume

Can I mirror a striped logical volume on HPUX 11.0?
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Mirroring a striped logical volume

If you have striped it with HP-UX, I do not think you can mirror it.

If its on a disk array that uses striping, you can use mirror/ux to make a whole mirror copy, either to local disk or back to that same striped array.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ashwani Kashyap
Honored Contributor
Solution

Re: Mirroring a striped logical volume

You cannot use LVM mirroring with LVM BLOCK striping.
BLOCK striping means that you use the -i and -I options with lvcreate .

However, you can use LVM extent striping with LVM mirror.
Extent striping means that you used the -D option with lvcreate.

Mirroring with striping is also supported on shared volume groups .
Helen French
Honored Contributor

Re: Mirroring a striped logical volume

LVM does not support Mirroring and Striping at the same time on an LV. But if you are using extent-based striping (psuedo-striping), you can mirror it. You need to install LVM patches for doing an extent-based striping on a new LV.
Life is a promise, fulfill it!
Stefan Farrelly
Honored Contributor

Re: Mirroring a striped logical volume

The answer is Yes, depending on how you created your striping. There are 2 ways to create striping;

1. lvcreate -i -I ....
2. lvcreate -D ...

If you used method 1. you cant mirror it. If you used method 2. you can. If you used method 1. you will need to offload your data, recreate using method 2. reload your data then you can mirror it.
Im from Palmerston North, New Zealand, but somehow ended up in London...