[DRBD-user] tough mount problem in fstab, help!

flyneo at cogeco.ca flyneo at cogeco.ca
Thu Aug 26 21:38:27 CEST 2004

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


Hi,

I am trying to build up a cluster system.
'/var/www' is the only directory in '/var' that I want to duplicate through drbd. Other directories in '/var' should be
remained unchanged. My question is:

1. I should add such line in fstab:
/dev/nb0       /var/www  defaults,noauto          0 0
, but should I remove the old line:
LABEL=/var     /var      ext3     defaults        1 2

2. If remove the old line, many other services will stop working on the slave machine since they access the /var which
is not mounted. And the rc.sysint script, which is excuted at system startup to clean some useless content in /var, will
also fail at startup.

my filesystem is like
/dev/hda1              5036284    155612   4624840   4% /
/dev/hda2              8064304     33404   7621244   1% /home
none                    240704         0    240704   0% /dev/shm
/dev/hda3              8064304   4649048   3005600  61% /usr
/dev/hda6            169110972    293432 160227188   1% /var


Thanks a lot!

Regards
Dong



More information about the drbd-user mailing list