Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

  • Author

Please update UD and try again.  You'll have to remove your SMB mounts with passwords and enter them again.

  • Replies 11.9k
  • Views 2.1m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • It's that self healing feature I built into UD.  It just fixes itself.

  • New release of UD.  Changes: When changing the mount point (which is also the share name), the mount point is checked for a duplicate of a user share or another UD device.  Samba cannot handle

  • Major new release of UD: "Where are the switches?"  The "Pass Through", "Read Only", "Automount", and "Share" switches have been moved to a new Edit Settings dialog.  This is also where the sc

Posted Images

Working well now. Thank you for the help and the quick fix.

did not word on 18a but when re added after updating to 19a fixed the problem. TNX a million supper plugin :D

  • Author

I've had to make one last change to fix an error on my part.  You should remove and re-create SMB shares with passwords one more time.

After upgrading to latest unraid version I get errors:

It worked before I upgrade . Any ideas? Thank you

 

Jan 20 14:10:48 zeus kernel: CIFS VFS: cifs_mount failed w/return code = -13
Jan 20 14:10:48 zeus unassigned.devices: Mount of '//xxxx/xxx' failed. Error message: 'mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg

  • Author
8 minutes ago, etsi said:

After upgrading to latest unraid version I get errors:

It worked before I upgrade . Any ideas? Thank you

 

Jan 20 14:10:48 zeus kernel: CIFS VFS: cifs_mount failed w/return code = -13
Jan 20 14:10:48 zeus unassigned.devices: Mount of '//xxxx/xxx' failed. Error message: 'mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg

Remove the SMB share and re-create it.

2 hours ago, dlandon said:

Remove the SMB share and re-create it.

Thanks this worked for my synology share but I can't add nvidia shield share again. It doesn't load the list of shares to choose and I can't just add it empty.

 

Thanks I had to actually type by hand the name share. I didn't know I could type share name because the field was in gray color. My bad. All ok.

Edited by etsi
Problem solved

i updated to 20200120 and my problem seems to be solved (it was not in 20200118a).

 

  • Author
8 hours ago, etsi said:

Thanks this worked for my synology share but I can't add nvidia shield share again. It doesn't load the list of shares to choose and I can't just add it empty.

 

Thanks I had to actually type by hand the name share. I didn't know I could type share name because the field was in gray color. My bad. All ok.

Yes, you can enter any of the fields manually.  Unfortunately with all the Samba changes regarding phasing out NetBIOS, the SMB server lookup is not working.  UD uses a bit of a hack to come up with the servers it can, but it depends on NetBIOS.

  • Author
6 hours ago, caplam said:

i updated to 20200120 and my problem seems to be solved (it was not in 20200118a).

 

It took me multiple tries to get it right.  The latest version is finally working properly.

Yesterday I noticed this warning at the unassigned devices plugin:

 

Warning: syntax error, unexpected '=' in Unknown on line 1 in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 1404

 

See screenshot:

UD.png

 

 

Is this normal (or even dangerous)? Does anyone had this issue before?

 

 

 

EDIT:

Probably this warning is related to this in the disk log:

Jan 19 19:39:43 Home-Server unassigned.devices: Disk '/dev/sdd' does not have a serial number and cannot be mounted.

 

But this is ablolutly untrue, this drive does in fact have a serial number (wich i have removed in the upper screenshot -> red box).

Smart-Log is attatched.

35000cca26a34e868-diagnostics-20200121 (sdd).txt

Edited by greenflash24

  • Author
4 hours ago, greenflash24 said:

Yesterday I noticed this warning at the unassigned devices plugin:

 

Warning: syntax error, unexpected '=' in Unknown on line 1 in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 1404

 

See screenshot:

UD.png

 

 

Is this normal (or even dangerous)? Does anyone had this issue before?

 

 

 

EDIT:

Probably this warning is related to this in the disk log:

Jan 19 19:39:43 Home-Server unassigned.devices: Disk '/dev/sdd' does not have a serial number and cannot be mounted.

 

But this is ablolutly untrue, this drive does in fact have a serial number (wich i have removed in the upper screenshot -> red box).

Post diagnostics.

Since upgrade Unassigned Devices, i keep getting remote mount disconnects. It worked perfectly before. Also i have already removed the mounts and readded them, that didnt fix it.

movieraidserver-diagnostics-20200122-1314.zip

Edited by scuppasteve

  • Author
3 hours ago, scuppasteve said:

Since upgrade Unassigned Devices, i keep getting remote mount disconnects. It worked perfectly before. Also i have already removed the mounts and readded them, that didnt fix it.

movieraidserver-diagnostics-20200122-1314.zip 164.09 kB · 1 download

You only need to remove the smb mounts and re-add if they fail on permission denied.

 

You have several issues that may be related to the drop outs.:

Jan 21 10:46:00 MovieRaidServer root: Fix Common Problems Version 2019.12.29
Jan 21 10:46:00 MovieRaidServer root: Fix Common Problems: Warning: Docker Application jellyfin has an update available for it
Jan 21 10:46:00 MovieRaidServer root: Fix Common Problems: Error: Docker application jellyfin has volumes being passed that are mounted by Unassigned Devices, but they are not mounted with the slave option
Jan 21 10:46:00 MovieRaidServer root: Fix Common Problems: Error: Docker application plex has volumes being passed that are mounted by Unassigned Devices, but they are not mounted with the slave option
### [PREVIOUS LINE REPEATED 2 TIMES] ###
Jan 21 10:46:07 MovieRaidServer root: Fix Common Problems: Warning: Unassigned Devices Plus not installed ** Ignored
Jan 21 10:46:34 MovieRaidServer kernel: SMB2_read: 12 callbacks suppressed
Jan 21 10:46:34 MovieRaidServer kernel: CIFS VFS: Send error in read = -4
### [PREVIOUS LINE REPEATED 9 TIMES] ###

Go to Fix Common Problems and fix the Docker issues.

Quote

fstrim: /mnt/disks/Seeding: the discard operation is not supported

I added an external USB hard drive last night. It’s plugged directly into my Unraid server. The partition is named “Seeding”. Now I’m getting the above messages via email hourly. So it seems like the hard drive is being seen as an SSD possibly. And it’s trying to take SSD related actions on it. I did find and turn off the “discard” option in Unassigned Devices. I then rebooted the server. Still getting the error though.

 

Anyone had this or know how I can fix it?

  • Author
1 hour ago, drawmonster said:

I added an external USB hard drive last night. It’s plugged directly into my Unraid server. The partition is named “Seeding”. Now I’m getting the above messages via email hourly. So it seems like the hard drive is being seen as an SSD possibly. And it’s trying to take SSD related actions on it. I did find and turn off the “discard” option in Unassigned Devices. I then rebooted the server. Still getting the error though.

 

Anyone had this or know how I can fix it?

Post diagnostics.

  • Author
1 hour ago, drawmonster said:

The disk is not being mounted with discard by UD:

Jan 22 06:37:03 Unraid unassigned.devices: Adding disk '/dev/sda1'...
Jan 22 06:37:03 Unraid unassigned.devices: Mount drive command: /sbin/mount -t xfs -o rw,noatime,nodiratime '/dev/sda1' '/mnt/disks/Seeding'

You have the Dynamix SSD Trim plugin installed and set to trim every hour.  That plugin is initiating the fstrim.  The fstrim is run on all SSD devices.  Apparently fstrim thinks the drive is an SSD.  You can ignore the message.  It is harmless.

 

Once an hour is too often tho run fstrim.  Once a day is sufficient.

23 hours ago, dlandon said:

You only need to remove the smb mounts and re-add if they fail on permission denied.

 

You have several issues that may be related to the drop outs.:


Jan 21 10:46:00 MovieRaidServer root: Fix Common Problems Version 2019.12.29
Jan 21 10:46:00 MovieRaidServer root: Fix Common Problems: Warning: Docker Application jellyfin has an update available for it
Jan 21 10:46:00 MovieRaidServer root: Fix Common Problems: Error: Docker application jellyfin has volumes being passed that are mounted by Unassigned Devices, but they are not mounted with the slave option
Jan 21 10:46:00 MovieRaidServer root: Fix Common Problems: Error: Docker application plex has volumes being passed that are mounted by Unassigned Devices, but they are not mounted with the slave option
### [PREVIOUS LINE REPEATED 2 TIMES] ###
Jan 21 10:46:07 MovieRaidServer root: Fix Common Problems: Warning: Unassigned Devices Plus not installed ** Ignored
Jan 21 10:46:34 MovieRaidServer kernel: SMB2_read: 12 callbacks suppressed
Jan 21 10:46:34 MovieRaidServer kernel: CIFS VFS: Send error in read = -4
### [PREVIOUS LINE REPEATED 9 TIMES] ###

Go to Fix Common Problems and fix the Docker issues.

 

So i dont actually have Jellyfin running or even on this machine anymore. But, i fixed the issues and they keep disconnecting.

movieraidserver-diagnostics-20200123-1610.zip

  • Author
7 hours ago, scuppasteve said:

 

So i dont actually have Jellyfin running or even on this machine anymore. But, i fixed the issues and they keep disconnecting.

movieraidserver-diagnostics-20200123-1610.zip 155.45 kB · 1 download

Log messages:

Jan 23 00:43:05 MovieRaidServer unassigned.devices: Error: shell_exec(/bin/df '/mnt/disks/192.168.2.5_downloads' --output=size,used,avail | /bin/grep -v '1K-blocks' > /tmp/unassigned.devices/df 2>/dev/null) took longer than 2s!
Jan 23 00:43:07 MovieRaidServer kernel: CIFS VFS: Cancelling wait for mid 28622620 cmd: 5
Jan 23 00:43:07 MovieRaidServer kernel: CIFS VFS: Cancelling wait for mid 28622621 cmd: 16

Doing a little research seems to indicate an opportunistic locking issue on the remote share.

Hi, I'm trying to mount an NTFS partition using the "unassigned device" plugin. It seems to be mounting okay, but I just can't find it using krusader or as a share. But I can definitely browse it from the "main" tab.

 

 Jan 22 20:16:04 Tower ntfs-3g[9996]: Mounted /dev/sdc2 (Read-Only, label "Data", NTFS 3.1)
Jan 22 20:16:04 Tower ntfs-3g[9996]: Cmdline options: ro,noatime,nodiratime,nodev,nosuid,umask=000
Jan 22 20:16:04 Tower ntfs-3g[9996]: Mount options: ro,nodiratime,nodev,nosuid,allow_other,nonempty,noatime,default_permissions,fsname=/dev/sdc2,blkdev,blksize=4096
Jan 22 20:16:04 Tower ntfs-3g[9996]: Global ownership and permissions enforced, configuration type 1
Jan 22 20:16:04 Tower unassigned.devices: Successfully mounted '/dev/sdc2' on '/mnt/disks/ST4000DM004-2CV104_ZFN1RA3G'. 

 

If you need some specific logs, I'm not sure which one or where to get it..

Krusader.png

main.png

Main_Mount.png

tower-diagnostics-20200123-2027.zip

Edited by matmat07
Added diagnostics

23 minutes ago, matmat07 said:

I'm trying to mount an NTFS partition using the "unassigned device" plugin. It seems to be mounting okay, but I just can't find it using krusader or as a share.

Do you have a mapping to Unassigned Device paths for your Krusader docker?

22 minutes ago, trurl said:

Do you have a mapping to Unassigned Device paths for your Krusader docker?

That's logic enough, and it did seem to get me a bit further, thanks.

path in krusader.png

volume_mapping.png

 

Okay, I had to map the drive to make it work, not just the "disks" folder. Thanks a lot for making me look at the right place.

Edited by matmat07
Solved my issue

49 minutes ago, matmat07 said:

Okay, I had to map the drive to make it work, not just the "disks" folder.

It should actually work.  You probably didn't have the access mode for that mapping as RW:SLAVE (which you should set on the mapping you've done now)

 

4 hours ago, matmat07 said:

Hi, I'm trying to mount an NTFS partition using the "unassigned device" plugin. It seems to be mounting okay, but I just can't find it using krusader or as a share. But I can definitely browse it from the "main" tab.

 


 Jan 22 20:16:04 Tower ntfs-3g[9996]: Mounted /dev/sdc2 (Read-Only, label "Data", NTFS 3.1)
Jan 22 20:16:04 Tower ntfs-3g[9996]: Cmdline options: ro,noatime,nodiratime,nodev,nosuid,umask=000
Jan 22 20:16:04 Tower ntfs-3g[9996]: Mount options: ro,nodiratime,nodev,nosuid,allow_other,nonempty,noatime,default_permissions,fsname=/dev/sdc2,blkdev,blksize=4096
Jan 22 20:16:04 Tower ntfs-3g[9996]: Global ownership and permissions enforced, configuration type 1
Jan 22 20:16:04 Tower unassigned.devices: Successfully mounted '/dev/sdc2' on '/mnt/disks/ST4000DM004-2CV104_ZFN1RA3G'. 

 

If you need some specific logs, I'm not sure which one or where to get it..

Krusader.png

main.png

Main_Mount.png

tower-diagnostics-20200123-2027.zip 64.15 kB · 0 downloads

Giving the path mappings for the Krusader docker might help.   If you want to see paths that are mounted as Unassigned Devices then the relevant path mapping should be using one of the ‘slave’ options for the Access allowed.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.