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

On 5/24/2025 at 10:56 AM, xman111 said:

hey guys, quick question about automount.

i have a backup Truenas server with a mounted smb share that just turns on on Saturday. the share doesn't automount, is there a script or something that i can use to automount the SMB when my backup server turns on?

You can do this in terminal by looking at the commands that the logger outputs when mounting and unmounting your smb share. There are additional things beforehand like making the directory you want to mount to and then removing it to clean up. You also have to create an smb credential file with your user credentials to access and mount the share, and then optionally setting file permissions for security.

Here's one that I just created and will use in a backup script.

To Mount

mkdir /mnt/remotes/<path to remote share directory>

/sbin/mount -t 'cifs' -o rw,hard,relatime,noserverino,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,retrans=3,actimeo=10,rsize=1048576,wsize=1048576,closetimeo=30,credentials='<path to credential file>' '//<remote server IP>/<remote server share>' '<path to remote share directory>'

Note: for the /sbin/mount command you should use one that the syslog outputs....I'm just providing mine to show the fields that you mightneed to modify.

To Unmount

/sbin/umount -t cifs -l '<path to remote share directory>' 2>&1

rmdir /mnt/remotes/<path to remote share directory>

Note: for the /sbin/umount command you should use one that the syslog outputs....I'm just providing mine to show the fields that you might need to modify.

To Create a Credentials file and restrict access

nano <path to credential file>

username=<username>

password=<password>

chmod 600 <path to credential file>

The neat thing is that this shows the remote share as mounted and unmounted in unassigned devices if you copied the commands verbatim from syslog. I'm by no means an expert in linux so please correct me if I'm wrong in this approach

  • 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

Does a config option exist for collapsing the list of Historical Unassigned Devices? I don't need it visible 99% of the time, and don't even need it populating until it's expanded, but I do value the information in it when required.

2 hours ago, Hammy Havoc said:

Does a config option exist for collapsing the list of Historical Unassigned Devices? I don't need it visible 99% of the time, and don't even need it populating until it's expanded, but I do value the information in it when required.

The toggle right in the header?

image.png

42 minutes ago, Kilrah said:

The toggle right in the header?

image.png

Thank you very much! My ad blocking plugin didn't seem to like it, so I was oblivious to it. Disabled it for local IP addresses and can see it just fine. Excellent! :- ) Quality-of-life just increased hugely!

Edited by Hammy Havoc

Hey, I have a weird issue, I have an external hard drive that I run a backup script on when it is mounted.
The script works fine when I connect the drive and mount it by hand. But when I use "automount" the script seems to run for a few seconds and then just stops without doing anything.
(Sometimes unassigned devices also just shows "reboot" on the button where you usually mount the drive).

Any idea what this could be?

Here are three videos.

  1. Disk is powered on, automounted, runs the script for a few seconds (I have a 10s sleep in the beginning) and then ends without copying anything. https://imgur.com/wacgyqg

  2. Disk is powered on, shows "array" and then "reboot" and I have to umount it via console https://imgur.com/KRvAz4G

  3. Disk is mounted by hand while already being connected and starts copying the files: https://imgur.com/g81b6Xr

What's the script? Does it unmount at the end? If the drive is disconnected without unmounting you'll get the "reboot" next time you connect it.

Edited by Kilrah

Hi

Is there a way to change encrypted disk password?

I searched but didn't find any specific post or if anyone can please direct me

Thanks!

RootShare Windows 11 issues:

I am having an issue where when a file is added through root share it is written directly to the array, the larger issue is that when files are written to cache by another docker or by uploading directly to a share, it is not visible in the rootshare folders.

unraid-diagnostics-20250610-0855.zip

I've been having an issue with NFS mounts not automounting anymore. I'm on 7.1.3 and for the life of me I cannot figure it out. I have tried multiple different delay settings to see if stuff was just taking time to start up but nothing helps. I can mount the shares manually once they are not grayed out.

Diagnostics attached.

ud_diagnostics-20250614-213426.zip

EDIT: I found the issue. The automount script is dependent on being able to ping the default gateway. My firewall by default blocks ICMP. Once I found that in the code I allowed ping from my unraid box and the automount script is able to proceed.

Edited by totalhavoc

EDIT: I found the solution myself...my Router (a FritzBox) is blocking all NetBIOS traffic...after disabling this the remote share works.

Hey :) I am quite new to Unraid and to the UD plugin. I am having issues with mounting my Hetzner StorageBox (https://www.hetzner.com/storage/storage-box/) remote SMB share. I added the server, username, credentials and so on successfully. But unfortunately the server is shown as offline in the Unraid GUI:

Screenshot 2025-06-15 at 15.33.56.png

I can ping the server from the Unraid command line as shown here:

image.png

and I am also able to mount the SMB share from Hetzner on my Mac:

image.png

Any ideas what the issue could be?

Any help is greatly appreciated

Bastian

ADDITIONAL INFO:

what is NOT working on my Unraid server is a outgoing connection on Port 445, so maybe this is the problem?

image.png

Edited by bhundt

Hi all, I am having problems with a USB hard drive that was previously mounted via unassigned devices. For some reason it disappeared from my list of unassigned devices and now I can't get Unraid to recognise the drive when I plug it in.

I plugged the drive into another computer and formatted it freshly as EXT4, still when I plug it into my Unraid server, it is not recognised, even if I do a refresh of the unassigned devices.

If I go into settings -> Unassigned devices and then list the attached drives, say by the drop down box for 'select disc' for 'change UUID', then my USB drive isn't listed there either.

image.png

I've attached the Unraid diagnostics file - any help would be much appreciated.

invader-diagnostics-20250619-0918.zip

On 1/21/2016 at 7:55 AM, dlandon said:

A precelared disk will have a partition without a file system and will show a grayed 'Mount' button.  You can assign this disk directly to the array and Unraid will see the disk as 'pre-cleared' and will not clear it again.  If you want to format the disk for use in UD, you need to first click on the red-X on the preclear status line to remove the preclear stats and then remove all partitions by clicking on the red-X icon next to the serial number and then you'll be able to format the disk.

Just a suggestion to make these instructions more "clear," pun intended. Finding that red X is a challenge if one is focused on UD settings instead of UD Preclear.

A precleared disk will appear with a grey "PRECLEAR" button in Unassigned Devices, indicating that the disk contains a preclear signature.

If you plan to assign this disk to the Unraid array, you can do so directly. Unraid will recognize it as precleared and will not run the clearing process again. However, if you want to format the disk for use with Unassigned Devices, follow these steps to remove the preclear signature and prepare the disk for use with UD:

  1. Navigate to Plugins → Unassigned Devices Preclear, and click the red "X" to remove the preclear report — this enables Unassigned Devices to manage the disk normally.

  2. Then in UD, click the red "X" next to the disk’s serial number to remove all existing partitions.

  3. After this, the "Format" button will become available, allowing you to choose a filesystem and format the disk for general use via Unassigned Devices.

  4. Once the disk is formatted, the "Mount" option will become available.

Unassigned.png

I started a preclear on a new disk yesterday, but for some reason it doesn't show the status of said preclear anywhere. There used to be a line of green text if I'm not mistaken. The only evidence that something is happening is the writes continuously going up.

This is Unraid 7.1.4 and Plugin-Version 2025.06.15 (and Plus 2025.02.14) respectively.

7 hours ago, csb said:

I started a preclear on a new disk yesterday, but for some reason it doesn't show the status of said preclear anywhere.

Tools-> Preclear.

Not a fan of the main page status being removed either, but it's how it is.

Wow, there it is, thanks! That’s incredibly unintuitive. Not a hint or link on either the main site or inside the plugin settings.

After updating to Unraid 7.1.4 (UD 7.1.4), my 8TB XFS-formatted drive is recognized but not mounted by Unassigned Devices.

Logs:

unassigned.devices: Partition '/dev/sdc1' does not have a file system and cannot be mounted.

However, the same disk mounts without issue on Unraid 7.0.4:

Mount cmd: /sbin/mount -t 'xfs' -o rw,relatime '/dev/sdc1' ... 

Running fsck shows the filesystem is intact, and mount -t xfs /dev/sdc1 /mnt/test works fine.

I suspect UD 7.1.4 now fails to detect XFS filesystems that don’t have a label or UUID set — blkid returns nothing unless I run xfs_admin -L ... to add a label.

Please advise — is this a known change or regression?

Edited by shremi

12 hours ago, shremi said:

blkid returns nothing

Post the output from wipefs /dev/sdc1 when on 7.1.4 (this won't wipe anything as written)

On Unraid 7.1.4, but had the issue on 7.0 too.
When I restart my server, the user settings for SMB in the Unassigned Devices plugin's settings get reset from Read/Write to No Access. I have seen no other issues with settings not carrying across between reboots. Is this expected behavior?

Hi folks,

just wondering I used to have another Unraid Instance. I pulled the drives and wanted to plug them via a USB adapter in my other Unraid to check out the data on the disks. But UD does not even recognize any plugged in USB drive with these disks. I get "usb 8-2: can't set config #1, error -110" followed by "rc.usb_manager Autoconnect No Mapping found ASMedia_AS2105 /dev/bus/usb/008/006 008 006 port 8-2"

any hint what I need to do here so that these show up properly for mounting?

Edited by unrateable

On 5/20/2025 at 11:08 AM, Coogan2007 said:

Diagnostics are attached. Thanks for helping with this.

unraid-diagnostics-20250520-1106.zip

Anything new on this? It's been 6 weeks and I still cannot update the UD. And now it's affecting the community app plugin; same error. Now I cannot access Community Apps at all.

Edit: Just noticed the actual error message aren't showing in the log for some reason. Any response to plugin-manager: running: upgradepkg --install-new --reinstall throws out an error with code 127.

Jul 2 08:39:08 unRAID monitor_nchan: Stop running nchan processes

Jul 3 15:58:36 unRAID plugin-manager: creating: /boot/config/plugins/unassigned.devices/unassigned.devices-2025.06.15-x86_64-1.txz - downloading from URL https://raw.githubusercontent.com/unraid/unassigned.devices/master/archive/unassigned.devices-2025.06.15-x86_64-1.txz

Jul 3 15:58:36 unRAID plugin-manager: checking: /boot/config/plugins/unassigned.devices/unassigned.devices-2025.06.15-x86_64-1.txz - MD5

Jul 3 15:58:36 unRAID plugin-manager: running: upgradepkg --install-new --reinstall /boot/config/plugins/unassigned.devices/unassigned.devices-2025.06.15-x86_64-1.txz

Jul 3 15:59:22 unRAID plugin-manager: running: 'anonymous'

Jul 3 15:59:22 unRAID plugin-manager: running: 'anonymous'

Jul 3 15:59:22 unRAID plugin-manager: creating: /boot/config/plugins/community.applications/community.applications-2025.06.04a-x86_64-1.txz - downloading from URL https://raw.githubusercontent.com/unraid/community.applications/master/archive/community.applications-2025.06.04a-x86_64-1.txz

Jul 3 15:59:22 unRAID plugin-manager: checking: /boot/config/plugins/community.applications/community.applications-2025.06.04a-x86_64-1.txz - MD5

Jul 3 15:59:22 unRAID plugin-manager: running: upgradepkg --install-new --reinstall /boot/config/plugins/community.applications/community.applications-2025.06.04a-x86_64-1.txz

Jul 3 15:59:49 unRAID plugin-manager: running: 'anonymous'

Jul 3 15:59:49 unRAID plugin-manager: running: 'anonymous'

Jul 3 15:59:49 unRAID plugin-manager: checking: /boot/config/plugins/community.applications/community.applications-2025.06.04a-x86_64-1.txz - MD5

Jul 3 15:59:49 unRAID plugin-manager: skipping: /boot/config/plugins/community.applications/community.applications-2025.06.04a-x86_64-1.txz already exists

Jul 3 15:59:49 unRAID plugin-manager: running: upgradepkg --install-new --reinstall /boot/config/plugins/community.applications/community.applications-2025.06.04a-x86_64-1.txz

Edited by Coogan2007

On 6/26/2025 at 8:23 PM, unrateable said:

Hi folks,

just wondering I used to have another Unraid Instance. I pulled the drives and wanted to plug them via a USB adapter in my other Unraid to check out the data on the disks. But UD does not even recognize any plugged in USB drive with these disks. I get "usb 8-2: can't set config #1, error -110" followed by "rc.usb_manager Autoconnect No Mapping found ASMedia_AS2105 /dev/bus/usb/008/006 008 006 port 8-2"

any hint what I need to do here so that these show up properly for mounting?

Hi there, just reaching out again if anybody can give me a word, am I overlooking s.th. Do I need to do s.th with a former different Unraid install array/cache disk before I can mount it in my other Unraid install properly ? I´d hate do erase the disk without accessing it first to go through any files worth keeping...

18 hours ago, unrateable said:

Hi there, just reaching out again if anybody can give me a word, am I overlooking s.th. Do I need to do s.th with a former different Unraid install array/cache disk before I can mount it in my other Unraid install properly ? I´d hate do erase the disk without accessing it first to go through any files worth keeping...

By the description, looks more like a USB problem, try using SATA if possible or post the diagnostics.

39 minutes ago, JorgeB said:

By the description, looks more like a USB problem, try using SATA if possible or post the diagnostics.

thanks for chiming in! Well this 1 bay small 3.5" USB external housing I use works great with all sorts of other HDD drives I use for spare and which I connect to the same USB port of my mainboard - only those that have been previously in the other Unraid machine throw this error. Odd.

On 6/26/2025 at 4:13 AM, trendykendy said:

On Unraid 7.1.4, but had the issue on 7.0 too.
When I restart my server, the user settings for SMB in the Unassigned Devices plugin's settings get reset from Read/Write to No Access. I have seen no other issues with settings not carrying across between reboots. Is this expected behavior?

Ive also had this same issue, from what I can remember I had it on version 6.xx, currently on version 7.14. SMB settings here revert to "no access" for each user after a reboot. "private", "auto, and "no" setting do not change after a reboot, only the permissions for each user.

image.png

On 6/26/2025 at 1:01 AM, JorgeB said:

Post the output from wipefs /dev/sdc1 when on 7.1.4 (this won't wipe anything as written)

Just wanted to report and document an issue I ran into with UD 7.1.4 on Unraid 7.1.4:

  • I had a disk with a valid XFS filesystem and no mounting issues on UD 7.0.4

  • After upgrading, UD 7.1.4 recognized the partition (/dev/sdc1) but gave this error:

Partition '/dev/sdc1' does not have a file system and cannot be mounted.

  1. blkid returned nothing, and udevadm info didn’t show ID_FS_TYPE

  2. However, wipefs -n showed:

sdc1 0x0 xfs ... Torrents

sdc1 0x747024c4000 zfs_member ...

sdc1 0x74702504000 zfs_member ...

Turns out the disk previously had been used in a ZFS setup, and those deep ZFS signatures confused the FS detection logic.

After running:

wipefs -f -o 0x747024c4000 /dev/sdc1

wipefs -f -o 0x74702504000 /dev/sdc1

Everything started working — blkid showed proper FS info, and UD auto-mounted the drive as expected.

Issue resolved, but this might trip up others. Maybe UD could warn or provide a hint when multiple FS signatures are present?

Thanks again for all your work!

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.