On Mon, 2008-10-27 at 15:29 +0100, Stephan Windmüller wrote: > On Mon, 27. Oct 2008, Trond Myklebust wrote: > > > > When I look with "nfsstat -m", I can see a lot of mount points for each > > > user, including the directory which cannot be deleted. One user had a > > > total of 200 mounts! > > If /export/username is on a different volume from /export on the server, > > then the NFS client has to mount it as being a different volume on the > > client. 'cat /proc/fs/nfsfs/volumes' should be able to tell you if your > > server is exporting more than one volume. > > /export and /export/home/username are different volumes, but I only > share /export/home/username. Also it is not only the homedirectory > itself but many subdirectories which cause this error. A sample output > from 'nfsstat -m': > > ----- > > /home/username from fileserver:/export/home/username > Flags: rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=fileserver > > /home/username/workspace/ls5/da/text/Konzept from > fileserver:/export/home/username/workspace/ls5/da/text/Konzept > Flags: rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=fileserver > > /home/username/.eclipse/org.eclipse.platform_3.3.0_1148896627 from > fileserver:/export/home/username/.eclipse/org.eclipse.platform_3.3.0_1148896627 > Flags: rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=fileserver > > [...] > > ----- > > The output from /proc/fs/nfsfs/volumes looks like: > > NV SERVER PORT DEV FSID > v3 81d91add 801 0:29 1000001009f:0 > v3 81d91add 801 0:27 1000001010f:0 > v3 81d91ade 801 0:30 100000100f1:0 > v3 81d91add 801 0:31 1000001018b:0 > v3 81d91add 801 0:26 10000010189:0 > v3 81d91ade 801 0:28 100000100ef:0 > v3 81d91ade 801 0:32 100000100f6:0 > v3 81d91add 801 0:33 10000010192:0 Which shows you have at least 5 different volumes mounted from server 129.217.26.221, and 3 different volumes mounted from server 129.217.26.222. As I said earlier, every time you cross from one volume to another (even if it is on the same server), a mountpoint is automatically created. Otherwise, you would have issues with two different files possibly sharing the same inode number on the same NFS filesystem. Cheers Trond -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html