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
6 minutes ago, Kilrah said:

It was never solved, you just asked to provide diags next time it happened... and since that only seems to happen once every few months that is it...

Does it happen after a fresh reboot?

  • 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

19 minutes ago, dlandon said:

Does it happen after a fresh reboot?

No, but that's not significant since as mentioned it only happens once every few months when that drive is getting connected every couple of days and others are plugged in pretty frequently too.

It does seem that it's more likely to happen if the backup drive was disconnected and another is connected in the next few minutes, but again not repeatably.

I'll give that a go, but I think that message be a bit misleading, when I run the command manually in verbose it shows permission denied first, and then tries to connect via ipv6 which then throwsthat network error.  I'm going to break for the evening and pick it up tomorrow. Thanks for the help!

On 6/20/2024 at 7:53 PM, sp4rk said:

Hi!

 

I have a 6TB NTFS drive formatted on Windows full of data. I wanted to copy the contents to my array through USB by using a SATA dock, but it did not mount. Logs attached.

 

I have attached the drive directly to the motherboard with SATA cable, and it mounts fine now!

 

So the dock seems to be the problem. I have tried two completely different SATA to USB solutions without luck. I would prefer to use a dock so i can attach drives more easily, is there a way to make it work?

 

Thanks for any input!

Screenshot 2024-06-20 194645.jpg

Screenshot 2024-06-20 194134.jpg

I have updated Unassigned Devices plugin, and now my NTFS SATA HDD mounts through USB dock!

I remove and it say success, but nothing success!!

 

??

1.png

2.png

3.png

4.png

Can I Mount Unassigned drive while Parity operation is running?

 

I have a drive connected via Unassigned Devices. It contains data (movie files/folders) that I am going to use Krusader to transfer to empty space on my Unraid server. Before I mounted the drive, I started my first parity operation (two 18TB parity drives and one empty 8TB drive). Those three drives are my entire array as of now (starting to move all my data drives from windows Plex server). Estimated to complete in 24 hours

 

Can I not mount the unassigned drive while the parity operation is happening? The "Mount" button is greyed out in Unassigned Devices. I understand that I will have to wait to move the files themselves. I just want to view the files/folders in Krusader to ensure I have it set up correctly so that when the parity operation completes, I can start moving files to the array one HDD at a time. I tried pausing the parity operation, but drive still shows greyed-out.

 

Also, if the 8TB drive is empty and so are the (2) 18TB Parity drives, why does it take an estimated 24 hours to complete? There is no data on any of the drives to read/write...(sorry brand new user and am confused). It's showing it as an 18TB array b/c of the parity drives

 

EDIT: I hit the Refresh Disks and Configuration button at upper right of the Unassigned Disks section and the Mount option returned. But when I click Mount, it fails and points me to a log file. My question regarding mounting during a parity operation stands...Trying to find location of the "syslog"

 

Changed the name of the partition where the files resided, removing parenthesis and other punctuation and it mounted successfully. Transferred (1) test movie folder to the array via Krusader successfully

Edited by wdpaynter
Partial Solution Found (I think)

  • Author
48 minutes ago, wdpaynter said:

Can I Mount Unassigned drive while Parity operation is running?

 

I have a drive connected via Unassigned Devices. It contains data (movie files/folders) that I am going to use Krusader to transfer to empty space on my Unraid server. Before I mounted the drive, I started my first parity operation (two 18TB parity drives and one empty 8TB drive). Those three drives are my entire array as of now (starting to move all my data drives from windows Plex server). Estimated to complete in 24 hours

 

Can I not mount the unassigned drive while the parity operation is happening? The "Mount" button is greyed out in Unassigned Devices. I understand that I will have to wait to move the files themselves. I just want to view the files/folders in Krusader to ensure I have it set up correctly so that when the parity operation completes, I can start moving files to the array one HDD at a time. I tried pausing the parity operation, but drive still shows greyed-out.

 

Also, if the 8TB drive is empty and so are the (2) 18TB Parity drives, why does it take an estimated 24 hours to complete? There is no data on any of the drives to read/write...(sorry brand new user and am confused). It's showing it as an 18TB array b/c of the parity drives

 

EDIT: I hit the Refresh Disks and Configuration button at upper right of the Unassigned Disks section and the Mount option returned. But when I click Mount, it fails and points me to a log file. My question regarding mounting during a parity operation stands...Trying to find location of the "syslog"

UD operations are independent of array operations like a parity check.  You can copy files during a parity check.  Parity has to read every sector of every disk in order to create or check parity.  The log can be viewed at Tools->System Log.  Post your diagnostics so we can be of further assistance.  Diagnostics are at Tools->Diagnostics.  Follow the instructions to generate diagnostics and then post here.

I’m investigating backing up my Google Drive to Unraid and most of the guides call for mounting the cloud storage at /mnt/disks/ but I want to be sure this won’t cause problems with UD since it also uses the same mount point?

1 hour ago, dlandon said:

UD operations are independent of array operations like a parity check.  You can copy files during a parity check.  Parity has to read every sector of every disk in order to create or check parity.  The log can be viewed at Tools->System Log.  Post your diagnostics so we can be of further assistance.  Diagnostics are at Tools->Diagnostics.  Follow the instructions to generate diagnostics and then post here.

I think I got it figured out (I beleive it was because my old drives naming convention included parenthesis). Thank you!

1 hour ago, wgstarks said:

I’m investigating backing up my Google Drive to Unraid and most of the guides call for mounting the cloud storage at /mnt/disks/ but I want to be sure this won’t cause problems with UD since it also uses the same mount point?

Recommended to be under /mnt/addons now. Probably didn't exist yet when the guides were made.

13 minutes ago, Kilrah said:

Recommended to be under /mnt/addons now. Probably didn't exist yet when the guides were made.

Yeah, I can’t find any guides that are anywhere near current. They all seem to be 5 or 6 years old and outdated.

Hi, I am unable to install Unassigned Devices Plus on Unraid. I receive this error

 

plugin: installing: unassigned.devices-plus.plg
Executing hook script: pre_plugin_checks
plugin: downloading: unassigned.devices-plus.plg ... done

plugin: downloading: parted-3.6-x86_64-1.txz ...
plugin: parted-3.6-x86_64-1.txz download failure: Generic error
Executing hook script: gui_search_post_hook.sh
Executing hook script: post_plugin_checks

 

So, it looks like there might be an issue with a dependency?

Setting up a new system...

 

Is it not possible, via the webUI, to specify partition table format when setting up disks? It looks like UD always uses MBR on drives under 2TB?

 

Any way to set up the disks I'm using at the moment for testing, 1TB SSD and 500GB NVME, as GPT?

Setting disks ahead of time, like on a Mac using Disk Utility or on Linux/Unraid using gdisk doesn't seem to help because UD destroys the GPT and creates a new MBR when formatting. And using gdisk to change the table format in place doesn't seem to work on disks formatted with UD.

Edited by Espressomatic

  • Author
2 hours ago, Espressomatic said:

Setting up a new system...

 

Is it not possible, via the webUI, to specify partition table format when setting up disks? It looks like UD always uses MBR on drives under 2TB?

 

Any way to set up the disks I'm using at the moment for testing, 1TB SSD and 500GB NVME, as GPT?

Setting disks ahead of time, like on a Mac using Disk Utility or on Linux/Unraid using gdisk doesn't seem to help because UD destroys the GPT and creates a new MBR when formatting. And using gdisk to change the table format in place doesn't seem to work on disks formatted with UD.

UD sets up the partitions like that so they are compatible with the Unraid Array if a user wants to assign the disk to the Array.  You can partition and format the disk on another system, and UD will be able to mount the disk.

Looks like Unraid, without UD plugin expressly installed, does the same thing.

 

I created a single drive pool, added the 1TB SSD, set it to use ZFS and after starting the array and then formatting, it's also MBR. When I did all the disk setup and ZFS pool creation from shell, making sure its GPT, exporting, then bringing that drive into Unraid, it ends up showing "unknown" for partition table format - but it seems to work.

 

Going to put this out of my mind for now as I still need to buy some permanent storage for this system and will try to make sure each disk is simply over 2TB. This box is going to be solid-state pools only, as it's dedicated to nothing but VM hosting - not a general NAS with exported shares.

Edited by Espressomatic

  • Author
28 minutes ago, Espressomatic said:

This box is going to be solid-state pools only, as it's dedicated to nothing but VM hosting - not a general NAS with exported shares

With Unraid 7.0, this is simplified because you no longer have to have an array.  The array is optonal.

15 minutes ago, dlandon said:

With Unraid 7.0, this is simplified because you no longer have to have an array.  The array is optonal.

Exactly. I've already upgraded to 7.0 on my production NAS system earlier in the week, and this new system is starting with it as I move every non-NAS service from the first system.

 

I had to free up over 50TB of space on the first system to start playing with ZFS and identical drives, but it'll end up being a nice way to stress-test my new fiber to the home connection when I get to reclaiming that data. ;)

12 hours ago, Espressomatic said:

Looks like Unraid, without UD plugin expressly installed, does the same thing.

Correct, devices up to 2TB are always created with MBR, >2TB are GPT

8 hours ago, JorgeB said:

devices up to 2TB are always created with MBR, >2TB are GPT

 

Hopefully the new >2TB NVMe and SSD options I pick will be quieter than the testers I have in the system now. Not in including the fans, this system of all solid state and non-moving parts is noisier than most of my spinning HDDs. High-pitched SSD activity whine is pretty annoying.

Edited by Espressomatic

I'm probably just an idiot, but I thought I would report something in case it was useful to anyone else.

 

 

TL;DR - ISO mount caused UD to report "Failed to get data to refresh page" and I had to manually edit the plugin's iso_mount.cfg file to get it to display interactive controls properly again.



The other day, I attempted to mount an movie DVD ISO with the intention of passing that into Handbrake (which was obviously unnecessary as HB can open the ISO itself just fine). Upon doing so, UD told me it was mounted but upon refresh, I began to get a "Failed to get data to refresh page" status on the page. All of my remote shares (mounted and exported) were behaving fine so I didn't think much about it and I assumed it was related to that ISO I didn't need to have mounted in the first place.

 

Reboot and the message persisted. I couldn't find any errors in the Unraid log or the diagnostics, so I deleted the ISO from where UD could find it and the "Failed to get data to refresh page" message persisted - perhaps a more helpful "Couldn't load ISO mount XXX" message with an option to remove that specific mount would have been more informative and helpful.

 

Luckily I'm also a massive 360-no--scope-l33t software engineer, so I just poked around until I found the /config/plugins/unassigned.devices/iso_mount.cfg file and removed the 3 lines which specified that ISO mount, hit "Refresh DIsks and Configuration" and Bob's your uncle, everything is back and fine.

  • Author

Go to a command line and type: ud_diagnostics and post the /flash/logs/ud_diagnositics file when the iso mount is causing issues.  Some characters cause php issues.  With the diagnostics, I can fix UD so it doesn't cause this problem again.

4 minutes ago, dlandon said:

Go to a command line and type: ud_diagnostics and post the /flash/logs/ud_diagnositics file when the iso mount is causing issues.  Some characters cause php issues.  With the diagnostics, I can fix UD so it doesn't cause this problem again.

 

Easy enough, thanks! It would be nice for Unraid to allow adding plugins to the Tools->Diagnostics generation for people less comfortable with the CLI.

 

You're 100% right, it's character parsing thinking square brackets (and/or perhaps the curly braces) are misinterpreting it as an array:

 

[05-Jul-2024 11:01:31 America/Chicago] PHP Fatal error:  Uncaught TypeError: array_values(): Argument #1 ($array) must be of type array, bool given in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php:309
Stack trace:
#0 /usr/local/emhttp/plugins/unassigned.devices/include/lib.php(309): array_values(false)
#1 /usr/local/emhttp/plugins/unassigned.devices/include/lib.php(3229): MiscUD::get_mounting_status('Gooby__2009__{i...')
#2 /usr/local/emhttp/plugins/unassigned.devices/include/UnassignedDevices.php(931): get_iso_mounts()
#3 {main}
  thrown in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 309

 

Here was the config in questions as it's no longer part of the iso_mount.cfg in the zip so I didn't bother to include the whole thing:

 

[Gooby_(2009)_{imdb-tt1132588}_[DVD-R][PUZZLE].iso]
file="/mnt/hyperdrive/isos/Gooby (2009) {imdb-tt1132588} [DVD-R][PUZZLE].iso"
share="Gooby_(2009)_{imdb-tt1132588}_[DVD-R][PUZZLE]"

 

  • Author
2 hours ago, BrentT said:

Here was the config in questions as it's no longer part of the iso_mount.cfg in the zip so I didn't bother to include the whole thing:

Yes, the square braces and curly braces cause issues in the device "Source" field.  The iso file can still be mounted, it will just show in the "Source" with these characters converted to underscore.

 

This will be fixed in the next release.

 

2 hours ago, BrentT said:

Reboot and the message persisted. I couldn't find any errors in the Unraid log or the diagnostics, so I deleted the ISO from where UD could find it and the "Failed to get data to refresh page" message persisted - perhaps a more helpful "Couldn't load ISO mount XXX" message with an option to remove that specific mount would have been more informative and helpful.

The "Failed to get data to refresh page" message may not be that descriptive of the problem, but in the past, UD would hang with the Unraid wave going constantly.  This is better.  Unfortunately when a php warning/error occurs, it's a bit tough to determine what caused the issue and display an appropriate message.  Although, the Tools->PHP Settings log will show the php warnings and erors.

Unassigned device issue, some files appear with unsupported reparse tag 0x80000017

Filesystem is NTFS compressed with lzx compression within windows 11 (command: compact /c /s /a /i /exe:lzx "*")

Mounting disk using Unassigned device plugin.

Problematic files marked in red in mc.

Please help.image.png.d861d61e191be7e8c1223a71b82d1a64.png

n5105-diagnostics-20240709-0844.zip

Hi,

I have a ISCSI LUN connected with PC by ISCSI plugin. it's working fine.

and now I tried connect on same ISCSI LUN with UNRAID server by iSCSI Initiator plugin at the same time, 

connect success and I can see unassigned drive in main tab.

there are two questions:

1. when I mount this drive, it's always ReadOnly, I have to run ntfsfix and remount it, so the RO will gone.

2. when I update file on PC, the mounted drive will not update any data. always need remount so it can show latest data.

please help. thank you.

 

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.