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
47 minutes ago, tink said:

Hi i hope someone here can help me out. i'm trying to use Unassigned devices to move data from an old unraid server that suffered a motherboard failure to a brand new server. i've gotten the drive to mount and share and I can see the top level of directory. but when I try to go into what would have been a share on the old unraid disk i get a permissions error. i've included a screen shot of the error i'm getting i'm getting

 

 

unraid error.png

 

How are the "SMB Security" settings set in the Settings->Unassigned Devices?

  • 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

Enable SMB Security? is set to no

  • Author
1 hour ago, tink said:

Enable SMB Security? is set to no

 

The 'movies' folder has a permissions issue.  What files system is on that disk?

reiserfs it's a disk out of my old unraid server that died. all the folders have the same issue. I can browse the folders and download file just fine through the web console it's just when I try to access them through the SMB share that I have issues

 

  • Author
4 minutes ago, tink said:

reiserfs it's a disk out of my old unraid server that died. all the folders have the same issue. I can browse the folders and download file just fine through the web console it's just when I try to access them through the SMB share that I have issues

 

 

The problem is that the folders don't have the proper permissions for Public access.  You need to get to a command line and execute:

chmod -R 777 /mnt/disks/samsung_...

This should fix the permissions issue.

that fixed it thanks for the quick response on this 

I've used this plugin for a few years now with great success but I would like a little help on this issue.

 

I have a ReadyNas sharing about 17TBs of Data and I'll like to share the media with my Dockers. 

 

I am able to load and mount the share via CIFS and NFS but I have run into anomalies.

1. The Size is show as 0 or incorrect Size (Not that important to me)

2.  I can't see any contents of the share when browsing via docker or unraid share browser.  Its just show nothing.

 

Where am I going wrong?

 

 

Thanks again for the great plugin.

2017-09-17 07_35_19-Tower_Main.png

4 minutes ago, daddygrant said:

I've used this plugin for a few years now with great success but I would like a little help on this issue.

 

I have a ReadyNas sharing about 17TBs of Data and I'll like to share the media with my Dockers. 

 

I am able to load and mount the share via CIFS and NFS but I have run into anomalies.

1. The Size is show as 0 or incorrect Size (Not that important to me)

2.  I can't see any contents of the share when browsing via docker or unraid share browser.  Its just show nothing.

 

Where am I going wrong?

 

 

Thanks again for the great plugin.

2017-09-17 07_35_19-Tower_Main.png

I can see that it will not show up under the unRAID Share browser as that is specific to shares on the main array and is not aware of shares mounted from outside the unRAID server.

 

When trying via docker - where are you looking for the share to appear?   With a docker you are likely to be looking at the raw Linux level, not the network share level.   At the Linux level they will appear under /mnt/disks

  • Author
14 minutes ago, daddygrant said:

I've used this plugin for a few years now with great success but I would like a little help on this issue.

 

I have a ReadyNas sharing about 17TBs of Data and I'll like to share the media with my Dockers. 

 

I am able to load and mount the share via CIFS and NFS but I have run into anomalies.

1. The Size is show as 0 or incorrect Size (Not that important to me)

2.  I can't see any contents of the share when browsing via docker or unraid share browser.  Its just show nothing.

 

Where am I going wrong?

 

 

Thanks again for the great plugin.

2017-09-17 07_35_19-Tower_Main.png

It's not mounted.

5 minutes ago, dlandon said:

It's not mounted.

 

 

@dlandon and @itimpi Thanks for the quick reply guys. I appreciate your time.

 

@dlandon I did notice it was not mounted but sometimes it showed me 8ish under the size.  Which striked me as odd.

@itimpi I hear what you're saying.  I did attempt to browse, unsuccessfully, from the Linux kernel side before associating the mount point with the Krusdar docker. I just didn't want to accept the truth... :( 

 

Good News.. I just got it to mount!!!  

I bounced between the CIFS and NFS share for a while like a crazy person. "The definition of insanity"

Then I had the great idea to leave the unmounted config and reboot. After reboot I saw the same thing but when I started the array the share mounted. YAY!

 

Now I wonder what protocol would be best, NFS or CIFS ?

 

2017-09-17 08_04_03-Tower_Main.png

  • Author
15 minutes ago, daddygrant said:

 I did notice it was not mounted but sometimes it showed me 8ish under the size.  Which striked me as odd.

 

You are saying that the size doesn't show properly at times?  I added a timeout to the command to get the nfs size.  If it is not showing correctly, I may have to increase the timeout.  This was added to prevent hangs when the remote share drops off-line.

2 minutes ago, dlandon said:

 

You are saying that the size doesn't show properly at times?  I added a timeout to the command to get the nfs size.  If it is not showing correctly, I may have to increase the timeout.  This was added to prevent hangs when the remote share drops off-line.

 

As I was cycling through adding and removing the remote share at times it would show me a value under size.  It was always 8.? GBs.  

During this period the share didn't actually mount. The used and free columns had no value. 

I am seeing the following log messages.

 

Sep 17 11:47:43 DeadPool root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
These occur about one per second.  I have uninstalled and reinstalled Unassigned Devices.  Obviously the error goes away when the plugin is removed, but it returns when reinstalled.  UnRaid version is 6.3.5

 

Also note I see the same error for PreClear plugin as well.

Just now, FreakStyleee said:

I am seeing the following log messages.

 

Sep 17 11:47:43 DeadPool root: error: plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
These occur about one per second.  I have uninstalled and reinstalled Unassigned Devices.  Obviously the error goes away when the plugin is removed, but it returns when reinstalled.  UnRaid version is 6.3.5

 

Also note I see the same error for PreClear plugin as well.

https://forums.lime-technology.com/topic/46802-faq-for-unraid-v6/?page=2&tab=comments#comment-545988

 

See the screenshot, showing RED. it's showing red yet not sure why. In unRAID disk settings my warning is set to 99%, critical set to 100%, not sure if there is a different property or variable that UD is looking at for reference.

UD.JPG

  • Author

Looks normal to me for the theme you are using.  I don't think that shows an alarm situation.

 

Hi!

I cant see that my 2 SSD disc are mounted with  discard operation.

 

FYI: I did manually format the 2 disc as XFS from the command prompt.

 

Is there anything I have missed ?

 

//Peter

 

 

Sep 18 11:39:40 Adding disk '/dev/sdn1'...
Sep 18 11:39:40 Mount drive command: /sbin/mount -t xfs -o rw,noatime,nodiratime '/dev/sdn1' '/mnt/disks/SSD1'
Sep 18 11:39:40 Successfully mounted '/dev/sdn1' on '/mnt/disks/SSD1'.
Sep 18 11:39:40 Defining share 'SSD1' on file '/etc/samba/unassigned-shares/SSD1.conf'
Sep 18 11:39:40 Adding share 'SSD1' to '/boot/config/smb-extra.conf'
Sep 18 11:39:40 Enabling the Recycle Bin on share 'SSD1'
Sep 18 11:39:40 Reloading Samba configuration...
Sep 18 11:39:40 Directory '/mnt/disks/SSD1' shared successfully.
Sep 18 11:39:40 Device '/dev/sdn1' script file not found.  'ADD' script not executed.
Sep 18 11:39:40 Adding disk '/dev/sdo1'...
Sep 18 11:39:40 Mount drive command: /sbin/mount -t xfs -o rw,noatime,nodiratime '/dev/sdo1' '/mnt/disks/SSD2'
Sep 18 11:39:40 Successfully mounted '/dev/sdo1' on '/mnt/disks/SSD2'.
Sep 18 11:39:40 Defining share 'SSD2' on file '/etc/samba/unassigned-shares/SSD2.conf'
Sep 18 11:39:40 Adding share 'SSD2' to '/boot/config/smb-extra.conf'
Sep 18 11:39:40 Enabling the Recycle Bin on share 'SSD2'
Sep 18 11:39:40 Reloading Samba configuration...
Sep 18 11:39:40 Directory '/mnt/disks/SSD2' shared successfully.
Sep 18 11:39:40 Running command '/boot/config/plugins/unassigned.devices/Samsung_SSD_840_EVO_250GB_S1DBNSAFA05830A.sh' with action 'ADD'.
Sep 18 11:39:40 Adding disk '/dev/sda1'...
Sep 18 11:39:40 Mount drive command: /sbin/mount -t vfat -o auto,async,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sda1' '/mnt/disks/UNRAID_VM'
Sep 18 11:39:40 Successfully mounted '/dev/sda1' on '/mnt/disks/UNRAID_VM'.
Sep 18 11:39:40 Defining share 'UNRAID_VM' on file '/etc/samba/unassigned-shares/UNRAID_VM.conf'
Sep 18 11:39:40 Adding share 'UNRAID_VM' to '/boot/config/smb-extra.conf'
Sep 18 11:39:40 Enabling the Recycle Bin on share 'UNRAID_VM'
Sep 18 11:39:40 Reloading Samba configuration...
Sep 18 11:39:41 Directory '/mnt/disks/UNRAID_VM' shared successfully.
Sep 18 11:39:41 Device '/dev/sda1' script file not found.  'ADD' script not executed.
Sep 18 11:39:41 Disk with serial 'Storage_Media_9B4001209200016773' is not set to auto mount and will not be mounted...
Sep 18 12:10:33 Reloading shared dir '/mnt/disks/SSD1'.
Sep 18 12:10:33 Removing old config...
Sep 18 12:10:33 Removing SMB share file '/etc/samba/unassigned-shares/SSD1.conf'
Sep 18 12:10:33 Removing SMB share definitions from '/boot/config/smb-extra.conf'
Sep 18 12:10:33 Reloading Samba configuration..
Sep 18 12:10:33 Successfully removed SMB share 'SSD1'.
Sep 18 12:10:33 Reloading shared dir '/mnt/disks/SSD2'.
Sep 18 12:10:33 Removing old config...
Sep 18 12:10:33 Removing SMB share file '/etc/samba/unassigned-shares/SSD2.conf'
Sep 18 12:10:33 Removing SMB share definitions from '/boot/config/smb-extra.conf'
Sep 18 12:10:33 Reloading Samba configuration..
Sep 18 12:10:33 Successfully removed SMB share 'SSD2'.
Sep 18 12:10:33 Adding new config...
Sep 18 12:10:33 Defining share 'SSD1' on file '/etc/samba/unassigned-shares/SSD1.conf'
Sep 18 12:10:33 Adding share 'SSD1' to '/boot/config/smb-extra.conf'
Sep 18 12:10:33 Enabling the Recycle Bin on share 'SSD1'
Sep 18 12:10:33 Reloading Samba configuration...
Sep 18 12:10:33 Directory '/mnt/disks/SSD1' shared successfully.
Sep 18 12:10:33 Adding new config...
Sep 18 12:10:33 Defining share 'SSD2' on file '/etc/samba/unassigned-shares/SSD2.conf'
Sep 18 12:10:33 Adding share 'SSD2' to '/boot/config/smb-extra.conf'
Sep 18 12:10:33 Enabling the Recycle Bin on share 'SSD2'
Sep 18 12:10:33 Reloading Samba configuration...
Sep 18 12:10:33 Directory '/mnt/disks/SSD2' shared successfully.
Sep 18 12:20:13 Adding disk '/dev/sdq1'...
Sep 18 12:20:13 Mount drive command: /sbin/mount -t vfat -o auto,async,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sdq1' '/mnt/disks/UNRAID_VM'
Sep 18 12:20:13 Successfully mounted '/dev/sdq1' on '/mnt/disks/UNRAID_VM'.
Sep 18 12:20:13 Defining share 'UNRAID_VM' on file '/etc/samba/unassigned-shares/UNRAID_VM.conf'
Sep 18 12:20:13 Reloading Samba configuration...
Sep 18 12:20:13 Directory '/mnt/disks/UNRAID_VM' shared successfully.
Sep 18 12:20:13 Device '/dev/sdq1' script file not found.  'ADD' script not executed.

 

2017-09-18 12_57_08-Tower_Main.png

2017-09-18 13_00_48-Tower_UnassignedDevicesSettings.png

Edited by peter_sm

  • Author
41 minutes ago, peter_sm said:

 

Hi!

I cant see that my 2 SSD disc are mounted with  discard operation.

 

FYI: I did manually format the 2 disc as XFS from the command prompt.

 

Is there anything I have missed ?

 

//Peter

 

 


Sep 18 11:39:40 Adding disk '/dev/sdn1'...
Sep 18 11:39:40 Mount drive command: /sbin/mount -t xfs -o rw,noatime,nodiratime '/dev/sdn1' '/mnt/disks/SSD1'
Sep 18 11:39:40 Successfully mounted '/dev/sdn1' on '/mnt/disks/SSD1'.
Sep 18 11:39:40 Defining share 'SSD1' on file '/etc/samba/unassigned-shares/SSD1.conf'
Sep 18 11:39:40 Adding share 'SSD1' to '/boot/config/smb-extra.conf'
Sep 18 11:39:40 Enabling the Recycle Bin on share 'SSD1'
Sep 18 11:39:40 Reloading Samba configuration...
Sep 18 11:39:40 Directory '/mnt/disks/SSD1' shared successfully.
Sep 18 11:39:40 Device '/dev/sdn1' script file not found.  'ADD' script not executed.
Sep 18 11:39:40 Adding disk '/dev/sdo1'...
Sep 18 11:39:40 Mount drive command: /sbin/mount -t xfs -o rw,noatime,nodiratime '/dev/sdo1' '/mnt/disks/SSD2'
Sep 18 11:39:40 Successfully mounted '/dev/sdo1' on '/mnt/disks/SSD2'.
Sep 18 11:39:40 Defining share 'SSD2' on file '/etc/samba/unassigned-shares/SSD2.conf'
Sep 18 11:39:40 Adding share 'SSD2' to '/boot/config/smb-extra.conf'
Sep 18 11:39:40 Enabling the Recycle Bin on share 'SSD2'
Sep 18 11:39:40 Reloading Samba configuration...
Sep 18 11:39:40 Directory '/mnt/disks/SSD2' shared successfully.
Sep 18 11:39:40 Running command '/boot/config/plugins/unassigned.devices/Samsung_SSD_840_EVO_250GB_S1DBNSAFA05830A.sh' with action 'ADD'.
Sep 18 11:39:40 Adding disk '/dev/sda1'...
Sep 18 11:39:40 Mount drive command: /sbin/mount -t vfat -o auto,async,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sda1' '/mnt/disks/UNRAID_VM'
Sep 18 11:39:40 Successfully mounted '/dev/sda1' on '/mnt/disks/UNRAID_VM'.
Sep 18 11:39:40 Defining share 'UNRAID_VM' on file '/etc/samba/unassigned-shares/UNRAID_VM.conf'
Sep 18 11:39:40 Adding share 'UNRAID_VM' to '/boot/config/smb-extra.conf'
Sep 18 11:39:40 Enabling the Recycle Bin on share 'UNRAID_VM'
Sep 18 11:39:40 Reloading Samba configuration...
Sep 18 11:39:41 Directory '/mnt/disks/UNRAID_VM' shared successfully.
Sep 18 11:39:41 Device '/dev/sda1' script file not found.  'ADD' script not executed.
Sep 18 11:39:41 Disk with serial 'Storage_Media_9B4001209200016773' is not set to auto mount and will not be mounted...
Sep 18 12:10:33 Reloading shared dir '/mnt/disks/SSD1'.
Sep 18 12:10:33 Removing old config...
Sep 18 12:10:33 Removing SMB share file '/etc/samba/unassigned-shares/SSD1.conf'
Sep 18 12:10:33 Removing SMB share definitions from '/boot/config/smb-extra.conf'
Sep 18 12:10:33 Reloading Samba configuration..
Sep 18 12:10:33 Successfully removed SMB share 'SSD1'.
Sep 18 12:10:33 Reloading shared dir '/mnt/disks/SSD2'.
Sep 18 12:10:33 Removing old config...
Sep 18 12:10:33 Removing SMB share file '/etc/samba/unassigned-shares/SSD2.conf'
Sep 18 12:10:33 Removing SMB share definitions from '/boot/config/smb-extra.conf'
Sep 18 12:10:33 Reloading Samba configuration..
Sep 18 12:10:33 Successfully removed SMB share 'SSD2'.
Sep 18 12:10:33 Adding new config...
Sep 18 12:10:33 Defining share 'SSD1' on file '/etc/samba/unassigned-shares/SSD1.conf'
Sep 18 12:10:33 Adding share 'SSD1' to '/boot/config/smb-extra.conf'
Sep 18 12:10:33 Enabling the Recycle Bin on share 'SSD1'
Sep 18 12:10:33 Reloading Samba configuration...
Sep 18 12:10:33 Directory '/mnt/disks/SSD1' shared successfully.
Sep 18 12:10:33 Adding new config...
Sep 18 12:10:33 Defining share 'SSD2' on file '/etc/samba/unassigned-shares/SSD2.conf'
Sep 18 12:10:33 Adding share 'SSD2' to '/boot/config/smb-extra.conf'
Sep 18 12:10:33 Enabling the Recycle Bin on share 'SSD2'
Sep 18 12:10:33 Reloading Samba configuration...
Sep 18 12:10:33 Directory '/mnt/disks/SSD2' shared successfully.
Sep 18 12:20:13 Adding disk '/dev/sdq1'...
Sep 18 12:20:13 Mount drive command: /sbin/mount -t vfat -o auto,async,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sdq1' '/mnt/disks/UNRAID_VM'
Sep 18 12:20:13 Successfully mounted '/dev/sdq1' on '/mnt/disks/UNRAID_VM'.
Sep 18 12:20:13 Defining share 'UNRAID_VM' on file '/etc/samba/unassigned-shares/UNRAID_VM.conf'
Sep 18 12:20:13 Reloading Samba configuration...
Sep 18 12:20:13 Directory '/mnt/disks/UNRAID_VM' shared successfully.
Sep 18 12:20:13 Device '/dev/sdq1' script file not found.  'ADD' script not executed.

 

2017-09-18 12_57_08-Tower_Main.png

2017-09-18 13_00_48-Tower_UnassignedDevicesSettings.png

 

It doesn't look like your disks support discard.

 

What does this command show?

cat /sys/block/sdn/queue/discard_max_bytes
cat /sys/block/sdo/queue/discard_max_bytes

 

23 minutes ago, dlandon said:

 

It doesn't look like your disks support discard.

 

What does this command show?


cat /sys/block/sdn/queue/discard_max_bytes
cat /sys/block/sdo/queue/discard_max_bytes

 

root@Tower:~# cat /sys/block/sdn/queue/discard_max_bytes
0
root@Tower:~# cat /sys/block/sdo/queue/discard_max_bytes
0

So it looks like these SSD:s are not able to use TRIM on.

//Peter

 

Edited by peter_sm

29 minutes ago, peter_sm said:

So it looks like these SSD:s are not able to use TRIM on.

//Peter

 

They both support trim, are they on the Perc H310? If so move them to the onboard controller, LSI SAS2008 based controllers don't support trim.

Just now, johnnie.black said:

 

They both support trim, are they on the Perc H310? If so move them to the onboard controller, LSI SAS2008 based controllers don't support trim.

Thanks.  will check where these are connected to.  

25 minutes ago, johnnie.black said:

 

They both support trim, are they on the Perc H310? If so move them to the onboard controller, LSI SAS2008 based controllers don't support trim.

 

To clarify, H310 does support trim (P18+), if the SSD supports deterministic read after trim (read zero).

46 minutes ago, unevent said:

 

To clarify, H310 does support trim (P18+), if the SSD supports deterministic read after trim (read zero).

 

Correct, but since most SSDs don't support that it won't work for most users.

1 hour ago, johnnie.black said:

 

They both support trim, are they on the Perc H310? If so move them to the onboard controller, LSI SAS2008 based controllers don't support trim.

After moving these 2 SSD  the trim works now! Thanks.

 

//Peter 

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.