cnrd
-
Posts
10 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by cnrd
-
-
I have a problem with the plugin:
(I'm trying to explain the steps I took below)
I had a CIFS share mounted using Unassigned Devices, the share is on another machine in the house.
The machine was offline, when I tried to unmount the share, which in some wierd way has caused the following problems:
I can still connect to unraid using SSH
- $ ls /mnt/disks: causes a hang and I'm unable to exit out of the command.
- Connecting to any of my shares using samba causes a hang on the machine accessing the share, and an error message saying the share is unavailable.
- I'm unable access the webui.
I got the first two problems fixed by running the following command:
$ umount -f -t cifs -l /mnt/disks/name_of_share
If I ran it without -l (lazy) I got this error:
umount -t cifs -f /mnt/disks/name_of_share umount: /mnt/disks/name_of_share: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).)
The output from fuser:
fuser -l /mnt/disks/name_of_share HUP INT QUIT ILL TRAP ABRT IOT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS UNUSED
But I'm still unable to access the webui.
I suspect that this is caused by a hang in Unassigned Devices, after trying to unmount an "offline" share.
Any chance someone knows how to restart the plugin or something, that will bring back the webui without having to reboot?
Pretty sure this is the relevant part of the logfile (names are changed):
May 29 12:32:18 Mount SMB/NFS command: mount -t cifs -o rw,nounix,iocharset=utf8,_netdev,file_mode=0777,dir_mode=0777,username=this_is_a_username,password=and_a_password'//SOME/SAMBA_SHARE' '/mnt/disks/name_of_share' May 29 12:32:18 Successfully mounted '//SOME/SAMBA_SHARE' on '/mnt/disks/name_of_share'. May 29 12:32:18 Defining share 'name_of_share' on file '/etc/samba/unassigned-shares/name_of_share.conf' May 29 12:32:18 Adding share 'name_of_share' to '/boot/config/smb-extra.conf' May 29 12:32:18 Reloading Samba configuration... May 29 12:32:18 Directory '/mnt/disks/name_of_share' shared successfully. May 29 12:32:18 Device '//SOME/SAMBA_SHARE' script file not found. 'ADD' script not executed. Jun 01 14:31:31 Removing Remote SMB share '//SOME/SAMBA_SHARE'... Jun 01 14:31:31 Device '//SOME/SAMBA_SHARE' script file not found. 'REMOVE' script not executed. Jun 01 14:31:31 Unmounting Remote SMB Share '//SOME/SAMBA_SHARE'... Jun 01 14:31:31 Unmounting '//SOME/SAMBA_SHARE'...
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
in Plugin Support
Posted · Edited by cnrd
Any way to check this without the webui? Can't remember when I last updated it.
My primary goal right now, is gaining access to the webui. (Hopefully without having to reboot).
EDIT: Not sure if relevant, found this in /tmp/plugins/unassigned.devices.plg: <!ENTITY version "2017.03.23">