'nfsstat -m' shows many mounts - normal behavior?
Hello everybody,
at work we're having trouble with undeletable directories. We use autofs 4.1.4+debian-2.1ubuntu1 (Hardy). Sometimes (possibly after many file operations for example with maven, eclipse, svn) there are directories that cannot be deleted anymore. Home directories are mounted from a Solaris NFS server, which seems to be running okay (nothing shows up server side if this happens).
On the client, 'nfsstat -m' shows many mount points inside
the home directory, one of them the directory that cannot
be deleted (see below, the directory this time was '/ldaphome/hanzelm/workspace/ls5/jabc-core/jabc-editor/target/classes/de'. '/home/hanzelm' is coming from a near-obsolete NIS auto_home, but I'm working in /ldaphome.)
Is this normal behaviour for autofs/nfs?
Regards,
Benjamin Hanzelmann
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
paste <<<<<<<<
hanzelm@ls5ray01:~# nfsstat -m [...] [ other user home directories ] [...]
/ldaphome/hanzelm from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
/home/hanzelm from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
/ldaphome/hanzelm/.mozilla-thunderbird/ml8g9zbw.default/ImapMail/mail.speutel.de/INBOX.sbd/work--ls5.sbd
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/.mozilla-thunderbird/ml8g9zbw.default/ImapMail/mail.speutel.de/INBOX.sbd/work--ls5.sbd
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
/ldaphome/hanzelm/workspace/ls5/da/text/Konzept from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/da/text/Konzept
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
/ldaphome/hanzelm/.eclipse/org.eclipse.platform_3.3.0_1148896627 from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/.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=ls5file02
/ldaphome/hanzelm/workspace/.metadata/.plugins from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/.metadata/.plugins
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
/ldaphome/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/jabc-editor
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/jabc-editor
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
/ldaphome/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/jabc-framework
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/jabc-framework
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
/ldaphome/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/maven-server-plugin
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/maven-server-plugin
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
/ldaphome/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/zounds
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/zounds
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
/ldaphome/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/zounds-common
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/zounds-common
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
/ldaphome/hanzelm/workspace/ls5/jabc-core/jabc-editor/target/classes/de
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/jabc-core/jabc-editor/target/classes/de
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
[...]
Ian Kent
maintainerQuoted 10 lines · Benjamin Hanzelmann
Hello everybody,
at work we're having trouble with undeletable directories. We use autofs 4.1.4+debian-2.1ubuntu1 (Hardy). Sometimes (possibly after many file operations for example with maven, eclipse, svn) there are directories that cannot be deleted anymore. Home directories are mounted from a Solaris NFS server, which seems to be running okay (nothing shows up server side if this happens).
Quoted 6 lines
On the client, 'nfsstat -m' shows many mount points inside
the home directory, one of them the directory that cannot
be deleted (see below, the directory this time was '/ldaphome/hanzelm/workspace/ls5/jabc-core/jabc-editor/target/classes/de'. '/home/hanzelm' is coming from a near-obsolete NISauto_home, but I'm working in /ldaphome.)
What do your maps look like?
Quoted 85 lines
Is this normal behaviour for autofs/nfs?
Regards,
Benjamin HanzelmannQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
paste <<<<<<<<
hanzelm@ls5ray01:~# nfsstat -m [...] [ other user home directories ] [...]/ldaphome/hanzelm from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
/home/hanzelmfrom ls5file02:/san02vol02pool/nfs/export/home02/hanzelm
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02/ldaphome/hanzelm/.mozilla-thunderbird/ml8g9zbw.default/ImapMail/mail.speutel.de/INBOX.sbd/work--ls5.sbd
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/.mozilla-thunderbird/ml8g9zbw.default/ImapMail/mail.speutel.de/INBOX.sbd/work--ls5.sbd
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02/ldaphome/hanzelm/workspace/ls5/da/text/Konzept from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/da/text/Konzept
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02/ldaphome/hanzelm/.eclipse/org.eclipse.platform_3.3.0_1148896627 from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/.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=ls5file02/ldaphome/hanzelm/workspace/.metadata/.plugins from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/.metadata/.plugins
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02/ldaphome/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/jabc-editor
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/jabc-editor
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02/ldaphome/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/jabc-framework
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/jabc-framework
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02/ldaphome/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/maven-server-plugin
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/maven-server-plugin
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02/ldaphome/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/zounds
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/zounds
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02/ldaphome/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/zounds-common
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/.metadata/.plugins/org.eclipse.core.resources/.projects/zounds-common
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02/ldaphome/hanzelm/workspace/ls5/jabc-core/jabc-editor/target/classes/de
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/workspace/ls5/jabc-core/jabc-editor/target/classes/de
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02[...]
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
Sorry for taking my time to answer, busy days for me ATM... ;)
Quoted 10 lines · Ian Kent
Quoted 10 lines
Hello everybody,
at work we're having trouble with undeletable directories. We use autofs 4.1.4+debian-2.1ubuntu1 (Hardy). Sometimes (possibly after many file operations for example with maven, eclipse, svn) there are directories that cannot be deleted anymore. Home directories are mounted from a Solaris NFS server, which seems to be running okay (nothing shows up server side if this happens).
Quoted 8 lines
Quoted 6 lines
On the client, 'nfsstat -m' shows many mount points inside
the home directory, one of them the directory that cannot
be deleted (see below, the directory this time was '/ldaphome/hanzelm/workspace/ls5/jabc-core/jabc-editor/target/classes/de'. '/home/hanzelm' is coming from a near-obsolete NISauto_home, but I'm working in /ldaphome.)What do your maps look like?
In the LDAP directory:
dn: ou=auto.master,o=orga
objectClass: automountMap
objectClass: top
ou: auto.master
dn: cn=/ldaphome,ou=auto.master,o=orga
objectClass: automount
automountInformation: ldap:ou=auto.home,o=orga
cn: /ldaphome
dn: ou=auto.home,o=orga
objectClass: automountMap
objectClass: top
ou: auto.home
dn: cn=hanzelm,ou=auto.home,o=orga
objectClass: automount
automountInformation: \
-rw,intr ls5file02:/san02vol02pool/nfs/export/home02/&
cn: hanzelm
Naturally there are many more children to ou=auto.home,o=orga, one for every user (pretty standard setup, if my observations are correct. ;)
NIS:
auto_master:
/home /etc/auto.home
auto_home:
[...]
hanzelm -rw,intr ls5file02:/san02vol02pool/nfs/export/home02/& [...]
Quoted 18 lines
Quoted 18 lines
Is this normal behaviour for autofs/nfs?
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
paste <<<<<<<<
hanzelm@ls5ray01:~# nfsstat -m /ldaphome/hanzelm from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm Flags: rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
/home/hanzelmfrom ls5file02:/san02vol02pool/nfs/export/home02/hanzelm
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02/ldaphome/hanzelm/.mozilla-thunderbird/ml8g9zbw.default/ImapMail/mail.speutel.de/INBOX.sbd/work--ls5.sbd
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/.mozilla-thunderbird/ml8g9zbw.default/ImapMail/mail.speutel.de/INBOX.sbd/work--ls5.sbd
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
Quoted 4 lines
Quoted 4 lines
/ldaphome/hanzelm/.eclipse/org.eclipse.platform_3.3.0_1148896627 from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/.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=ls5file02
[...]
Regards,
Benjamin Hanzelmann
Ian Kent
maintainerQuoted 1 line · Benjamin Hanzelmann
Sorry for taking my time to answer, busy days for me ATM... ;)
No this doesn't look right at all.
How about collecting and posting a debug log. See http://people.redhat.com/jmoyer for information.
What kernel version are you using?
Quoted 84 lines
Quoted 10 lines · Ian Kent
Quoted 10 lines
Hello everybody,
at work we're having trouble with undeletable directories. We use autofs 4.1.4+debian-2.1ubuntu1 (Hardy). Sometimes (possibly after many file operations for example with maven, eclipse, svn) there are directories that cannot be deleted anymore. Home directories are mounted from a Solaris NFS server, which seems to be running okay (nothing shows up server side if this happens).
Quoted 8 lines
Quoted 6 lines
On the client, 'nfsstat -m' shows many mount points inside
the home directory, one of them the directory that cannot
be deleted (see below, the directory this time was '/ldaphome/hanzelm/workspace/ls5/jabc-core/jabc-editor/target/classes/de'. '/home/hanzelm' is coming from a near-obsolete NISauto_home, but I'm working in /ldaphome.)What do your maps look like?
In the LDAP directory:
dn: ou=auto.master,o=orga
objectClass: automountMap
objectClass: top
ou: auto.masterdn: cn=/ldaphome,ou=auto.master,o=orga
objectClass: automount
automountInformation: ldap:ou=auto.home,o=orga
cn: /ldaphomedn: ou=auto.home,o=orga
objectClass: automountMap
objectClass: top
ou: auto.homedn: cn=hanzelm,ou=auto.home,o=orga
objectClass: automount
automountInformation: \-rw,intr ls5file02:/san02vol02pool/nfs/export/home02/&cn: hanzelm
Naturally there are many more children to ou=auto.home,o=orga, one for every user (pretty standard setup, if my observations are correct. ;)
NIS:
auto_master:
/home/etc/auto.home
auto_home:
[...]
hanzelm -rw,intr ls5file02:/san02vol02pool/nfs/export/home02/& [...]Quoted 18 lines
Quoted 18 lines
Is this normal behaviour for autofs/nfs?
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
paste <<<<<<<<
hanzelm@ls5ray01:~# nfsstat -m /ldaphome/hanzelm from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm Flags: rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02
/home/hanzelmfrom ls5file02:/san02vol02pool/nfs/export/home02/hanzelm
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02/ldaphome/hanzelm/.mozilla-thunderbird/ml8g9zbw.default/ImapMail/mail.speutel.de/INBOX.sbd/work--ls5.sbd
from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/.mozilla-thunderbird/ml8g9zbw.default/ImapMail/mail.speutel.de/INBOX.sbd/work--ls5.sbd
Flags:
rw,vers=3,rsize=1048576,wsize=1048576,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=ls5file02Quoted 4 lines
Quoted 4 lines
/ldaphome/hanzelm/.eclipse/org.eclipse.platform_3.3.0_1148896627 from ls5file02:/san02vol02pool/nfs/export/home02/hanzelm/.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=ls5file02[...]
Regards,
Benjamin Hanzelmann