I’ve got smb shares loaded from my NAS running Openmediavault on my Vero4k+ using autofs.
This has been configured for some time and been running without issue.
Yesterday, I did a major update of Openmediavault (Version 5 to Version 6) and now autofs is not loading the shares… The shares are still working and the credentials also work as I have verified accessing them through Windows.
The contents of my /etc/auto.smb.shares
is as follows
osmc@Vero4k:~$ cat /etc/auto.smb.shares
/mnt/helios4/media -fstype=cifs,rw,credentials=/home/osmc/.smbcredentials,iocharset=utf8,uid=osmc,gid=osmc ://192.168.1.25/Medina
/mnt/helios4/europa -fstype=cifs,rw,credentials=/home/osmc/.smbcredentials,iocharset=utf8,uid=osmc,gid=osmc ://192.168.1.25/Europa
When I run sudo automount -f -v -d
I get the following
osmc@Vero4k:~$ sudo automount -f -v -d
Starting automounter version 5.1.2, master map /etc/auto.master
using kernel protocol version 5.02
lookup_nss_read_master: reading master file /etc/auto.master
do_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d
lookup_nss_read_master: reading master dir /etc/auto.master.d
lookup_read_master: lookup(dir): scandir: /etc/auto.master.d
lookup_read_master: lookup(file): read entry +auto.master
lookup_nss_read_master: reading master files auto.master
do_init: parse(sun): init gathered global options: (null)
lookup(file): failed to read included master map auto.master
lookup_read_master: lookup(file): read entry /-
master_do_mount: mounting /-
automount_path_to_fifo: fifo name /var/run/autofs.fifo--
lookup_nss_read_map: reading map file /etc/auto.smb.shares
do_init: parse(sun): init gathered global options: (null)
mounted direct on /mnt/helios4/europa with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/helios4/europa
mounted direct on /mnt/helios4/media with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/helios4/media
st_ready: st_ready(): state = 0 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4094686272 path /-
expire_cleanup: got thid 4094686272 path /- stat 0
expire_cleanup: sigchld: exp 4094686272 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4094686272 path /-
expire_cleanup: got thid 4094686272 path /- stat 0
expire_cleanup: sigchld: exp 4094686272 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4094686272 path /-
expire_cleanup: got thid 4094686272 path /- stat 0
expire_cleanup: sigchld: exp 4094686272 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
handle_packet: type = 5
handle_packet_missing_direct: token 100, name /mnt/helios4/media, request pid 2881
attempting to mount entry /mnt/helios4/media
lookup_mount: lookup(file): looking up /mnt/helios4/media
lookup_mount: lookup(file): /mnt/helios4/media -> -fstype=cifs,rw,credentials=/home/osmc/.smbcredentials,iocharset=utf8,uid=osmc,gid=osmc ://192.168.1.25/Medina
parse_mount: parse(sun): expanded entry: -fstype=cifs,rw,credentials=/home/osmc/.smbcredentials,iocharset=utf8,uid=osmc,gid=osmc ://192.168.1.25/Medina
parse_mount: parse(sun): gathered options: fstype=cifs,rw,credentials=/home/osmc/.smbcredentials,iocharset=utf8,uid=osmc,gid=osmc
parse_mount: parse(sun): dequote("://192.168.1.25/Medina") -> ://192.168.1.25/Medina
parse_mount: parse(sun): core of entry: options=fstype=cifs,rw,credentials=/home/osmc/.smbcredentials,iocharset=utf8,uid=osmc,gid=osmc, loc=://192.168.1.25/Medina
sun_mount: parse(sun): mounting root /mnt/helios4/media, mountpoint /mnt/helios4/media, what //192.168.1.25/Medina, fstype cifs, options rw,credentials=/home/osmc/.smbcredentials,iocharset=utf8,uid=osmc,gid=osmc
do_mount: //192.168.1.25/Medina /mnt/helios4/media type cifs options rw,credentials=/home/osmc/.smbcredentials,iocharset=utf8,uid=osmc,gid=osmc using module generic
mount_mount: mount(generic): calling mkdir_path /mnt/helios4/media
mount_mount: mount(generic): calling mount -t cifs -o rw,credentials=/home/osmc/.smbcredentials,iocharset=utf8,uid=osmc,gid=osmc //192.168.1.25/Medina /mnt/helios4/media
>> mount error(95): Operation not supported
>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount(generic): failed to mount //192.168.1.25/Medina (type cifs) on /mnt/helios4/media
dev_ioctl_send_fail: token = 100
failed to mount /mnt/helios4/media
st_expire: state 1 path /-
expire_proc: exp_proc = 4094686272 path /-
expire_cleanup: got thid 4094686272 path /- stat 0
expire_cleanup: sigchld: exp 4094686272 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4094686272 path /-
expire_cleanup: got thid 4094686272 path /- stat 0
expire_cleanup: sigchld: exp 4094686272 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
^Cdo_notify_state: signal 2
master_notify_state_change: sig 2 switching /- from 1 to 5
st_prepare_shutdown: state 1 path /-
expire_proc: exp_proc = 4093633600 path /-
expire_cleanup: got thid 4093633600 path /- stat 0
expire_cleanup: sigchld: exp 4093633600 finished, switching from 5 to 7
st_shutdown: state 5 path /-
umount_multi: path /mnt/helios4/europa incl 0
set_direct_mount_catatonic: set /mnt/helios4/europa catatonic
umounted direct mount /mnt/helios4/europa
umount_multi: path /mnt/helios4/media incl 0
set_direct_mount_catatonic: set /mnt/helios4/media catatonic
umounted direct mount /mnt/helios4/media
automount_path_to_fifo: fifo name /var/run/autofs.fifo--
shut down path /-
autofs stopped
Does anybody have any ideas what’s happening?
Thanks