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

Mark Watts m.watts at eris.qinetiq.com
Tue Aug 12 18:13:47 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.



> 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

Mark.

-- 
Mark Watts BSc RHCE MBCS
Senior Systems Engineer
QinetiQ Applied Technologies
GPG Key: http://www.linux-corner.info/mwatts.gpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080812/47de007d/attachment.pgp>


More information about the drbd-user mailing list