Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array


Recommended Posts

After this log entry 

 

Oct 20 14:14:49 Remote SMB mount '//10.0.0.120/500GB-2.5' is not set to auto mount and will not be mounted...

 

I try to mount the above problematic samba share and there is nothing logged, the web gui hangs and I have to reboot unraid. 

 

 

After rebooting I clicked the log icon and has the following info
 

Oct 20 14:14:49 Remote SMB mount '//10.0.0.120/500GB-2.5' is not set to auto mount and will not be mounted...
Oct 20 14:42:12 Mount SMB/NFS command: mount -t cifs -o rw,nounix,iocharset=utf8,_netdev,file_mode=0777,dir_mode=0777,username=guest,password=******* '//10.0.0.120/500GB-2.5' '/mnt/disks/10.0.0.120_500GB-2.5'
Oct 20 14:42:12 Mount of '//10.0.0.120/500GB-2.5' failed. Error message: mount error(112): Host is down

 

It added information in log file when I rebooted unraid. For almost half an hour web gui was not responsive. Isn't there any timeout value ?

Edited by etsi
additional info
Link to comment

Just updated my server and I am getting the following error, also getting it for Preclear Disks.

Unraid 6.3.5

Unassigned Devices 2017.10.07

Preclear Disks 2017.09.27

 

Oct 20 21:22:08 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:09 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:10 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:11 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:12 Kes-Vault root: error: plugins/preclear.disk/Preclear.php: wrong csrf_token
Oct 20 21:22:12 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:13 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:14 Kes-Vault root: error: plugins/preclear.disk/Preclear.php: wrong csrf_token
Oct 20 21:22:14 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:16 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:17 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:17 Kes-Vault root: error: plugins/preclear.disk/Preclear.php: wrong csrf_token
Oct 20 21:22:18 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:19 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:20 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:21 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:22 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
Oct 20 21:22:22 Kes-Vault root: error: plugins/preclear.disk/Preclear.php: wrong csrf_token
Oct 20 21:22:23 Kes-Vault root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token

 

Thanks in advance

 

Link to comment

Does UD no longer support NTFS format? In the past I would take my backup hard drives out of the safe and plug it into unRAID via USB and then copy all the new content to the backup hard drives. I tired to do this today and got the following errors. I can plug them into a Windows computer and it reads the drive just fine. I am running 6.4.0-rc9f and UD version 2017.10.07

 

unRAID Log

Oct 21 08:42:22 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:22 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:23 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:23 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:23 Pithos kernel: usb 1-1.6: device not accepting address 31, error -71
Oct 21 08:42:24 Pithos kernel: usb 1-1.6: device not accepting address 31, error -71
Oct 21 08:42:24 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:24 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:24 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:25 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:25 Pithos kernel: usb 1-1.6: device not accepting address 34, error -71
Oct 21 08:42:26 Pithos kernel: usb 1-1.6: device not accepting address 35, error -71

UD Log

Oct 21 08:39:11 Partition 'DATA BACKUP' could not be mounted...
Oct 21 08:39:34 Disk with serial 'HGST_HTS725050A7E630_TF655AY9KGBT4L' is not set to auto mount and will not be mounted...
Oct 21 08:40:13 benchmark: shell_exec(/usr/bin/timeout 20 /bin/df '/dev/sdj1' --output=used,source 2>/dev/null|/bin/grep -v 'Filesystem'|/bin/awk '{print $1}') took 30.533089s.
Oct 21 08:40:13 Adding disk '/dev/sdj1'...
Oct 21 08:40:13 Mount drive command: /sbin/mount -t ntfs -o auto,async,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sdj1' '/mnt/disks/DATA_BACKUP'
Oct 21 08:40:13 Mount failed with error: ntfs-3g: Failed to access volume '/dev/sdj1': No such file or directory

Oct 21 08:40:13 Mounting ntfs drive read only.
Oct 21 08:40:13 Mount drive ro command: /sbin/mount -t ntfs -ro auto,async,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sdj1' '/mnt/disks/DATA_BACKUP'
Oct 21 08:40:13 Mount of '/dev/sdj1' failed. Error message: ntfs-3g: Failed to access volume '/dev/sdj1': No such file or directory

 

Edited by archedraft
Link to comment
4 hours ago, archedraft said:

Does UD no longer support NTFS format? In the past I would take my backup hard drives out of the safe and plug it into unRAID via USB and then copy all the new content to the backup hard drives. I tired to do this today and got the following errors. I can plug them into a Windows computer and it reads the drive just fine. I am running 6.4.0-rc9f and UD version 2017.10.07

 

unRAID Log


Oct 21 08:42:22 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:22 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:23 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:23 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:23 Pithos kernel: usb 1-1.6: device not accepting address 31, error -71
Oct 21 08:42:24 Pithos kernel: usb 1-1.6: device not accepting address 31, error -71
Oct 21 08:42:24 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:24 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:24 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:25 Pithos kernel: usb 1-1.6: device descriptor read/64, error -71
Oct 21 08:42:25 Pithos kernel: usb 1-1.6: device not accepting address 34, error -71
Oct 21 08:42:26 Pithos kernel: usb 1-1.6: device not accepting address 35, error -71

UD Log


Oct 21 08:39:11 Partition 'DATA BACKUP' could not be mounted...
Oct 21 08:39:34 Disk with serial 'HGST_HTS725050A7E630_TF655AY9KGBT4L' is not set to auto mount and will not be mounted...
Oct 21 08:40:13 benchmark: shell_exec(/usr/bin/timeout 20 /bin/df '/dev/sdj1' --output=used,source 2>/dev/null|/bin/grep -v 'Filesystem'|/bin/awk '{print $1}') took 30.533089s.
Oct 21 08:40:13 Adding disk '/dev/sdj1'...
Oct 21 08:40:13 Mount drive command: /sbin/mount -t ntfs -o auto,async,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sdj1' '/mnt/disks/DATA_BACKUP'
Oct 21 08:40:13 Mount failed with error: ntfs-3g: Failed to access volume '/dev/sdj1': No such file or directory

Oct 21 08:40:13 Mounting ntfs drive read only.
Oct 21 08:40:13 Mount drive ro command: /sbin/mount -t ntfs -ro auto,async,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sdj1' '/mnt/disks/DATA_BACKUP'
Oct 21 08:40:13 Mount of '/dev/sdj1' failed. Error message: ntfs-3g: Failed to access volume '/dev/sdj1': No such file or directory

 

Ntfs working fine for me on rc9f.  Check the file system with UD.

Link to comment
1 hour ago, archedraft said:

 

How do I check the file system with UD? I wonder if the issue is the USB enclosure... I got a new error message.


usb 1-1-port6: unable to enumerate USB device

 

59ebd35a0628e_UDFileCheck.png.5b7f21d3b63c84408eb0f7e02df78194.png

 

It appears that you have a cable/USB port/Enclosure issue and not a file system problem.

Link to comment

I am attempting to set up an nfs share on a windows VM that unraid can mount via unassigned devices. Using FreeNFS on win10 as the server. The folder on windows is something like c:/mnt/user/r5000, and the VM's IP is 192.168.1.138

 

What is the exact syntax I should put into the Nfs configuration within UD? 

Link to comment

Hello

 

Firstly, thanks for UD, it's been very useful.

 

I can't seem to mount an SMB share on a separate ubuntu machine. I can access (r/w) the share on a separate windows machine so I believe it's shared properly. UD finds the server and the share in the add dialog, and appears to mount (green icon) but the mount point doesn't appear (/mnt/disks/SERVER_share) and the size, used and free figures aren't showing up.

 

Any ideas? How can I get UD logs?

 

Thanks.

Link to comment
34 minutes ago, btrcp2000 said:

I am attempting to set up an nfs share on a windows VM that unraid can mount via unassigned devices. Using FreeNFS on win10 as the server. The folder on windows is something like c:/mnt/user/r5000, and the VM's IP is 192.168.1.138

 

What is the exact syntax I should put into the Nfs configuration within UD? 

Click on 'Add Remote SMB/NFS Share'.  Let UD find the server (Click 'Search for servers in local network' and select the server) and the NFS share (Click 'Load Shares' and select the share).  It will set up the proper syntax.

Link to comment
22 minutes ago, PlayerOne said:

Hello

 

Firstly, thanks for UD, it's been very useful.

 

I can't seem to mount an SMB share on a separate ubuntu machine. I can access (r/w) the share on a separate windows machine so I believe it's shared properly. UD finds the server and the share in the add dialog, and appears to mount (green icon) but the mount point doesn't appear (/mnt/disks/SERVER_share) and the size, used and free figures aren't showing up.

 

Any ideas? How can I get UD logs?

 

Thanks.

If the 'Unmount' button does not show, then the share is not mounting.  It sounds like you have a credential issue.  The UD log is available on the webpage using the icons in the upper right of the webpage.  Hover your mouse over the icons and it will show a tool tip of the operation when the icon is clicked.

 

If you still have trouble, post a screen shot of the SMB mount on the UD webpage.

Link to comment

Aha, thank you! I don't know how I managed to miss that log icon! This is what I get:

Quote

Oct 25 21:19:29 Mount SMB/NFS command: mount -t cifs -o rw,nounix,iocharset=utf8,_netdev,file_mode=0777,dir_mode=0777,username=username,password=******* '//SERVER/share' '/mnt/disks/SERVER_share'
Oct 25 21:19:29 Mount of '//SERVER/share' failed. Error message: sh: 83oW: command not found

Any ideas? 

Link to comment
32 minutes ago, dlandon said:

Click on 'Add Remote SMB/NFS Share'.  Let UD find the server (Click 'Search for servers in local network' and select the server) and the NFS share (Click 'Load Shares' and select the share).  It will set up the proper syntax.

 

When I select NFS from the dropdown, it only asks me for IP/Host and Share.  There is no button for it to search for servers like there is for SMB. If I type in the IP, searching for the share never finds anything.

 

There is a good chance it's not actually being shared even though FreeNFS on the VM looks to be working and is cleared through the firewall. Any other way i could verify?

Link to comment
20 minutes ago, btrcp2000 said:

 

When I select NFS from the dropdown, it only asks me for IP/Host and Share.  There is no button for it to search for servers like there is for SMB. If I type in the IP, searching for the share never finds anything.

 

There is a good chance it's not actually being shared even though FreeNFS on the VM looks to be working and is cleared through the firewall. Any other way i could verify?

59f117691f20a_NFSShare.png.d8d3f5aac0d018b31498080dfaba2538.png

This is what I see when I choose NFS.  Click on the 'Search for servers in local network' button to find NFS servers and the 'Load Shares' button to show the shares.

 

If you don't see this, then update UD.

  • Like 1
Link to comment
1 hour ago, btrcp2000 said:

Plugin showed a date of 10/7, so I uninstalled/reinstalled and it is now 10/22, but still looks like the below.  This is via chrome and edge on a standalone win10 computer (not the VM)

 

image.png.7b2e0ae81cb402f45a3e145feb97a58e.png

 

 

Try clearing the browser cache.

 

If that does not let the check for servers button show, the nmap package is not installing.  Please attach your diagnostics.

 

Regardless, entering the IP address and then clicking the 'Load Shares' button should show the NFS shares on that server.  If not, then your NFS share does not appear to be available.

Edited by dlandon
Link to comment
1 minute ago, wgstarks said:

I see the same window in Safari after clearing cache.

The nmap package must be installed before the 'Check for servers on the local network' button will show.  The nmap package does not install on any version before 6.4.  I've been using 6.4 so long, I forgot that the nmap package won't load on a previous version.

 

You just need to enter the IP address and then click the 'Load Shares' for the NFS shares to show.

Link to comment
  • trurl pinned this topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.