Package: heartbeat
Version: 2.1.3-6lenny4
Severity: important

heartbeat is unable to stop nfs-kernel-server. The script returns 0 so 
heartbeat think that nfs is stopped, but when trying to unmount
a shared disk (drbd) with /var/lib/nfs symlinked into heartbeat gives up and 
reboots the server, it fails since nfsd is still locking files in that folder.

Has been discussed in 2004 here:
http://lists.linbit.com/pipermail/drbd-user/2004-June/001107.html

and on the HA website: http://www.linux-ha.org/DRBD/NFS (under 5.c and 5.d)

Current workaround is calling a script that kills nfsd with haresources as 
suggested in linux-ha.org

(If i start nfs-kernel-server manually, i am also able to stop it manually)

ha.cf:
###########################
# HA config
autojoin none
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 200ms
#warntime 1
deadtime 2
#initdead 30
udpport 694
bcast drbdeth0
mcast drbdeth0 239.0.0.1 694 1 0
udp drbdeth0
auto_failback off
node nfs-ha-01
node nfs-ha-02

apiauth default uid=nobody gid=haclient
apiauth ipfail uid=hacluster
apiauth ping gid=nogroup uid=nobody,hacluster
respawn hacluster /usr/lib/heartbeat/ipfail
ping x.x.x.x
deadping 3
###########################

haresources:
###########################
nfs-ha-01 x.x.x.x/24 drbddisk LVM::drbdtest 
Filesystem::/dev/drbd0::/cluster-metadata::ext3::defaults,noatime 
Filesystem::/dev/drbdtest/test::/mnt/test::xfs nfs-kernel-server nfs-common


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages heartbeat depends on:
ii  adduser             3.110                add and remove users and groups
ii  gawk                1:3.1.5.dfsg-4.1     GNU awk, a pattern scanning and pr
ii  iproute             20080725-2           networking and traffic control too
ii  iputils-ping        3:20071127-1         Tools to test the reachability of 
ii  libbz2-1.0          1.0.5-1              high-quality block-sorting file co
ii  libc6               2.7-18lenny2         GNU C Library: Shared libraries
ii  libcurl3            7.18.2-8lenny3       Multi-protocol file transfer libra
ii  libglib2.0-0        2.16.6-3             The GLib library of C routines
ii  libgnutls26         2.4.2-6+lenny2       the GNU TLS library - runtime libr
ii  libltdl3            1.5.26-4+lenny1      A system independent dlopen wrappe
ii  libncurses5         5.7+20081213-1       shared libraries for terminal hand
ii  libnet1             1.1.2.1-2            library for the construction and h
ii  libopenhpi2         2.12.0-1             OpenHPI libraries (runtime and sup
ii  libpam-runtime      1.0.1-5+lenny1       Runtime support for the PAM librar
ii  libpam0g            1.0.1-5+lenny1       Pluggable Authentication Modules l
ii  libsnmp15           5.4.1~dfsg-12        SNMP (Simple Network Management Pr
ii  libssl0.9.8         0.9.8g-15+lenny6     SSL shared libraries
ii  libuuid1            1.41.3-1             universally unique id library
ii  libwrap0            7.6.q-16             Wietse Venema's TCP wrappers libra
ii  libxml2             2.6.32.dfsg-5+lenny1 GNOME XML library
ii  libxml2-utils       2.6.32.dfsg-5+lenny1 XML utilities
ii  mawk                1.3.3-11.1           a pattern scanning and text proces
ii  psmisc              22.6-1               Utilities that use the proc filesy
ii  python              2.5.2-3              An interactive high-level object-o
ii  python-central      0.6.8                register and build utility for Pyt
ii  zlib1g              1:1.2.3.3.dfsg-12    compression library - runtime

Versions of packages heartbeat recommends:
ii  iptables                      1.4.2-6    administration tools for packet fi
ii  logrotate                     3.7.1-5    Log rotation utility
ii  rsyslog [system-log-daemon]   3.18.6-4   enhanced multi-threaded syslogd

heartbeat suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to