[DRBD-user] Second node won't mount filesystem
matthias zeichmann
matthias at volltext.net
Fri Feb 27 12:41:26 CET 2004
On Fri, 2004-02-27 at 12:34, thomas wrote:
> hello, sorry I have an other question.
> I have 2 Nodes gamma1 192.168.1.6(primary) gamma2 192.168.1.7(secondary)
> and have on gamma1 a Raid1 System with md0,md1 and md2.
> I am using drbd 0.6.7 (will update to 11 next week) and heartbeat to
> start a simple apache.
> When I shut down gamma1, apache will start on gamma2, but the
> drbd0 (/dev/sda6) filesystem will not mount automatically, so apache
> uses the wrong Documentroot.
>
> Here my fstab (gamma2):
> /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump>
> <pass>
> /dev/sda3 / ext3 errors=remount-ro 0
> 1
> /dev/sda2 none swap sw 0
> 0
> proc /proc proc defaults 0
> 0
> /dev/fd0 /floppy auto user,noauto 0
> 0
> /dev/cdrom /cdrom iso9660 ro,user,noauto 0
> 0
> /dev/sda5 /tmp ext2 defaults 1
> 2
> /dev/sda6 /var/www ext3 noauto 1
> 2
mit dieser fstab weiss drbd nicht wohin die partition gemountet werden
soll:
richtig waere:
----------->8-------------------------------------------------------
#/dev/sda6 /var/www ext3 noauto 1 2
/dev/nbd0 /var/www ext3 noauto 1 2
----------->8-------------------------------------------------------
hth m
--
"warning: you are logged into reality as root..."
More information about the drbd-user
mailing list