Operating System - HP-UX
1753511 Members
5375 Online
108795 Solutions
New Discussion юеВ

Cannot do lvextend -m 1 on a striped logical volume :-(

 
SOLVED
Go to solution
Romaric Guilloud
Regular Advisor

Cannot do lvextend -m 1 on a striped logical volume :-(

Hello out there, I'm trying to extend a lvol onto a mirroring pv but as the lvol's policy is "striped", it is refused by HP-UX:

miller2 >lvextend -m 1 /dev/n1s4vg01/lvol1 /dev/dsk/c29t5d4
Striped mirrors are not supported. To enable mirroring options (-m, -M, -c),
do not specify the striping options (-i, -I) when creating logical volumes.
miller2 >
miller2 >lvchange -d p /dev/n1s4vg01/lvol1
Logical volume "/dev/n1s4vg01/lvol1" has been successfully changed.
Volume Group configuration for /dev/n1s4vg01 has been saved in /etc/lvmconf/n1s4vg01.conf
miller2 >echo $?
0
miller2 >
miller2 >
miller2 >lvextend -m 1 /dev/n1s4vg01/lvol1 /dev/dsk/c29t5d4
Striped mirrors are not supported. To enable mirroring options (-m, -M, -c),
do not specify the striping options (-i, -I) when creating logical volumes.
miller2 >
miller2 >


Does anyone know how to sort this out without having to recreate the lvol with standard allocation policy?

Thanks in advance for your help.
Rgds,

Romaric.
"And remember: There are no stupid questions; there are only stupid people." (To Homer Simpson, in "The Simpsons".)
3 REPLIES 3
Mark Nieuwboer
Esteemed Contributor
Solution

Re: Cannot do lvextend -m 1 on a striped logical volume :-(

Hi Romaric,

Sorry to say but if you don't have veritas volume manger you can't mirror stripped logical volumes.
The only way to work with mirrors and a sort of striping is with extended based mirror striping.
see the man pages lvcreate for this.
but still you have to create the whole logical volume.

grtz. mark
Stuart Abramson
Trusted Contributor

Re: Cannot do lvextend -m 1 on a striped logical volume :-(

Mark is right. Striped LVOLs just can't be mirrored. that's it, sorry.

They can't be extended either, which is another problem.
Romaric Guilloud
Regular Advisor

Re: Cannot do lvextend -m 1 on a striped logical volume :-(

Thank you guys.
Rgds,
"And remember: There are no stupid questions; there are only stupid people." (To Homer Simpson, in "The Simpsons".)