[DRBD-user] Questions I'm sure have been asked before..

Lars Ellenberg Lars.Ellenberg at linbit.com
Mon Jun 6 23:16:29 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.


/ 2005-06-06 20:17:33 +0200
\ Helmut Wollmersdorfer:
> [...]
> 
> >So I'd need to add a line to haresources with
> >drbddisk::drbd0 Filesystem::/var/spool/postfix::ext3 \
> >drbddisk::drbd1 Filesystem::/var/mail/::ext3 \
> >drbddisk::drbd2 Filesystem::/home::ext3 \
> >postfix (etc etc..)?
> 
> You will need a first line
>    <node-name> <service-IP> \
> too.

you don't need one drbd for every other directory.
I'd recommend something like
  Filesystem::/mnt/ha-data::ext3
and some symbolic links along
  /var/spool/posfix -> /mnt/ha-data/spool_postfix
  /var/spool/mail   -> /mnt/ha-data/spool_mail
  /var/mail         -> /mnt/ha-data/spool_mail
and whatever else seems like you shoud put it on drbd.

much more flexible,
and you don't need to create tons of drbds.

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list