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

This has been asked before but there was no solution as far as I saw...

 

 

How to mount an encrypted disk?

 

Do I have to resort to the command-line or am I missing something (I have UD+ as well)?

From, https://eddrit.com/r/unRAID/comments/18xro2f/encrypted_unassigned_devices_password_location/
 

/usr/sbin/cryptsetup luksOpen 'drive path' 'label'


And then it will be mountable?

 

Also, it's hard to search long threads like this.

Edited by steelsoap

  • 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

  • Author
12 minutes ago, steelsoap said:

Do I have to resort to the command-line or am I missing something (I have UD+ as well)?

If you have an encrypted array and the passphrase on the UD disk is the same as the array, it will mount.

 

If you don't have an encrypted array or the UD disk passphrase is not the same as the array, go to Settings->Unassigned Devices and set the passphrase for the UD disk.  It will then mount.

I can't select any disk in the settings, it doesn't offer me a disk in the dropdown of

Disk Password

Set Encrypted Disk Password

 

Password is the same actually anyways. (I didn't create these disks with unraid)

Disks:

image.thumb.png.a3d8d766ad8e4b7a3e000e54afec42ec.png

Edited by steelsoap

  • Author
22 minutes ago, steelsoap said:

I can't select any disk in the settings, it doesn't offer me a disk in the dropdown of

Disk Password

Set Encrypted Disk Password

 

Password is the same actually anyways. (I didn't create these disks with unraid)

Disks:

image.thumb.png.a3d8d766ad8e4b7a3e000e54afec42ec.png

UD doesn't recognize those disks as encrypted because they are formatted without a partition.  That's what the 'Mount' button is showing - that there is no partition.  Reformat them with UD and they will mount properly.

Ehrm. I would rather not lose that ~13 TB of data :)
So UD(+) cannot recognize these disks because cryptsetup was applied to the whole device not a partiton. Hm, I wonder why UD is like that, it shouldn't matter if there's no underlying partition, it is mounted beautifully by various other tools.
That's not good. I will do some testing manually as suggested by the reddit article.

Edited by steelsoap

No surprise here, this does the job:

/usr/sbin/cryptsetup luksOpen /dev/sd<drive letter> <label> && mkdir /mnt/<label> && mount /dev/mapper/<label> /mnt/<label>

Unraid WebGUI couldn't care less though, no changes there. So now I have to figure out how to do this copying with root user to a share.

Oh, WebGUI's File Manager (using v7-beta3) recognizes the mounted drive so happy ending we have.

 

EDIT:

I actually get an invalid target error when wanting to copy from physical device (not part of any array or share) to my user share, see post:

Edited by steelsoap

I am getting this error when I update the plugin.

 

Update Plugin


plugin: updating: unassigned.devices.plg
plugin: downloading: unassigned.devices-2024.10.14.tgz ...
plugin: unassigned.devices-2024.10.14.tgz download failure: Generic error
Executing hook script: post_plugin_checks

 

  • Author
1 hour ago, steelsoap said:

Ehrm. I would rather not lose that ~13 TB of data :)
So UD(+) cannot recognize these disks because cryptsetup was applied to the whole device not a partiton. Hm, I wonder why UD is like that, it shouldn't matter if there's no underlying partition, it is mounted beautifully by various other tools.
That's not good. I will do some testing manually as suggested by the reddit article.

Unraid Array and Pool disks are all formtted with partitions.  UD follows that scheme so a disk can be created in UD (BTRFS, XFS, or ZFS) and then added to the Array or a Pool created without having to reformat.

  • Author
38 minutes ago, steelsoap said:

No surprise here, this does the job:

/usr/sbin/cryptsetup luksOpen /dev/sd<drive letter> <label> && mkdir /mnt/<label> && mount /dev/mapper/<label> /mnt/<label>

Unraid WebGUI couldn't care less though, no changes there. So now I have to figure out how to do this copying with root user to a share.

You could also mount the disk on another computer and then add a remote share with UD.

  • Author
21 minutes ago, herculepirate said:

I am getting this error when I update the plugin.

 

Update Plugin


plugin: updating: unassigned.devices.plg
plugin: downloading: unassigned.devices-2024.10.14.tgz ...
plugin: unassigned.devices-2024.10.14.tgz download failure: Generic error
Executing hook script: post_plugin_checks

 

I just checked and I didn't have any problems.  You may have an issue with your Internet, or you may have a memory issue.  Try a reboot then update again.

  • Author
4 minutes ago, steelsoap said:

I am unable to process that. "Reformat" the disk so it can be read by UD, without data loss? What sorcery is this?

Of course you would have to move the data off the disk, reformat, and then move the data back.

Quote

Unraid Array and Pool disks are all formtted with partitions.  UD follows that scheme so a disk can be created in UD (BTRFS, XFS, or ZFS) and then added to the Array or a Pool created without having to reformat.

Okay, but I don't see how that helps me mounting my device.

Quote

Of course you would have to move the data off the disk, reformat, and then move the data back.

That would be very cumbersome. Using another computer to host the disks, similarly.

Edited by steelsoap

  • Author
31 minutes ago, steelsoap said:

That would be very cumbersome. Using another computer to host the disks, similarly.

Just offering some options.  I understand if they won't work for you.

Unraid 6.12.13

Im trying to mount a remote share thats on my ubuntu pc on the local network using the unassigned devices plugin. However the plugin only ever shows the unraid server no matter what protocol I select. Ive tried entering the IP of the ubuntu machine but it makes no difference. Ive setup SMB shares on ubuntu and a windows machine on the same network. I pinged both machines from the unraid server and there is no issues there. I can access the unraid shares from either machine but not the other way around. What am I missing?

  • Author
3 hours ago, Kliu said:

Unraid 6.12.13

Im trying to mount a remote share thats on my ubuntu pc on the local network using the unassigned devices plugin. However the plugin only ever shows the unraid server no matter what protocol I select. Ive tried entering the IP of the ubuntu machine but it makes no difference. Ive setup SMB shares on ubuntu and a windows machine on the same network. I pinged both machines from the unraid server and there is no issues there. I can access the unraid shares from either machine but not the other way around. What am I missing?

Go to a command line and type 'ud_diagnostics', then post the /flash/logs/ud_diagnotics.zip.

Hi, sorry Im new to unraid. Where can I find this folder /flash/logs/ ?

39 minutes ago, Kliu said:

Hi, sorry Im new to unraid. Where can I find this folder /flash/logs/ ?

/flash is your Unraid USB device ... in terminal it would be called /boot or you enable Share Flash to access via smb/nfs

I just updated to the latest version of the plugin and the showmount requirement is preventing my Synology based nfs shares from being mounted on Unraid. Showmount -e synology_ip results in an rpc error. Still researching a fix/workaround. ud_diagnostics attached

 

Edited by totalhavoc
add ud_diagnostics

  • Author
1 hour ago, totalhavoc said:

I just updated to the latest version of the plugin and the showmount requirement is preventing my Synology based nfs shares from being mounted on Unraid. Showmount -e synology_ip results in an rpc error. Still researching a fix/workaround. ud_diagnostics attached

ud_diagnostics-20241029-124802.zip 46.56 kB · 0 downloads

What is the output of:

showmount -e <server name>

and

showmount -e <server ip_address>

 

both: rpc mount export: RPC: Unable to receive; errno = No route to host 

 

I've disabled the firewall at the synology and I can ping from unraid box to each synology unit. I only mount 1 of them but I have 2 others I've been trying to test with to see what the issue is. 

 

Edit: it has been working fine for months prior to todays update. Other NFS clients are mounting the same synology unit fine.

Edited by totalhavoc

It's fixed. The synology unit has multiple nics with only 1 active. There was a static IP assigned to one of the inactive nics. Removed the static ip from the inactive nic and everything is working now

  • Author
17 minutes ago, totalhavoc said:

It's fixed. The synology unit has multiple nics with only 1 active. There was a static IP assigned to one of the inactive nics. Removed the static ip from the inactive nic and everything is working now

Glad you got it going.  Sounds like today's update highlighted the issue with your Synology.  That's probably a good thing that it is now fixed.

I just updated my unassigned devices plugin and now my windows shares are gone.  I'm going through the settings and trying every combination that makes sense, as i assume permissions/settings have changed in this update.  My unraid log shows this after the update:

unassigned.devices: Warning: Unassigned Devices are not set to be shared with SMB.

unassigned.devices: Warning: Unassigned Devices are not set to be shared with NFS.

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.