On 01/05/2018 12:13 AM, Angelo Moreschini wrote:
_here some line of command_ : _sudo journalctl | grep -i PRTZ_programming_*(PRTZ_programming = name of partition I made on USB HD)**
Nov 12 09:29:50 localhost.pluto gnome-session[1798]: Gjs-Message: JS LOG: Unable to mount volume PRTZ_programming: Gio.IOErrorEnum: Error mounting system-managed device /dev/sdb2: Command-line `mount "/media/BKx_programming"' exited with non-zero exit status 18: Failed to write lock '/dev/sdb2': Resource temporarily unavailable Nov 12 09:29:55 localhost.pluto gnome-session[1798]: Gjs-Message: JS LOG: Unable to mount volume PRTZ_programming: Gio.IOErrorEnum: Error mounting system-managed device /dev/sdb2: Command-line `mount "/media/BKx_programming"' exited with non-zero exit status 18: Failed to write lock '/dev/sdb2': Resource temporarily unavailable
These lines are because Gnome sees a USB drive and tries to mount it, but finds out that it's being managed already.
Nov 12 09:29:57 localhost.pluto ntfs-3g[5657]: Mounted /dev/sdb2 (Read-Write, label "PRTZ_programming", NTFS 3.1) Nov 12 09:31:08 localhost.pluto ntfs-3g[5657]: Unmounting /dev/sdb2 (PRTZ_programming) Nov 12 11:02:54 localhost.pluto ntfs-3g[691]: Mounted /dev/sdb2 (Read-Write, label "PRTZ_programming", NTFS 3.1) Nov 12 19:59:58 localhost.pluto ntfs-3g[691]: Unmounting /dev/sdb2 (PRTZ_programming)
I assume the mounting time is when you run your find command. I have no idea what is unmounting it unless systemd is using something like autofs.
Nov 20 10:33:09 localhost.pluto udisksd[1506]: Mounted /dev/sdb2 at /run/media/angelo_dev/PRTZ_programming on behalf of uid 1003 Nov 20 10:33:09 localhost.pluto org.gtk.Private.UDisks2VolumeMonitor[1729]: index_parse.c:191: indx_parse(): error opening /run/media/angelo
This time it looks like udisksd got it instead of whatever else was mounting it before.
another thing I would like to ask : to use autofs for partitions on my USB HD that is permanently connected to computer, it is mandatory install also NFS (network file system) ???
You shouldn't have to. NFS is only one thing (probably the most common one though) that is managed using autofs.