[DRBD-user] SAN, drbd, ha, shared disks, ataoe, iscsi, gnbd

Alex linux at vfemail.net
Tue Aug 12 18:23:35 CEST 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Tuesday 12 August 2008 19:13, Mark Watts wrote:
> > How can i do lvm mirroring between sda and sdb? Can you give me an
> > example?
> >
> > For mirroring, they are saying that i need 3 devices (two for the mirror
> > devices and  one for the disk, else, mirror will be reconstructed at each
> > reboot).
> >
> > Because i don't know which will be the 3rd device, will be ok to use:
> >
> > pvcreate /dev/sda /dev/sdb
> > vgcreate mirrorvg /dev/sda /dev/sdb
> > lvcreate -L 1G -m1 -n mirrorlv mirrorvg /dev/sda /dev/sdb
> >
> > In order to create 1GB mirrored logical volume on each sda and sdb?
>
> Probably best to look at the docs I looked at:
>
> http://www.redhat.com/docs/manuals/csgfs/browse/4.6/Cluster_Logical_Volume_
>Manager/mirror_create.html

Hi Mark,

I read exact the same document before to post here... Is not at all clear that 
using command posted above, will do the job. Maybe anybody else can point me 
to the right direction or give me an example...

Regards,
Alx




More information about the drbd-user mailing list