[DRBD-user] Persistent Device Names

Lars Ellenberg lars.ellenberg at linbit.com
Tue Jan 24 19:54:57 CET 2012

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


On Tue, Jan 24, 2012 at 11:14:57AM -0600, Ted Young wrote:
> >
> > Does anyone have any recommendations with managing a large quantity of 
> > hot-swappable drives (e.g. tracking which drives in which bay, 
> > managing the DRBD volume pairings, etc.)?
> >
> > Use LVM on top of the drives themselves and then use logical volumes as
> the DRBD backing devices.
> 
> I see why that would solve the problem.  However, I am concerned that it
> might be overkill.  Most notably, I am concerned about adding an extra layer
> of management and overhead.  Is there really no other way to manage the
> association between physical volumes and DRBD volumes?  What about
> configuring the drives by ID or by UUID (e.g.  /dev/disks/by-id/*)?
> 
> I am particularly interested in the fact that there seems to be little to no
> information about this on the Internet.  This leads me to believe that there
> is already a simple method in place to prevent this problem that I am
> missing or that this is not actually a problem at all.

Just use /dev/disk/by-id/,
trust your udev to create them correctly,
and be happy.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com



More information about the drbd-user mailing list