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


dlandon

5983 posts in this topic Last Reply

Recommended Posts

Apologies for my urge to post, I tried educating myself first. I promise. I have been inactive on the forum pretty much since October due to hurricane restoration. 

 

I saw a reference to this plugin from the 6.9.0-beta35 post about the need to convert paths to "mnt/remotes". 

 

I use UD for Duplicati and my "NZB/downloads" path and have been for a couple years. 

 

It is currently working fine using "mnt/disks" on all my containers and my legacy switch is set to "No". But the post states to continue using "mnt/disks" to set that to "Yes". 

 

Also when I try to set my containers to "mnt/remotes" there are no disk available. The plugin is updated and I have restarted multiple times since November. I have done 2 of the 3 suggestions just by updating things since then without knowing about this update.  Am I reading something incorrectly? Do I need to delete UD and start over? 

 

I am fine with using Legacy or going to /remotes. I just don't want it to brake paths and I not notice. Thanks!

 

Link to post
  • Replies 6k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

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

While I appreciate your interest in esthetics, there is more to consider than just 'aligning' disk drive mounts: This disk is mounted without a UD script, it is probably better to put it in th

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

Hi, Unassigned devices stopped showing up, I only realised when a backup failed because it couldn't find the drive.

I rebooted to no avail and then uninstalled the backup and reinstalled.

It showed a warning on the re-install although it seems to be working.

 

Quote

plugin: installing: https://github.com/dlandon/unassigned.devices/raw/master/unassigned.devices-plus.plg
plugin: downloading https://github.com/dlandon/unassigned.devices/raw/master/unassigned.devices-plus.plg
plugin: downloading: https://github.com/dlandon/unassigned.devices/raw/master/unassigned.devices-plus.plg ... done
plugin: downloading: "https://github.com/dlandon/unassigned.devices/raw/master/packages/parted-3.3-x86_64-1.txz" ... done

+==============================================================================
| Installing new package /boot/config/plugins/unassigned.devices-plus/packages/parted-3.3-x86_64-1.txz
+==============================================================================

Verifying package parted-3.3-x86_64-1.txz.
Installing package parted-3.3-x86_64-1.txz:
PACKAGE DESCRIPTION:
# parted (GNU disk partitioning tool)
#
# GNU Parted is a program for creating, destroying, resizing, checking
# and copying partitions, and the filesystems on them. This is useful
# for creating space for new operating systems, reorganizing disk
# usage, copying data between hard disks, and disk imaging.
#
Executing install script for parted-3.3-x86_64-1.txz.
Package parted-3.3-x86_64-1.txz installed.
plugin: downloading: "https://github.com/dlandon/unassigned.devices/raw/master/packages/exfat-utils-1.3.0-x86_64-1_slonly.txz" ... done

+==============================================================================
| Installing new package /boot/config/plugins/unassigned.devices-plus/packages/exfat-utils-1.3.0-x86_64-1_slonly.txz
+==============================================================================

Verifying package exfat-utils-1.3.0-x86_64-1_slonly.txz.
Installing package exfat-utils-1.3.0-x86_64-1_slonly.txz:
PACKAGE DESCRIPTION:
# exfat-utils (exFAT system utilities)
#
# This project aims to provide a full-featured exFAT file system
# implementation for GNU/Linux and other Unix-like systems as a FUSE
# module and a set of utilities.
# module.
#
# This package contains the utilities.
#
# Homepage: https://github.com/relan/exfat
#
Executing install script for exfat-utils-1.3.0-x86_64-1_slonly.txz.
Package exfat-utils-1.3.0-x86_64-1_slonly.txz installed.
plugin: downloading: "https://github.com/dlandon/unassigned.devices/raw/master/packages/fuse-exfat-1.3.0-x86_64-1_slonly.txz" ... done

+==============================================================================
| Installing new package /boot/config/plugins/unassigned.devices-plus/packages/fuse-exfat-1.3.0-x86_64-1_slonly.txz
+==============================================================================

Verifying package fuse-exfat-1.3.0-x86_64-1_slonly.txz.
Installing package fuse-exfat-1.3.0-x86_64-1_slonly.txz:
PACKAGE DESCRIPTION:
# fuse-exfat (exFAT FUSE module)
#
# This project aims to provide a full-featured exFAT file system
# implementation for GNU/Linux and other Unix-like systems as a FUSE
# module and a set of utilities.
# module.
#
# This package contains the FUSE module.
#
# Homepage: https://github.com/relan/exfat
#
Executing install script for fuse-exfat-1.3.0-x86_64-1_slonly.txz.
Package fuse-exfat-1.3.0-x86_64-1_slonly.txz installed.
plugin: downloading: "https://github.com/dlandon/unassigned.devices/raw/master/packages/hfsprogs-332.25-x86_64-2sl.txz" ... done

+==============================================================================
| Installing new package /boot/config/plugins/unassigned.devices-plus/packages/hfsprogs-332.25-x86_64-2sl.txz
+==============================================================================

Verifying package hfsprogs-332.25-x86_64-2sl.txz.
Installing package hfsprogs-332.25-x86_64-2sl.txz:
PACKAGE DESCRIPTION:
# hfsprogs - hfs+ user space utils
#
# The HFS+ file system used by Apple Computer for their Mac OS is
# supported by the Linux kernel. Apple provides mkfs and fsck for
# HFS+ with the Unix core of their operating system, Darwin.
#
# This package is a port of Apple's tools for HFS+ filesystems.
#
# http://www.opensource.apple.com
Package hfsprogs-332.25-x86_64-2sl.txz installed.
plugin: downloading: "https://github.com/dlandon/unassigned.devices/raw/master/packages/libbsd-0.8.7-x86_64-1_slonly.txz" ... done

+==============================================================================
| Installing new package /boot/config/plugins/unassigned.devices-plus/packages/libbsd-0.8.7-x86_64-1_slonly.txz
+==============================================================================

Verifying package libbsd-0.8.7-x86_64-1_slonly.txz.
Installing package libbsd-0.8.7-x86_64-1_slonly.txz:
PACKAGE DESCRIPTION:
# libbsd (library of BSD functions)
#
# This library provides useful functions commonly found on BSD systems,
# and lacking on others like GNU systems, thus making it easier to port
# projects with strong BSD origins, without needing to embed the same
# code over and over again on each project.
#
# Homepage: http://libbsd.freedesktop.org/wiki/
#
Executing install script for libbsd-0.8.7-x86_64-1_slonly.txz.
Package libbsd-0.8.7-x86_64-1_slonly.txz installed.

-----------------------------------------------------------
unassigned.devices-plus has been installed.
Copyright 2015, gfjardim
Copyright 2016-2020, dlandon
Version: 2021.01.24
-----------------------------------------------------------


Warning: copy(/tmp/plugins/unassigned.devices-plus.plg): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 524
plugin: installed

Updating Support Links



Finished Installing. If the DONE button did not appear, then you will need to click the red X in the top right corner

DONE

 

Link to post

Hi All,

I am new to the UnRaid OS. I installed the Community Addon and this was followed by installing the Unassigned Devices app.

 

I have two Samsung optical drives.  Each one is connected directly to the motherboard SATA ports.  When I insert a 4.36GB DVD disk into the optical drive tray and close it my Unassigned Devices app does not recognize the data on the 4.36GB DVD disk.  It's as though the optical drive is invisible to my Unassigned Devices app.

 

Can someone please confirm to me if the Unassigned Devices app is designed to support Optical Drives?  Currently, on my system it seems Unassigned Devices only recognizes a Thumb Drive Stick or a MyBook external hard drive if either one is connected to the USB 3.0 port.

 

I would be very grateful  if anybody in the community could give me some advice on how I can get my Unassigned Devices app to recognize my Samsung Optical drive connected to my motherboard SATA port.  Thank you for your time.

Link to post
6 hours ago, slipstream said:

Hi All,

I am new to the UnRaid OS. I installed the Community Addon and this was followed by installing the Unassigned Devices app.

 

I have two Samsung optical drives.  Each one is connected directly to the motherboard SATA ports.  When I insert a 4.36GB DVD disk into the optical drive tray and close it my Unassigned Devices app does not recognize the data on the 4.36GB DVD disk.  It's as though the optical drive is invisible to my Unassigned Devices app.

 

Can someone please confirm to me if the Unassigned Devices app is designed to support Optical Drives?  Currently, on my system it seems Unassigned Devices only recognizes a Thumb Drive Stick or a MyBook external hard drive if either one is connected to the USB 3.0 port.

 

I would be very grateful  if anybody in the community could give me some advice on how I can get my Unassigned Devices app to recognize my Samsung Optical drive connected to my motherboard SATA port.  Thank you for your time.

UD does not support optical drives.  You can mount the drive in a VM or Docker depending on your use case, or create an iso file from the DVD and mount that with UD.

Link to post
12 hours ago, dlandon said:

UD does not support optical drives.  You can mount the drive in a VM or Docker depending on your use case, or create an iso file from the DVD and mount that with UD.

Dlandon,

Thank you for your post.  Just as a hypothetical idea. What if I buy a portable optical drive that connects via a USB 3.0 male connector to the female USB 3.0 port on my UnRaid NAS, will Unassigned Devices work with such a USB 3.0 connection? My hunch is UD might look at the portable optical drive as if it were an external hard drive or thumb drive connected to the USB 3.0 port.

 

You mention dockers. Could you please name a docker app that supports an Optical Drive ?   As for virtual machines, that is my last option because it seems to be the most complicated one.

Edited by slipstream
Link to post

UD specifically ignores optical drives, no matter how they are connected to Unraid.

 

10 minutes ago, slipstream said:

You mention dockers. Could you please name a docker app that supports an Optical Drive ?

Handbrake - used to rip DVDs.

 

11 minutes ago, slipstream said:

As for virtual machines, that is my last option because it seems to be the most complicated one.

It's very easy.  Look at this:

 

Link to post

Hi folks

When I swap over external backup HDD drives and I click the UNMOUNT button on the main tab, Unraid doesn't always unmount said drive correctly and, while the system still seems to work without issue, I get multiple (2-4/minute) errors in the syslog (EXT4-fs error (device sda1): ext4_find_entry:1455: inode #2: comm pool-16-thread-: reading directory lblock 0), which rapidly fills up; this is probably because the backup docker is still continuously trying to access the disk. Running the umount command in terminal fixes this, but I really would like a fix for this. Can anyone suggest anything?

Link to post
1 hour ago, Boyturtle said:

Hi folks

When I swap over external backup HDD drives and I click the UNMOUNT button on the main tab, Unraid doesn't always unmount said drive correctly and, while the system still seems to work without issue, I get multiple (2-4/minute) errors in the syslog (EXT4-fs error (device sda1): ext4_find_entry:1455: inode #2: comm pool-16-thread-: reading directory lblock 0), which rapidly fills up; this is probably because the backup docker is still continuously trying to access the disk. Running the umount command in terminal fixes this, but I really would like a fix for this. Can anyone suggest anything?

Are you unmounting the drive before you remove it?  You can't remove the drive until it is successfully unmounted.

 

Post diagnostics.

Link to post
11 minutes ago, Boyturtle said:

Yes, I unmount by pressing the UNMOUNT button in the main page of Unraid. It's a bit hit and miss tbh, as it sometimes unmounts correctly and other times not

speedy-diagnostics-20210212-1137.zip 174.99 kB · 0 downloads

It doesn't appear to be related solely to unmounting of the disk.  I recommend the following:

  • Remove the preclear plugin.
  • Set the drive in question to not automount.
  • Remove the drive in question.  USB drives should be unmounted and removed from the system when you reboot.
  • Reboot the server.
  • Plug the USB disk back in and mount it manually.
  • Check the log for errors before unmounting it.

I suspect that the drive has some issues.  Post diagnostics again if the log has errors.

 

Why are you using EXT4 on the disk?

Link to post

Hey lovely community,

i installed 'Unassigned Devices' but my storage doesn't mount automatically.
i tried it with fstab, but fstab delete after every reboot.

and under assigned devices isn't found there

so what is the best way ?

 

unraid.png

Link to post
1 hour ago, srepper said:

Hey lovely community,

i installed 'Unassigned Devices' but my storage doesn't mount automatically.
i tried it with fstab, but fstab delete after every reboot.

and under assigned devices isn't found there

so what is the best way ?

 

unraid.png

You have put your UD devices in the pool.  Stop the array and remove them from the pool.  You will then see them in the Unassigned Devices.

 

 

Link to post
30 minutes ago, dlandon said:

You have put your UD devices in the pool.  Stop the array and remove them from the pool.  You will then see them in the Unassigned Devices.

 

 

thank you, i stopped the array, did a new configuration (via tools).

 

if i use lsblk, my storage isn't still mounted.

unraid1.png

unraid2.png

Edited by srepper
Link to post
55 minutes ago, srepper said:

thank you, i stopped the array, did a new configuration (via tools).

 

if i use lsblk, my storage isn't still mounted.

unraid1.png

unraid2.png

 

55 minutes ago, srepper said:

thank you, i stopped the array, did a new configuration (via tools).

 

if i use lsblk, my storage isn't still mounted.

unraid1.png

unraid2.png

Click the 'Mount' button on the UD disk.

Link to post
Just now, srepper said:

doesn't have the button

unraid3.png

The disk has no file system.  You'll need to format it.  You'll need to install the Unassigned Devices plus plugin to format it.

Link to post

I've been using the plugin and it works very well.

 

I have 6 disks connected as UD. 3 NVME and 1 internal disk connect well and can be mounted.


I'd also like to connect one disk via USB. Unfortunately, this does not work and the "mount" button is greyed out. It used to work before, but stopped some days ago. I connected the disk to a notebook to eliminate a disk error. The notebook can identify the disk in the USB enclosure without problem.

 

Below info from the disk log information:

 

Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] Very big device. Trying to use READ CAPACITY(16).
Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] 11721045168 512-byte logical blocks: (6.00 TB/5.46 TiB)
Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] 4096-byte physical blocks
Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] Write Protect is off
Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] Mode Sense: 47 00 00 08
Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Feb 14 16:04:26 Tower kernel: sdt: sdt1
Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] Attached SCSI disk
Feb 14 16:36:21 Tower unassigned.devices: Error: shell_exec(/usr/sbin/hdparm -C /dev/sdt 2>/dev/null | /bin/grep -c standby) took longer than 10s!
Feb 14 16:36:21 Tower unassigned.devices: Error: shell_exec(/usr/sbin/hdparm -C /dev/sdt 2>/dev/null | /bin/grep -c standby) took longer than 10s!

 

 

Any help appreciated!

Link to post
2 hours ago, steve1977 said:

I've been using the plugin and it works very well.

 

I have 6 disks connected as UD. 3 NVME and 1 internal disk connect well and can be mounted.


I'd also like to connect one disk via USB. Unfortunately, this does not work and the "mount" button is greyed out. It used to work before, but stopped some days ago. I connected the disk to a notebook to eliminate a disk error. The notebook can identify the disk in the USB enclosure without problem.

 

Below info from the disk log information:

 

Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] Very big device. Trying to use READ CAPACITY(16).
Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] 11721045168 512-byte logical blocks: (6.00 TB/5.46 TiB)
Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] 4096-byte physical blocks
Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] Write Protect is off
Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] Mode Sense: 47 00 00 08
Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Feb 14 16:04:26 Tower kernel: sdt: sdt1
Feb 14 16:04:26 Tower kernel: sd 12:0:0:0: [sdt] Attached SCSI disk
Feb 14 16:36:21 Tower unassigned.devices: Error: shell_exec(/usr/sbin/hdparm -C /dev/sdt 2>/dev/null | /bin/grep -c standby) took longer than 10s!
Feb 14 16:36:21 Tower unassigned.devices: Error: shell_exec(/usr/sbin/hdparm -C /dev/sdt 2>/dev/null | /bin/grep -c standby) took longer than 10s!

 

 

Any help appreciated!

Log snippets are not very useful in troubleshooting problems.  Please post diagnostics for better support. 

Link to post
On 2/12/2021 at 11:57 AM, dlandon said:

It doesn't appear to be related solely to unmounting of the disk.  I recommend the following:

  • Remove the preclear plugin. Done
  • Set the drive in question to not automount. All UD disks showing as Automount on when hovering over settings button, but when clicking on button, it shows as off. It doesn't matter if the setting is set to off or on, the disk mounts automatically
  • Remove the drive in question.  USB drives should be unmounted and removed from the system when you reboot. Ok
  • Reboot the server.
  • Plug the USB disk back in and mount it manually.
  • Check the log for errors before unmounting it.

I suspect that the drive has some issues.  Post diagnostics again if the log has errors.

 

Why are you using EXT4 on the disk? No particular reason, it was just convenient. Would I be better off using another fs, disks are used for backup.

 

Link to post
40 minutes ago, Boyturtle said:

It was running the latest version. I uninstalled it and reinstalled it and it still behaves the same.

Go to the settings and then turn on and back off the automount.  That should clear it up.

Link to post
6 minutes ago, dlandon said:

Go to the settings and then turn on and back off the automount.  That should clear it up.

Sorry, I should've been clearer. I did that already and the automount is showing as off in the settings, but on when I hover the mouse over it. The drive automounts regardless of the position in settings.

Link to post
23 minutes ago, Boyturtle said:

Sorry, I should've been clearer. I did that already and the automount is showing as off in the settings, but on when I hover the mouse over it. The drive automounts regardless of the position in settings.

Delete the /flash/config/plugins/unassigned.disks/unassigned.devices.cfg file, then click on the 'Refresh Disks and Configuration" icon (double arrows in the upper right) and see if it doesn't clear up the automount.

Edited by dlandon
typo
Link to post

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.