If the mounted source for some reason is no longer accessible (in my case my domain password expired), the mount point directory is empty and (at least for me) the mount no longer shows up in /proc/mount
.
I desperately searched for any such mounts since I suspected there was some mount that frequently tried to access my domain account with old credentials (every few seconds) and thereby frequently locked the account. That´s why I found this question in the first place. But /proc/mounts
was not the solution for me.
I knew I had probably done some mounting from an Ubuntu server with a command like the below, but was unsure of what mount_point_dir
I could have used, since none of my regular mount_points seemed to be mounted.
$ mount.cifs <remotetarget> <mount_point_dir>
I finally found a verification that there actually existed some mounting with authorization problems from the syslog in /var/log/syslog
. I saw a lot of lines in this log with the following statements:
CIFS VFS: Free previous auth_key.response
Status code returned 0xc0000234 STATUS_ACCOUNT_LOCKED_OUT
That confirmed my suspicions and I could then get further confirmation from looking at the Stats and DebugData under the /proc/fs/cifs
folder.
See further information here.
Although I never actually saw the information about the target mount_point_dir
, only the mounted source, this was enough for me to solve my issue, since this motivated me to do a reboot of the server, after which the mounts were gone and also the account locking problem.