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


Recommended Posts

hi everyone, I've recently upgraded my Unraid server and added a NVME via PCI adapter.

 

I've formated the NVME in UD and taken out all the partitions multiple times, but whenever it comes out of format, it gives me UDEV button? I've renamed it to nvr1 as it's going to be my drive for my cameras to leave recordings on. I have sharing turned on via SMB and NFS but cannot see it anywhere.

 

Any help would be greatly appreciated:

 

 

 

 

unraid_ud.jpg

Link to comment
4 minutes ago, UR-jay said:

hi everyone, I've recently upgraded my Unraid server and added a NVME via PCI adapter.

 

I've formated the NVME in UD and taken out all the partitions multiple times, but whenever it comes out of format, it gives me UDEV button? I've renamed it to nvr1 as it's going to be my drive for my cameras to leave recordings on. I have sharing turned on via SMB and NFS but cannot see it anywhere.

 

Any help would be greatly appreciated:

 

 

 

 

unraid_ud.jpg

This sommetimes happens with nvme drives.  I have yet to figure it out, but the fix is to click on the double arrows icon in the upper right corner and udev should report the correct file format.

Link to comment
3 minutes ago, dlandon said:

This sommetimes happens with nvme drives.  I have yet to figure it out, but the fix is to click on the double arrows icon in the upper right corner and udev should report the correct file format.

 

Oh thank you!! this worked, I was confused by the double arrows icon, which to me is the "refresh" icon :) I found it and it worked, thank you so much. I've been scratching my head for hours last night trying to figure out why I couldnt see my drive.

Link to comment
1 minute ago, UR-jay said:

 

Oh thank you!! this worked, I was confused by the double arrows icon, which to me is the "refresh" icon :) I found it and it worked, thank you so much. I've been scratching my head for hours last night trying to figure out why I couldnt see my drive.

The "refresh" causes udev to update UD and what Unraid is reporting as unassigned drives.  Harmless even when it isn't neessarily needed.

Link to comment
9 minutes ago, UR-jay said:

 

Oh thank you!! this worked, I was confused by the double arrows icon, which to me is the "refresh" icon :) I found it and it worked, thank you so much. I've been scratching my head for hours last night trying to figure out why I couldnt see my drive.

Did you format the disk zfs?

Link to comment

Hi, all,
I'm trying to mount a usb disk to a w10 vm, somehow I sill haven't been able to figure out why I cant get it to work with the disk I need to. (as temporary solution I have it mounted as a network share)

 

I have the latest version of Unassigned Devices and Libvirt Hotplug USB plugins installed. So, what I do is; plug in the usb drive, it appears in the Unassigned Devices section on the main page and I go to the vms tab. Under Hotplug USB, I select the running w10 vm and usb device, and click attach.

Doing this, with a usb drive (fat, exfat) or another 1TB usb hdd (ntfs), will make it pop up in the vm. Exelent, however the drive I need to connect is won't do this.

 

Here the system log of me plugging in a usb, attaching, detaching and removing the drive;

Nov 25 19:01:50 tower kernel: usb 1-5: new high-speed USB device number 4 using xhci_hcd
Nov 25 19:01:50 tower kernel: usb-storage 1-5:1.0: USB Mass Storage device detected
Nov 25 19:01:50 tower kernel: scsi host8: usb-storage 1-5:1.0
Nov 25 19:01:51 tower kernel: scsi 8:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
Nov 25 19:01:51 tower kernel: sd 8:0:0:0: Attached scsi generic sg11 type 0
Nov 25 19:01:51 tower kernel: sd 8:0:0:0: [sdl] 60437492 512-byte logical blocks: (30.9 GB/28.8 GiB)
Nov 25 19:01:51 tower kernel: sd 8:0:0:0: [sdl] Write Protect is off
Nov 25 19:01:51 tower kernel: sd 8:0:0:0: [sdl] Mode Sense: 45 00 00 00
Nov 25 19:01:51 tower kernel: sd 8:0:0:0: [sdl] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Nov 25 19:01:51 tower kernel: sdl: sdl1
Nov 25 19:01:51 tower kernel: sd 8:0:0:0: [sdl] Attached SCSI removable disk
Nov 25 19:01:52 tower unassigned.devices: Disk with ID 'Kingston_DataTraveler_2.0_-0:0 ()' is not set to auto mount.
Nov 25 19:02:28 tower kernel: br0: port 3(vnet1) entered blocking state
Nov 25 19:02:28 tower kernel: br0: port 3(vnet1) entered disabled state
Nov 25 19:02:28 tower kernel: device vnet1 entered promiscuous mode
Nov 25 19:02:28 tower kernel: br0: port 3(vnet1) entered blocking state
Nov 25 19:02:28 tower kernel: br0: port 3(vnet1) entered forwarding state
Nov 25 19:05:09 tower kernel: usb 1-5: reset high-speed USB device number 4 using xhci_hcd
Nov 25 19:05:10 tower kernel: usb-storage 1-5:1.0: USB Mass Storage device detected
Nov 25 19:05:10 tower kernel: scsi host8: usb-storage 1-5:1.0
Nov 25 19:05:11 tower kernel: scsi 8:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
Nov 25 19:05:11 tower kernel: sd 8:0:0:0: Attached scsi generic sg11 type 0
Nov 25 19:05:11 tower kernel: sd 8:0:0:0: [sdl] 60437492 512-byte logical blocks: (30.9 GB/28.8 GiB)
Nov 25 19:05:11 tower kernel: sd 8:0:0:0: [sdl] Write Protect is off
Nov 25 19:05:11 tower kernel: sd 8:0:0:0: [sdl] Mode Sense: 45 00 00 00
Nov 25 19:05:11 tower kernel: sd 8:0:0:0: [sdl] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Nov 25 19:05:11 tower kernel: sdl: sdl1
Nov 25 19:05:11 tower kernel: sd 8:0:0:0: [sdl] Attached SCSI removable disk
Nov 25 19:05:12 tower unassigned.devices: Disk with ID 'Kingston_DataTraveler_2.0_-0:0 ()' is not set to auto mount.
Nov 25 19:06:50 tower kernel: br0: port 3(vnet1) entered disabled state
Nov 25 19:06:50 tower kernel: device vnet1 left promiscuous mode
Nov 25 19:06:50 tower kernel: br0: port 3(vnet1) entered disabled state
Nov 25 19:07:51 tower kernel: usb 1-5: USB disconnect, device number 4

 

However I have a 8TB Seagate desktop drive which wont connect, here the system log;

Nov 25 20:30:03 tower kernel: usb 2-5: new SuperSpeed USB device number 2 using xhci_hcd
Nov 25 20:30:03 tower kernel: usb-storage 2-5:1.0: USB Mass Storage device detected
Nov 25 20:30:03 tower kernel: scsi host8: usb-storage 2-5:1.0
Nov 25 20:30:04 tower kernel: scsi 8:0:0:0: Direct-Access     Seagate  Desktop          040B PQ: 0 ANSI: 6
Nov 25 20:30:04 tower kernel: sd 8:0:0:0: Attached scsi generic sg11 type 0
Nov 25 20:30:04 tower kernel: sd 8:0:0:0: [sdl] Spinning up disk...
Nov 25 20:30:17 tower kernel: ............ready
Nov 25 20:30:17 tower kernel: sd 8:0:0:0: [sdl] Very big device. Trying to use READ CAPACITY(16).
Nov 25 20:30:17 tower kernel: sd 8:0:0:0: [sdl] 15628053167 512-byte logical blocks: (8.00 TB/7.28 TiB)
Nov 25 20:30:17 tower kernel: sd 8:0:0:0: [sdl] 2048-byte physical blocks
Nov 25 20:30:17 tower kernel: sd 8:0:0:0: [sdl] Write Protect is off
Nov 25 20:30:17 tower kernel: sd 8:0:0:0: [sdl] Mode Sense: 4f 00 00 00
Nov 25 20:30:17 tower kernel: sd 8:0:0:0: [sdl] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Nov 25 20:30:17 tower kernel: sdl: sdl1
Nov 25 20:30:17 tower kernel: sd 8:0:0:0: [sdl] Attached SCSI disk
Nov 25 20:30:18 tower unassigned.devices: Disk with ID 'ST8000DM004- ()' is not set to auto mount.
Nov 25 20:31:22 tower kernel: sd 8:0:0:0: [sdl] Synchronizing SCSI cache
Nov 25 20:32:03 tower kernel: usb 2-5: reset SuperSpeed USB device number 2 using xhci_hcd
Nov 25 20:32:33 tower kernel: usb 2-5: reset SuperSpeed USB device number 2 using xhci_hcd
Nov 25 20:33:17 tower kernel: usb 2-5: reset SuperSpeed USB device number 2 using xhci_hcd
Nov 25 20:33:47 tower kernel: usb 2-5: reset SuperSpeed USB device number 2 using xhci_hcd
Nov 25 20:34:31 tower kernel: usb 2-5: reset SuperSpeed USB device number 2 using xhci_hcd
Nov 25 20:35:01 tower kernel: usb 2-5: reset SuperSpeed USB device number 2 using xhci_hcd

It got stuck here, till i detach; "kernel: hrtimer: interrupt took - ns"

 

Did I miss something, this should work right?

 

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

Did I miss something, this should work right?

 

1 hour ago, ZekerPixels said:
Nov 25 20:30:18 tower unassigned.devices: Disk with ID 'ST8000DM004- ()' is not set to auto mount.

The serial number of that disk is woefully incomplete.  The only thing there is the model number.  There is no seril number.  I'd say that Linux can't handle that.

 

Post diagnostics so I can see what udev reports as the serial number on that disk.  Sometimes some strange characters in the serial number can cause issues.

Link to comment
2 hours ago, itimpi said:

If you want to pass the USB drive through to the VM have you made sure the Passed Through flag is set for that drive in its UD Settings?

A individual drive setting, just to confirm where can I find the passed through flag.

If you refer to the vm settings, then no not checked, but also not needed because of the Libvirt Hotplug USB plugin. Which works perfectly to mount usb drives like a usb stick and other hdds.

 

1 hour ago, dlandon said:

The serial number of that disk is woefully incomplete.  The only thing there is the model number.  There is no seril number.  I'd say that Linux can't handle that.

Post diagnostics so I can see what udev reports as the serial number on that disk.  Sometimes some strange characters in the serial number can cause issues.

Sorry, that was my part in anonymizing information, serial number, my server also isnt called tower, etc.

Link to comment
13 hours ago, ZekerPixels said:

A individual drive setting, just to confirm where can I find the passed through flag.

If you click on the Settings icon for a particular drive under UD then it is a toggle there.   It needs to be set as otherwise UD will take control of the drive stopping the Libvirt Hotplug USB handling it.

Link to comment
1 hour ago, itimpi said:

If you click on the Settings icon for a particular drive under UD then it is a toggle there.   It needs to be set as otherwise UD will take control of the drive stopping the Libvirt Hotplug USB handling it.

I'm currently using that drive with the UD share mounted. Anyways, I didn't see the passed trough toggle initially, because that option disappears when it is mounted.

 

Trying to pass trough my 8TB seagate desktop smr nfts hdd, while doing exactly thesame, same settings, gets stuck every time on that reset line after synchronizing in the log.

sd 8:0:0:0: [sdl] Synchronizing SCSI cache
usb 2-5: reset SuperSpeed USB device number 2 using xhci_hcd
usb 2-5: reset SuperSpeed USB device number 2 using xhci_hcd
usb 2-5: reset SuperSpeed USB device number 2 using xhci_hcd
usb 2-5: reset SuperSpeed USB device number 2 using xhci_hcd

 

I posted a part of the system log before, with a usb that I did manage to mount in the vm and one that doesnt. I tried it again, paying attention to the toggles in the UD settings, but they are set thesame.

Meanwhile I also tried various usb sticks (FAT, exFAT), a 1TB portable ntfs hdd and they mount to the vm directly every time. However I when trying my hdd dock (which i havent used on unraid before) with other big hdds, it doesnt work either.

Edited by ZekerPixels
removed an unrelated error, fixed
Link to comment
1 hour ago, dlandon said:

Can UD mount the disk?

Yes, I can mount the disk, share the partition over the network, read and write data to it. Everything works, except mounting this drive to the vm.

 

I have now tried multiple usb storage devices to pass trough, and they all work as expected;

- usb sticks of various sizes formatted FAT and exFAT

- usb portable 1TB ntfs hdd

- usb portable 256GB ntfs ssd

- usb exclosure and a usb hdd dock with various 500GB, 1TB, 1,5TB, 2TB, 3TB hdds ntfs or zerod in which case they show up in the w10 disk management.

 

However, using the usb enclosure, which is old, with a 4TB ntfs hdd does mount but is not correctly recognized (it reports 16TB). Using the usb dock, this leads to thesame "reset SuperSpeed USB device number 2 using xhci_hcd" as before, with the 8TB external.

I tried both the external enclosure and hdd dock, with his 4TB drive on a windows machine to verify. and the 4TB also doesn't work in the external enclosure and reports 16TB idk. (as i mentioned, it quite old so it could be a limitation) The 4TB disk with the hdd dock is fine on a windows machine.

 

I only have one 4TB available and the 8TB is an external, so I cant test more. But it appears I only have this vm mounting issue only with big >4TB drives. Everything else works in unRAID and they also work under windows.

 

I also tried passing the usb at boot of the vm (so, not using the Libvirt Hotplug USB plugin), but this leads to thesame "usb 2-5: reset SuperSpeed USB device number 13 using xhci_hcd"

Edited by ZekerPixels
Link to comment
2 minutes ago, DiscoverIt said:

The new update isn't processing periods in a host?

image.png.5df81af24a6bd06fcf5374c404a99f24.png

 

and all existing configurations are invalid?

image.png.b09a5b42d78e4972105f1a748a5db161.png

There have been some changes in UD to detect configurations that will cause UD to have problems.  Remove the shares and re-add them as the messge shows.

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.