[DRBD-user] Using symlinks to mirror data of system directories...

Helmut Wollmersdorfer helmut.wollmersdorfer at gmx.at
Fri Sep 23 17:24:52 CEST 2005

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


Fabrice Durand wrote:

> Now I would like to make data mirroring on a system directory (like
> /ect/ha.d/  /etc/mon/  ...)
> with DRBD on Debian HA cluster. To do this, one have to use symbolic links.

> Do you think this can be performed by something like that :
> mkdir /drbdmount
> ln -sd /etc/mon/ /drbdmount
> (s for symbolic, and d for hard link directories (super-user only))

> Is it necessary to install Debian package drbdlinks ?  

No. You can just do a 'ln -s ...'.

> Is there something to change when mounting the partition with the
> script Filesystem
> used in the Heartbeat haresource file ?

No.

BTW: Mounting /etc/ha.d/ on /drbdmount by heartbeat would not be 
possible, as /etc/ha.d/ containes files necessary before the mount ...

Helmut Wollmersdorfer



More information about the drbd-user mailing list