[DRBD-user] DRBD + LVM2 Setup on RHEL5.1

Andy Diller dillera at dillernet.com
Fri Mar 21 15:58:20 CET 2008

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


Perhaps something like:

   on alice {
     device /dev/drbd0;
     disk   /dev/vg_01/lv_r0;
     ...

Would make more sense.

Anyone working w/ LVM will not be using the /dev/sd[x] or /dev/hd[x] obviously.


-andy


----- "Florian Haas" <florian.haas at linbit.com> wrote:

> > What device is /dev/drbd/r0? Most block devices in RHEL are going to
> be
> > /dev/sd[a-d] (SCSI or SATA) or /dev/hd[a-d] (IDE).
> 
> Ouch, I hadn't realized that part of the user's guide was so easily 
> misunderstood. 
> 
> resource r0 {
>   ...
>   on alice {
>     device /dev/drbd0;
>     disk   /dev/drbd/r0;
>     ...
>   }
>   on bob {
>     device /dev/drbd0;
>     disk   /dev/drbd/r0;
>     ...
>   }
> }
> 
> This means the backing devices are LVM logical volumes named "r0" in a
> Volume 
> Group named "drbd". It says so in the text above the config snippet,
> but 
> apparently that is easily overlooked.
> 
> I will change this to a generic foo/bar "naming convention" to avoid 
> confusion.
> 
> Thanks for pointing this out.
> 
> Cheers,
> Florian
> 
> -- 
> : Florian G. Haas
> : LINBIT Information Technologies GmbH
> : Vivenotgasse 48, A-1120 Vienna, Austria
> 
> When replying, there is no need to CC my personal address.
> I monitor the list on a daily basis. Thank you.
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list