[DRBD-user] how to avoid Stale NFS file handle with multiple drbds?

Raoul Borenius raoul at sgs.dfn.de
Wed Dec 7 10:45:20 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.


has anyone succeeded in setting up multiple nfs-exported drbd-volumes
without getting the 'Stale NFS file handle'-error during failover?

Following http://linux-ha.org/DRBD_2fNFS I can export one drbd-volume with
symlinked /var/lib/nfs which works perfectly without error during failover.
But what do I need to do if I have two or more drbd-volumes on my nfs-server
(which will be exported to different clients)?

/var/lib/nfs can only be symlinked to one of the volumes which
means that I would get a 'Stale NFS file handle'-error during failover
on all the other volumes.

I've tried to set up /var/lib/nfs as drbd0 and then my data-volumes as
drbd1, drbd2 etc. but that did not help.

I've been reading the list-archives and googling around but haven't found
anything that pointed me to where the problem lies.

Is it not possible to use more than one volume for nfs-export?

Thanks for any hints on this!



Raoul Borenius                         Phone  : +49 711 63314-222
DFN-Verein - WiNShuttle                Fax    : +49 711 63314-133
Lindenspürstr.32                       E-Mail : raoul at sgs.dfn.de
D-70176 Stuttgart                      WWW    : http://www.shuttle.de
--------------------- Deutsches ForschungsNetz ----------------------
--------- Germany's National Research and Education Network ---------

More information about the drbd-user mailing list