Jump to content

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


Recommended Posts

On 10/6/2024 at 3:23 PM, dlandon said:

Go to a command line and enter the command 'ud_diagnostics', then post the /flash/logs/ud_diagnostics.zip file.  Also post the Unraid diagnostics.

Hi again,

I found out the issue was because I wasn't detaching the drives before disconnecting them from the server. After the detach of one of the 2 drives I have, my second one was also able to re-connect, odd.

With regular USB sticks I never had to detach, but seems to be necessary for external Nvme drives, the button is a bit hidden away in the drive properties, maybe making the detach button available in the device list page next to the mount button would be nice :)

 

Thank you.

Edited by l3gion
Link to comment
18 minutes ago, l3gion said:

Hi again,

I found out the issue was because I wasn't detaching the drives before disconnecting them from the server. After the detach of one of the 2 drives I have, my second one was also able to re-connect, odd.

With regular USB sticks I never had to detach, but seems to be necessary for external Nvme drives, the button is a bit hidden away in the drive properties, maybe making the detach button available in the device list page next to the mount button would be nice :)

 

Thank you.

You can detach the device programatically in a script.  Go to the UD page and click on the help icon and look at the rc.unassigned script commands for how to do it.

 

It's also included in the default UD device script, but is commented out.

 

Just be sure the device is fully unmounted first.

Link to comment
8 hours ago, dlandon said:

Post ud_diagnostics by going to a command line and executing the command 'ud_diagnostics' and then post the '/flash/logs/ud_diagnostics.log file'.  Also post Unraid diagnostics.

 

unraid1-diagnostics-20241012-1203.zip ud_diagnostics-20241012-120220.zip

Edited by timc6896
This set of logs captures when everything was working to the behavior that I'm seeing where the drives are not accessible because they have changed to "Reboot" instead off spundown.
Link to comment
1 hour ago, timc6896 said:

Here's what I'm looking at

B60F405B-74B3-421E-AEA0-A1E81652174C.jpeg

It looks like your expander is reporting disk partitions incorrectly, or Linux is confused about partiutions.  For example:

[/dev/sdq]
ACTION="add"
DEVLINKS="/dev/disk/by-id/ata-HUH728080ALE601_VJGU11NX-part1 /dev/disk/by-id/wwn-0x5000cca261cb613b-part1 /dev/disk/by-label/_VJGU11NX /dev/disk/by-partuuid/ba941532-6339-466e-b184-207d8dca3dc7 /dev/disk/by-path/pci-0000:00:10.0-sas-exp0x50030480004c4cbf-phy26-lun-0-part1 /dev/disk/by-uuid/3d1454c4-d04d-40f4-90ef-07979c3a2eb6"
DEVNAME="/dev/sdcq1"
DEVPATH="/devices/pci0000:00/0000:00:10.0/host4/port-4:0/expander-4:0/port-4:0:277/end_device-4:0:277/target4:0:315/4:0:315:0/block/sdcq/sdcq1"
DEVTYPE="partition"

Is reporting partition '/dev/sdcq1' on disk '/dev/sdq'.

 

[/dev/sdcb]
ACTION="add"
DEVLINKS="/dev/disk/by-id/ata-HUH728080ALE601_VJGU11NX-part1 /dev/disk/by-id/wwn-0x5000cca261cb613b-part1 /dev/disk/by-label/_VJGU11NX /dev/disk/by-partuuid/ba941532-6339-466e-b184-207d8dca3dc7 /dev/disk/by-path/pci-0000:00:10.0-sas-exp0x50030480004c4cbf-phy26-lun-0-part1 /dev/disk/by-uuid/3d1454c4-d04d-40f4-90ef-07979c3a2eb6"
DEVNAME="/dev/sdcq1"

Is reporting partition '/dev/sdcq1' on disk '/dev/sdcb'.

 

Try downgrading to a version of Unraid that you think may have worked.  Also try Unraid 7.0 beta and see if that works.

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.

×
×
  • Create New...