[DRBD-user] DRBD 8.2.5 to 8.3.0 upgrade with make PREFIX=/usr/local/drbd error: symlink(/usr/local/drbd/etc/drbd.conf, /var/lib/drbd//drbd-minor-1.conf): No such file or directory

GAUTIER Hervé herve.gautier at thalesgroup.com
Tue Feb 24 12:38:57 CET 2009

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



Johannes Thoma a écrit :
>
> On Friday 30 January 2009 05:22:14 pm GAUTIER Hervé wrote:
>
> > Hi again,
>
> >
>
> > Well, I don't know what is this /var/lib/drbd directory, but here is a
>
> > patch in order to take in account the "make PREFIX=" command
>
> >
>
> > Tell me if it is OK for you.
>
> >
>
> > And so, last question, what is the aim of this directory ? I have seen
>
> > drbdadm create symbolic link to the configuration file, but why ?
>
> >
>
> Drbdadm keeps track of in which config file which DRBD minor resource
>
> is configured. The reason is that DRBD may send user space events 
> (like before-sync-target) and drbdadm then needs to find the 
> configuration file (which may be non-default if the -c switch is used) 
> by the minor number.
>
> Hope that answers your question ...
>

Ok. Thank.
Thus, DRBD module does not keep these kind of information in kernel memory ?
Does it always read the configuration when needed ?

-- 
Hervé GAUTIER





More information about the drbd-user mailing list