[DRBD-user] Stale NFS file handle

Dr. Volker Jaenisch volker.jaenisch at inqbus.de
Sat Dec 17 21:08:30 CET 2005

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

Hello Andrés!

Andrés Cañada wrote:

>As far as I can see, this is a Debian/NFS problem, so that's my problem, and I 
>haven't read the solution that works for me.
I'm not quite sure. But in one of my former posts to this list
I described a problem which can be related to this issue.
On debian /etc/ha.d/resource.d/Filesystem is broken!
In the filesystem script there is a call to "fuser" which should release
processes residing on the mounted filesystem.
In its Debian Version "fuser" does effective nothing because it evaluates
the command line parameters in a wrong way (bug report filed).

Since you will have a haressource like the following

host-a  drbddisk::drbd-resource-0 \
        Filesystem::/dev/drbd0::/share/spool0/data::reiserfs \
        killnfsd \
        nfs-common \
        nfs-kernel-server \
        sleep::3 \

prior to the execution of


the command


is called. But due to its brokenness Filesystem does not release all the
processes pointing to the mounted  /dev/drbd device.
Maybe this causes the "stale filehandle" error.

Workaround :


"fuser -mk" to "fuser -m -k"

wich brings fuser to work right again.

Best regards,


   inqbus it-consulting      +49 ( 341 )  5643800
   Dr.  Volker Jaenisch      http://www.inqbus.de
   Herloßsohnstr.    12      0 4 1 5 5    Leipzig
   N  O  T -  F Ä L L E      +49 ( 170 )  3113748

More information about the drbd-user mailing list