[DRBD-user] tough mount problem in fstab, help!
Gab at walkertool.com
Thu Aug 26 22:41:42 CEST 2004
don't mess with the fstab!
I got around this by creating a symbolic link in /var that points to
the drbd partition.
On Master, with drbd running:
1. create 'www' directory on /drbd partition
2. move /var/www/ directory to /drbd/www/ directory
3. create www link in /var that points to /drbd/www/
1. create www link that points to /drbd/www/
link will work when drbd is in primary.
On Thu, 2004-08-26 at 15:38, flyneo at cogeco.ca wrote:
I am trying to build up a cluster system.
'/var/www' is the only directory in '/var' that I want to duplicate
Other directories in '/var' should beremained 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 22.
If remove the old line, many other services will stop working on the
slave machine since they access the /var whichis not mounted.
Thanks a lot!
More information about the drbd-user