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

Chris Raver chris at alphabay.com
Fri Mar 21 16:28:44 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.


I think this will change my configuration because I am planning on using LMV2.  If my config looks something like this:

Perhaps something like:

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

When I run pvcreate do I use /dev/sda3 and create a volume group called vg_01. Or do I run pvcreate /dev/drbd0 (which isn't working right now).



-----Original Message-----
From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Andy Diller
Sent: Friday, March 21, 2008 8:58 AM
To: Florian Haas
Cc: drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] DRBD + LVM2 Setup on RHEL5.1

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
_______________________________________________
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