- 7.2.0-rc.1
- Solved
- Minor
I do have the suspicion that it might affect earlier versions as well but i cannot verify.
Edit: 7.1.4 is affected https://forums.unraid.net/topic/193859-can-not-remove-shares-no-matter-what/
Same happens if i go through the "regular way" of adding a share
Some logs
Sep 29 19:46:51 Magnon-Box emhttpd: shcmd (5192483): rmdir '/mnt/user/ilovedogs'
Sep 29 19:46:51 Magnon-Box root: rmdir: failed to remove '/mnt/user/ilovedogs': Not a directory
Sep 29 19:46:51 Magnon-Box emhttpd: shcmd (5192483): exit status: 1
Sep 29 19:46:51 Magnon-Box emhttpd: Restarting services...
Sep 29 19:46:51 Magnon-Box emhttpd: shcmd (5192485): chmod 0777 '/mnt/user/ilovedogs'
Sep 29 19:46:51 Magnon-Box emhttpd: shcmd (5192486): chown 'nobody':'users' '/mnt/user/ilovedogs'
Sep 29 19:46:51 Magnon-Box emhttpd: shcmd (5192488): /etc/rc.d/rc.samba reload
Sep 29 19:46:52 Magnon-Box emhttpd: shcmd (5192492): /etc/rc.d/rc.avahidaemon reload
Sep 29 19:46:52 Magnon-Box avahi-daemon[27022]: Got SIGHUP, reloading.
Sep 29 19:46:52 Magnon-Box unassigned.devices: Updating share settings...
Sep 29 19:46:52 Magnon-Box unassigned.devices: Share settings updated.
Sep 29 19:47:15 Magnon-Box publish: webGui/nchan/parity_list timed out after 30 seconds. Exiting.
Sep 29 19:47:42 Magnon-Box publish: webGui/nchan/device_list timed out after 30 seconds. Exiting.
Sep 29 19:49:50 Magnon-Box emhttpd: shcmd (5193631): rmdir '/mnt/user/ilovedoggies'
Sep 29 19:49:50 Magnon-Box root: rmdir: failed to remove '/mnt/user/ilovedoggies': Not a directory
Sep 29 19:49:50 Magnon-Box emhttpd: shcmd (5193631): exit status: 1
Sep 29 19:49:50 Magnon-Box emhttpd: Restarting services...
Sep 29 19:49:50 Magnon-Box emhttpd: shcmd (5193633): chmod 0777 '/mnt/user/ilovedoggies'
Sep 29 19:49:50 Magnon-Box emhttpd: shcmd (5193634): chown 'nobody':'users' '/mnt/user/ilovedoggies'
Sep 29 19:49:50 Magnon-Box emhttpd: shcmd (5193636): /etc/rc.d/rc.samba reload
Sep 29 19:49:51 Magnon-Box emhttpd: shcmd (5193640): /etc/rc.d/rc.avahidaemon reload
Sep 29 19:49:51 Magnon-Box avahi-daemon[27022]: Got SIGHUP, reloading.
Sep 29 19:49:51 Magnon-Box unassigned.devices: Updating share settings...
Sep 29 19:49:51 Magnon-Box unassigned.devices: Share settings updated.
Sep 29 19:49:57 Magnon-Box emhttpd: shcmd (5193680): rmdir '/mnt/user/ilovedoggies'
Sep 29 19:49:57 Magnon-Box root: rmdir: failed to remove '/mnt/user/ilovedoggies': Not a directory
Sep 29 19:49:57 Magnon-Box emhttpd: shcmd (5193680): exit status: 1
Sep 29 19:49:57 Magnon-Box emhttpd: Restarting services...
Sep 29 19:49:58 Magnon-Box emhttpd: shcmd (5193683): /etc/rc.d/rc.samba reload
Sep 29 19:49:58 Magnon-Box emhttpd: shcmd (5193687): /etc/rc.d/rc.avahidaemon reload
Sep 29 19:49:58 Magnon-Box avahi-daemon[27022]: Got SIGHUP, reloading.
Sep 29 19:49:58 Magnon-Box unassigned.devices: Updating share settings...
Sep 29 19:49:58 Magnon-Box unassigned.devices: Share settings updated.
Sep 29 19:56:29 Magnon-Box emhttpd: shcmd (5196191): mkdir '/mnt/user/ilovecats'
Sep 29 19:56:29 Magnon-Box root: mkdir: cannot create directory '/mnt/user/ilovecats': Input/output error
Sep 29 19:56:29 Magnon-Box emhttpd: shcmd (5196191): exit status: 1
Sep 29 19:56:29 Magnon-Box emhttpd: shcmd (5196192): rm -f '/boot/config/shares/ilovecats.cfg'
Sep 29 19:56:29 Magnon-Box emhttpd: Restarting services...
Sep 29 19:56:29 Magnon-Box emhttpd: shcmd (5196195): /etc/rc.d/rc.samba reload
Sep 29 19:56:29 Magnon-Box emhttpd: shcmd (5196199): /etc/rc.d/rc.avahidaemon reload
Sep 29 19:56:29 Magnon-Box avahi-daemon[27022]: Got SIGHUP, reloading.
Sep 29 19:56:30 Magnon-Box unassigned.devices: Updating share settings...
Sep 29 19:56:30 Magnon-Box unassigned.devices: Share settings updated.
Sep 29 19:56:39 Magnon-Box emhttpd: shcmd (5196260): rmdir '/mnt/user/ilovecats'
Sep 29 19:56:39 Magnon-Box root: rmdir: failed to remove '/mnt/user/ilovecats': Not a directory
Sep 29 19:56:39 Magnon-Box emhttpd: shcmd (5196260): exit status: 1
Sep 29 19:56:39 Magnon-Box emhttpd: Restarting services...
Sep 29 19:56:39 Magnon-Box emhttpd: shcmd (5196262): chmod 0777 '/mnt/user/ilovecats'
Sep 29 19:56:39 Magnon-Box emhttpd: shcmd (5196263): chown 'nobody':'users' '/mnt/user/ilovecats'
Sep 29 19:56:39 Magnon-Box emhttpd: shcmd (5196265): /etc/rc.d/rc.samba reload
Sep 29 19:56:39 Magnon-Box emhttpd: shcmd (5196269): /etc/rc.d/rc.avahidaemon reload
Sep 29 19:56:39 Magnon-Box avahi-daemon[27022]: Got SIGHUP, reloading.
Sep 29 19:56:39 Magnon-Box unassigned.devices: Updating share settings...
Sep 29 19:56:39 Magnon-Box unassigned.devices: Share settings updated.
Sep 29 20:00:01 Magnon-Box docker: Success: Backup of RAM-Disk created.
It seems like this issue is related to exclusive shares. Shares with arrays as secondary storage work as expected