[opensuse] famd impedes umounting devices.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Look: Telcontar:~ # umount /data/hoard umount.nfs4: /data/hoard: device is busy Telcontar:~ # lsof /data/hoard lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /var/run/user/1000/gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME famd 11203 cer 8r DIR 0,51 41 128 /data/hoard famd 11203 cer 10r DIR 0,51 18 131 /data/hoard/TheHoard famd 11203 cer 11r DIR 0,51 36 153 /data/hoard/Downloads.cer Telcontar:~ # rcfam restart redirecting to systemctl restart fam Telcontar:~ # umount /data/hoard Telcontar:~ # Why? I can not often umount external mounts because of that. In this case, it is an NFS mounted filesystem. Waiting does not work. There is no activity whatsoever on the mount, which has been mounted for hours. oS 12.3. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJLBZEACgkQtTMYHG2NR9WfdQCeL6U5lAXX9ve6iKK/iyvVDvJP csAAn3bV4M2A3zoK7J20fh/gioG6cXw1 =9gJ7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 В Tue, 1 Oct 2013 19:25:30 +0200 (CEST) "Carlos E. R." <carlos.e.r@opensuse.org> пишет:
Telcontar:~ # umount /data/hoard umount.nfs4: /data/hoard: device is busy
Long time ago, but IIRC gamin does not have this problem. famd also should support client/server where local famd contacts famd on NFS server to request monitoring of NFS filesystem. Not sure whether this is build-time selectable. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJLCH0ACgkQR6LMutpd94zc8QCfe/LWgAjyLhRVBYRiPQSctEgs tUsAoMq9gjZ58ifnDA66GTxdemD92Od9 =EzSI -----END PGP SIGNATURE-----
El 01/10/13 14:25, Carlos E. R. escribió:
Look:
Telcontar:~ # umount /data/hoard umount.nfs4: /data/hoard: device is busy
Telcontar:~ # lsof /data/hoard lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /var/run/user/1000/gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME famd 11203 cer 8r DIR 0,51 41 128 /data/hoard famd 11203 cer 10r DIR 0,51 18 131 /data/hoard/TheHoard famd 11203 cer 11r DIR 0,51 36 153 /data/hoard/Downloads.cer
Telcontar:~ # rcfam restart redirecting to systemctl restart fam Telcontar:~ # umount /data/hoard Telcontar:~ #
Why?
ain't that pretty obvious ? systemctl restart fam will terminate famd first, when that happens all resources are freed. However I suspect what you are seeing is a bug, missing closedir() somewhere in famd. -- "If debugging is the process of removing bugs, then programming must be the process of putting them in." - Edsger Dijkstra -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Tue, 01 Oct 2013 14:45:44 -0300 Cristian Rodríguez <crrodriguez@opensuse.org> пишет:
However I suspect what you are seeing is a bug, missing closedir() somewhere in famd.
If my memory serves me right, famd operates on file descriptor, so it must have file open to monitor it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2013-10-01 at 14:45 -0300, Cristian Rodríguez wrote:
El 01/10/13 14:25, Carlos E. R. escribió:
Look:
Telcontar:~ # umount /data/hoard umount.nfs4: /data/hoard: device is busy
Telcontar:~ # lsof /data/hoard lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /var/run/user/1000/gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME famd 11203 cer 8r DIR 0,51 41 128 /data/hoard famd 11203 cer 10r DIR 0,51 18 131 /data/hoard/TheHoard famd 11203 cer 11r DIR 0,51 36 153 /data/hoard/Downloads.cer
Telcontar:~ # rcfam restart redirecting to systemctl restart fam Telcontar:~ # umount /data/hoard Telcontar:~ #
Why?
ain't that pretty obvious ? systemctl restart fam will terminate famd first, when that happens all resources are freed.
You are missing the point. I know what a restart of famd does, that's why I do it. I have to, in order to umount some external mounts, because famd keeps a hold on that filesystem for hours. I had seen this behaviour years ago, then it dissapeared, and now it is back.
However I suspect what you are seeing is a bug, missing closedir() somewhere in famd.
So I guess that a bugzilla is wanted... - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJN6YsACgkQtTMYHG2NR9UA6QCcDUF8zeah2BlKLJyJNW0rq1pe FlgAoJGkzyovYTlQlgKrREWGQYcl2/p5 =R62n -----END PGP SIGNATURE-----
El 03/10/13 19:02, Carlos E. R. escribió:
So I guess that a bugzilla is wanted...
It might not be a bug if as Andrey said famd needs this DIR * open for monitoring. -- "If debugging is the process of removing bugs, then programming must be the process of putting them in." - Edsger Dijkstra -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2013-10-04 00:50, Cristian Rodríguez wrote:
El 03/10/13 19:02, Carlos E. R. escribió:
So I guess that a bugzilla is wanted...
It might not be a bug if as Andrey said famd needs this DIR * open for monitoring.
That is absurd. I have the right to close mounts at the time of my choosing without being root to restart fam. -- Cheers / Saludos, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar)
On 2013-10-04 01:07, Carlos E. R. wrote:
On 2013-10-04 00:50, Cristian Rodríguez wrote:
El 03/10/13 19:02, Carlos E. R. escribió:
So I guess that a bugzilla is wanted...
It might not be a bug if as Andrey said famd needs this DIR * open for monitoring.
That is absurd. I have the right to close mounts at the time of my choosing without being root to restart fam.
Worse. The server publishing via nfs the directory "/data/hoard/" was stopped. This rendered the client machine very unstable: any process trying to do a listing of /data locked up, had to killed -9. Notice "/data", not "/data/hoard/". I had to reboot the machine to recover it up. -- Cheers / Saludos, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar)
El 03/10/13 20:07, Carlos E. R. escribió:
On 2013-10-04 00:50, Cristian Rodríguez wrote:
El 03/10/13 19:02, Carlos E. R. escribió:
So I guess that a bugzilla is wanted...
It might not be a bug if as Andrey said famd needs this DIR * open for monitoring.
That is absurd.
Counterintuitive I will say... I have the right to close mounts at the time of my
choosing
Computer does not know about your rights of course :-) -- "If debugging is the process of removing bugs, then programming must be the process of putting them in." - Edsger Dijkstra -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Andrey Borzenkov
-
Carlos E. R.
-
Carlos E. R.
-
Cristian Rodríguez