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


Recommended Posts

1 hour ago, mortsonian said:

Hi guys,

I got some used 3TB drives from my work and plugged them into my controller, but they won't show up so i can assign them to my array.

 

Any help is appreciated

tower-diagnostics-20211225-1817.zip 131.68 kB · 1 download

This is a known issue in UD.  The dynamix.scsi.devices plugin changes the disks from ata to scsi.  UD should be handling this properly, but apparently something has broken it.  I can't fix it until I can get some hardware to test scsi attached disks as I don't have scsi disks.

 

The only fix for the moment is to remove the dynamix.scsi.devices plugin.

  • Like 1
Link to comment
2 hours ago, dlandon said:

Can someone with scsi attached disks with the dynamix.scsi.devices plugin installed give me the output of:

ls /dev/

 

I think I see what might be happening with scsi disks not being recognized by UD.

aer_inject       hpet          loop4    null       sda   sg0      tty0   tty21  tty34  tty47  tty6     vcs4   vcsu4
block/           hwrng         loop5    nvme0      sda1  sg1      tty1   tty22  tty35  tty48  tty60    vcs5   vcsu5
bsg/             initctl|      loop6    nvme0n1    sdb   sg2      tty10  tty23  tty36  tty49  tty61    vcs6   vcsu6
btrfs-control    input/        loop7    nvme0n1p1  sdb1  sg3      tty11  tty24  tty37  tty5   tty62    vcsa   vendor_reset
bus/             kfd           mapper/  nvme1      sdc   sg4      tty12  tty25  tty38  tty50  tty63    vcsa1  vfio/
char/            kmem          mcelog   nvme1n1    sdc1  sg5      tty13  tty26  tty39  tty51  tty7     vcsa2  vga_arbiter
console          kmsg          md1      nvme1n1p1  sdd   sg6      tty14  tty27  tty4   tty52  tty8     vcsa3  vhci
core@            kvm           md2      port       sdd1  sg7      tty15  tty28  tty40  tty53  tty9     vcsa4  vhost-net
cpu/             log=          md3      ppp        sde   sg8      tty16  tty29  tty41  tty54  ttyS0    vcsa5  vsock
cpu_dma_latency  loop-control  mem      ptmx       sde1  shm/     tty17  tty3   tty42  tty55  urandom  vcsa6  xconsole|
disk/            loop0         mouse@   pts/       sdf   stderr@  tty18  tty30  tty43  tty56  vcs      vcsu   zero
fd@              loop1         mpt2ctl  random     sdg   stdin@   tty19  tty31  tty44  tty57  vcs1     vcsu1
full             loop2         mpt3ctl  rtc@       sdh   stdout@  tty2   tty32  tty45  tty58  vcs2     vcsu2
fuse             loop3         net/     rtc0       sdi   tty      tty20  tty33  tty46  tty59  vcs3     vcsu3

Link to comment
1 hour ago, mortsonian said:

I tried uninstalling dynamix.scsi.devices plugin, still not mountable. It shows size zero

tower-diagnostics-20211226-2255.zip 103.63 kB · 0 downloads

Yes, your devices are showing zero size.

Dec 26 22:42:46 Tower emhttpd: device /dev/sdh has size zero
Dec 26 22:42:46 Tower emhttpd: device /dev/sdg has size zero
Dec 26 22:42:46 Tower emhttpd: device /dev/sdf has size zero
Dec 26 22:42:46 Tower emhttpd: device /dev/sdi has size zero
Dec 26 22:42:47 Tower emhttpd: device /dev/sdh has size zero

What's the story on these devices?

 

Can you give a screen shot?

Link to comment
7 hours ago, dlandon said:

Yes, your devices are showing zero size.

Dec 26 22:42:46 Tower emhttpd: device /dev/sdh has size zero
Dec 26 22:42:46 Tower emhttpd: device /dev/sdg has size zero
Dec 26 22:42:46 Tower emhttpd: device /dev/sdf has size zero
Dec 26 22:42:46 Tower emhttpd: device /dev/sdi has size zero
Dec 26 22:42:47 Tower emhttpd: device /dev/sdh has size zero

What's the story on these devices?

 

Can you give a screen shot?

The devices got pulled from an old DELL EMC2 VNXe3150 san fra my work.

 

image.thumb.png.44381c530c78ba0795659c1870d61ecc.png

Link to comment
42 minutes ago, SimonF said:

What sector size do you have showing in SMART for the devices is it 520 rather than 512?

 

or is protection showing. click on sdf and post the output.

 

image.thumb.png.1838d15b345cd1b5559cbdb4fa00c501.png

Nothing is showing.

Output from smartctl --all /dev/sdf :

 

smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.10.28-Unraid] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              ST330006 NEO3000
Revision:             YS18
Compliance:           SPC-3
User Capacity:        3,000,592,981,360 bytes [3.00 TB]
Logical block size:   520 bytes
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c50057243f37
Serial number:        Z298CT0W    0000C40554LW
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Mon Dec 27 09:10:29 2021 CET
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Elements in grown defect list: 0

Error Counter logging not supported

Device does not support Self Test logging

 

Link to comment

Unable to mount EXTfat USB drive .

 

Mount of 'sdc1' failed: 'fuse: mountpoint is not empty fuse: if you are sure this is safe, use the 'nonempty' mount option FUSE exfat 1.3.0 ' 

 

(not for array) 

 

i have both plugins UD and UD+ Installed and it's worked before but a few months ago my unraid server had a power cut and I never remounted the drive as it wasn't needing anything form it . 

 

Drive works on windows as normal, 

Now i want to mount it back to my server but this happens 

 

Anyidea?

 

Edited by zero80472
Link to comment
1 hour ago, zero80472 said:

Unable to mount EXTfat USB drive .

 

Mount of 'sdc1' failed: 'fuse: mountpoint is not empty fuse: if you are sure this is safe, use the 'nonempty' mount option FUSE exfat 1.3.0 ' 

 

(not for array) 

 

i have both plugins UD and UD+ Installed and it's worked before but a few months ago my unraid server had a power cut and I never remounted the drive as it wasn't needing anything form it . 

 

Drive works on windows as normal, 

Now i want to mount it back to my server but this happens 

 

Anyidea?

 

Post your diagnostics.

Link to comment
7 minutes ago, zero80472 said:

here u go

 

Sorry i thought i did already. 

kyles-lab-diagnostics-20211230-1409.zip 168.23 kB · 0 downloads

Disk was not unmounted cleanly:

Dec 29 14:11:38 Kyles-Lab mount.exfat: volume was not unmounted cleanly
Dec 29 14:11:38 Kyles-Lab unassigned.devices: Mount of 'sdc1' failed: 'FUSE exfat 1.3.0 WARN: volume was not unmounted cleanly. fuse: mountpoint is not empty fuse: if you are sure this is safe, use the 'nonempty' mount option '

Take it to a PC and mount it, then unmount it cleanly.

Link to comment
1 hour ago, dlandon said:

Disk was not unmounted cleanly:

Dec 29 14:11:38 Kyles-Lab mount.exfat: volume was not unmounted cleanly
Dec 29 14:11:38 Kyles-Lab unassigned.devices: Mount of 'sdc1' failed: 'FUSE exfat 1.3.0 WARN: volume was not unmounted cleanly. fuse: mountpoint is not empty fuse: if you are sure this is safe, use the 'nonempty' mount option '

Take it to a PC and mount it, then unmount it cleanly.

 Thank you - i take it a flag was stuck on the drive, i had to restart server after i unmounted drive from windows, 

 

1 hour ago, dlandon said:

You also need to go to the UD settings and set 'Debug Log Level' to 'None'.  You are generating excessive log messages.  This setting should only be used when requested for debugging.

 

I enabled to find out what happend its now disabled 

Link to comment
6 hours ago, mr2web said:

@dlandon Hi mate, I'm sorry to bother u again, but my issue is back with that warning message on the main page. I have uninstalled UD and UD+, then reinstalled them and still have the warning message. 

issue1_1.JPG

serverbrain3-diagnostics-20211230-2109.zip 142.93 kB · 0 downloads

Post the contents of the '/var/state/unassigned.devices/unasigned.devices.ini' file.

Link to comment
1 hour ago, aikr said:

1) Can create multiple shares on one disk? Ore one device - one share?

 

You can probably manually add additional shares via editing the smb-extra.conf file on the flash drive appropriately

 [UDFOLDER]
  path=/mnt/disks/whateverdrivehere/UDFOLDER
	valid users = andrew
	write list = andrew

 

Link to comment
17 minutes ago, Squid said:

You can probably manually add additional shares via editing the smb-extra.conf file on the flash drive appropriately

 [UDFOLDER]
  path=/mnt/disks/whateverdrivehere/UDFOLDER
	valid users = andrew
	write list = andrew

 

I wouldn't recommend doing that.  UD adds additional things to the share configuration such as the recycle bin if that plugin is installed, and some entries to deal with case sensitive names, and Mac OS interoperability.  It's also very easy to mess up samba shares when making manual entries.

 

A cleaner approach would be to partition the disk with multiple partitions on a PC.  When you put the disk back in Unraid, you then set each partition mount point for the share name you want, and you'll have multiple shares on one disk with all the extra things UD handles.  Down side is each share is limited by the partition size for the shares.

 

If you need more share control than that, use Unraid shares.

  • Thanks 1
Link to comment
3 hours ago, Joegauthjr said:

SQUID sent me here for this problem. I had to hard reset my unraid server because truenas went down before Unraid tried to shutdown (OK I forgot to unmount them before rebooting) and it hung the process.

Now I cannot mount any nsf shares on my truenas VM. Unraid sees them, tries to mount but will not mount.

 

tower-diagnostics-20211231-0958.zip 94.19 kB · 0 downloads

You have multiple issues:

Dec 31 09:43:02 Tower unassigned.devices: Cannot 'Auto Mount' Remote Shares.  Network not available!

The network was not available on startup so remote shares could not be auto mounted.

 

Dec 31 09:45:31 Tower unassigned.devices: Error: Device '172.27.9.81:/mnt/Skywalker/Nikki' mount point '172.27.9.81_Nikki' - name is reserved, used in the array or by an unassigned device.
Dec 31 09:45:31 Tower unassigned.devices: Remote SMB/NFS '172.27.9.81:/mnt/Skywalker/Nikki' cannot be mounted.

You have another UD device with the same name.

 

Dec 31 09:54:14 Tower unassigned.devices: Error: Device '172.27.9.81:/mnt/Skywalker/bkup' mount point '172.27.9.81_bkup' - name is reserved, used in the array or by an unassigned device.
Dec 31 09:54:14 Tower unassigned.devices: Remote SMB/NFS '172.27.9.81:/mnt/Skywalker/bkup' cannot be mounted.
Dec 31 09:54:16 Tower unassigned.devices: Error: Device '172.27.9.81:/mnt/Skywalker/bkup' mount point '172.27.9.81_bkup' - name is reserved, used in the array or by an unassigned device.
Dec 31 09:54:16 Tower unassigned.devices: Remote SMB/NFS '172.27.9.81:/mnt/Skywalker/bkup' cannot be mounted.

This one looks to be duplicated in UD.

 

I'd remove all the NFS remote shares and re-enter them.

Link to comment

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.