autofs unmount Problem mit ntfs-3g nach Update auf Stretch ?

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
shredman
Beiträge: 4
Registriert: 08.06.2020 10:55:45

autofs unmount Problem mit ntfs-3g nach Update auf Stretch ?

Beitrag von shredman » 08.06.2020 11:13:51

Hi,

habe gestern endlich mal meinen Server von Jessie auf Strech geupdated. Hat bis auf ein paar kleinere Probleme soweit alles funktioniert doch der autofs Dienst in Verbindung mit einer ntfs-3g gemounteten WD Festplatte funktioniert nicht mehr richtig. Die Platte wird zwar vom autofs Dienst sauber gemountet aber der dismount nach dem eingestellten timout funktioniert nicht mehr. Der timeout wird erkannt aber die Platte wird danach sofort wieder gemountet.
mount, dismount, mount, dismount u.s.w.

Jun 8 11:03:33 gateway automount[9594]: Starting automounter version 5.1.2, master map /etc/auto.master
Jun 8 11:03:33 gateway automount[9594]: using kernel protocol version 5.02
Jun 8 11:03:33 gateway automount[9594]: mounted indirect on /var/autofs with timeout 60, freq 15 seconds
Jun 8 11:03:33 gateway automount[9594]: ghosting enabled
Jun 8 11:04:28 gateway automount[9594]: attempting to mount entry /var/autofs/MY-Book
Jun 8 11:04:30 gateway ntfs-3g[9744]: Version 2017.3.23 integrated FUSE 27
Jun 8 11:04:30 gateway ntfs-3g[9744]: Mounted /dev/sdc1 (Read-Write, label "My Book", NTFS 3.1)
Jun 8 11:04:30 gateway ntfs-3g[9744]: Cmdline options: rw,uid=1000,gid=100,dmask=002,fmask=0003
Jun 8 11:04:30 gateway ntfs-3g[9744]: Mount options: rw,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sdc1,blkdev,blksize=4096
Jun 8 11:04:30 gateway ntfs-3g[9744]: Global ownership and permissions enforced, configuration type 1
Jun 8 11:04:30 gateway automount[9594]: re-reading map for /var/autofs
Jun 8 11:04:30 gateway automount[9594]: mounted /var/autofs/MY-Book
Jun 8 11:04:32 gateway automount[9594]: 1 remaining in /var/autofs
Jun 8 11:04:32 gateway automount[9594]: 1 remaining in /var/autofs
Jun 8 11:04:47 gateway automount[9594]: 1 remaining in /var/autofs
Jun 8 11:05:02 gateway automount[9594]: 1 remaining in /var/autofs
Jun 8 11:05:17 gateway automount[9594]: 1 remaining in /var/autofs
Jun 8 11:05:32 gateway automount[9594]: expiring path /var/autofs/MY-Book
Jun 8 11:05:32 gateway ntfs-3g[9744]: Unmounting /dev/sdc1 (My Book)
Jun 8 11:05:32 gateway automount[9594]: expired /var/autofs/MY-Book
Jun 8 11:05:32 gateway automount[9594]: attempting to mount entry /var/autofs/MY-Book
Jun 8 11:05:34 gateway automount[9594]: mounted /var/autofs/MY-Book
Jun 8 11:05:34 gateway ntfs-3g[9918]: Version 2017.3.23 integrated FUSE 27
Jun 8 11:05:34 gateway ntfs-3g[9918]: Mounted /dev/sdc1 (Read-Write, label "My Book", NTFS 3.1)
Jun 8 11:05:34 gateway ntfs-3g[9918]: Cmdline options: rw,uid=1000,gid=100,dmask=002,fmask=0003
Jun 8 11:05:34 gateway ntfs-3g[9918]: Mount options: rw,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sdc1,blkdev,blksize=4096
Jun 8 11:05:34 gateway ntfs-3g[9918]: Global ownership and permissions enforced, configuration type 1
Jun 8 11:05:34 gateway automount[9594]: re-reading map for /var/autofs

Die WD Platte wird nicht mehr ungemountet. Der cifs automount eines Raspberry Pi hingegen wird nach dem timeout allerdings sauber ungemountet und bleibt es auch.

Jun 10 16:39:56 gateway automount[789]: Starting automounter version 5.1.2, master map /etc/auto.master
Jun 10 16:39:56 gateway automount[789]: using kernel protocol version 5.02
Jun 10 16:39:56 gateway automount[789]: mounted indirect on /var/autofs with timeout 30, freq 8 seconds
Jun 10 16:39:56 gateway automount[789]: ghosting enabled
Jun 10 16:40:05 gateway automount[789]: attempting to mount entry /var/autofs/Raspberry
Jun 10 16:40:05 gateway automount[789]: mounted /var/autofs/Raspberry
Jun 10 16:40:05 gateway automount[789]: re-reading map for /var/autofs
Jun 10 16:40:06 gateway automount[789]: 1 remaining in /var/autofs
Jun 10 16:40:14 gateway automount[789]: 1 remaining in /var/autofs
Jun 10 16:40:22 gateway automount[789]: 1 remaining in /var/autofs
Jun 10 16:40:30 gateway automount[789]: 1 remaining in /var/autofs
Jun 10 16:40:38 gateway automount[789]: expiring path /var/autofs/Raspberry
Jun 10 16:40:38 gateway automount[789]: expired /var/autofs/Raspberry

Scheint wohl am automount in Verbindung mit dem ntfs-3g Filesystem Treiber zu liegen. Hier meine automount Config. Hab im Netz versucht etwas über das autofs unmount Problem zu finden aber nichts. Hab schon alles mögliche probiert, andere Options, etc. keine Änderung

Vermute das die autofs 5.1.2 Version einen Bug hat denn die Jessie Version hat einwandfrei funktioniert.
Jemand einen Tip ?

Gruß,
shredman


[auto.master]
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
#/misc /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
#
#/net -hosts
#
# Include /etc/auto.master.d/*.autofs
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
/var/autofs /etc/auto.misc --timeout 60 --ghost

[auto.misc]
#
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

#cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom

# the following entries are samples to pique your imagination
#linux -ro,soft,intr ftp.example.org:/pub/linux
#boot -fstype=ext2 :/dev/hda1
#floppy -fstype=auto :/dev/fd0
#floppy -fstype=ext2 :/dev/fd0
#e2floppy -fstype=ext2 :/dev/fd0
#jaz -fstype=ext2 :/dev/sdc1
#removable -fstype=ext2 :/dev/hdd
MY-Book -fstype=ntfs-3g,rw,uid=1000,gid=100,dmask=002,fmask=0003 :/dev/disk/by-uuid/54D8D96AD8D94ABE
Raspberry -fstype=cifs,rw,credentials=/root/.smbcredentials,uid=1000 ://raspberrypi/Roms

Antworten