Hi folks,

I am setting up a Linux NFServer together with drbd and Heartbeat 2
(old format) on Lenny.

        kernel is 2.6.29.6
        drbd is 8.3.2
        heartbeat is 2.1.3-6lenny1

For testing I am running 15 kernel builds on this NFS
partition in parallel in an endless loop. Every 10 minutes
the HA hosts change their role (using /etc/init.d/heartbeat stop).

If the primary heartbeat is stopped (or if I run hb_standby), then
I get a "Stale NFS file handle" message on all writing NFS clients
after 3 minutes. 2 minutes later the clients start writing on the new
primary :-(. First I thought that is what you deserve if you do NFS,
but according to

        http://www.linux-ha.org/DRBD/NFS

it seems that this is not supposed to happen. Is this correct?
The haresources file is

nasl002a IPaddr::xx.xx.xx.xx/23/bond0 \
        drbddisk:: \
        Filesystem::/dev/drbd1::/common::reiserfs::defaults \
        Filesystem::/dev/drbd2::/space::reiserfs::defaults,noatime \
        nfs-common \
        nfs-kernel-server

The link mentioned above suggests to use something like

nasl002a        drbddisk:: \
                Filesystem::/dev/drbd1::/common::reiserfs::defaults \
                Filesystem::/dev/drbd2::/space::reiserfs::defaults,noatime \
                killnfsd \
                nfs-common \
                nfs-kernel-server \
                Delay::3::0 \
                IPaddr::xx.xx.xx.xx/23/bond0

instead, but this doesn't seem to help, either.


Any helpful comments would be very welcome.


Regards

Harri

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to