Operating System - HP-UX
1834131 Members
1975 Online
110064 Solutions
New Discussion

Re: Mirroring a big lvol on more disks

 
Mauro Cimino_2
Frequent Advisor

Mirroring a big lvol on more disks

Having a 8 Gb lvolume on more disks than one it's possible mirror it on other disks ?

I don't undestand how can I use the command lvextend if I have to use more disks.
4 REPLIES 4
Ian Dennison_1
Honored Contributor

Re: Mirroring a big lvol on more disks

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

Share and Enjoy! Ian
Building a dumber user
Robert-Jan Goossens
Honored Contributor

Re: Mirroring a big lvol on more disks

Hi,

You can add the disks after the lvextend command.

# lvextend -m 1 /dev/vg??/lvol? /dev/dsk/c?t?d? /dev/dsk/c?t?d?

Robert-Jan.
Stefan Farrelly
Honored Contributor

Re: Mirroring a big lvol on more disks

Yes. If you have enough disks with enough space in the same volume group then you can simply do; lvextend -m 1 /dev/vgXX/lvolYY and it will mirror over multiple disks.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Mauro Cimino_2
Frequent Advisor

Re: Mirroring a big lvol on more disks

and if my lvol is split on more disks that are not fully engaged, are the mirror disks filled at the same manner?