"device /dev/sdj problem getting id" with multiple SSDs


Howboys

Recommended Posts

So I just got a USB enclosure to pre-clear and test drives before I put them in my unraid system. However, I have been unable to get it to work properly of late (the first 2-3 times I used it a month ago, I had no issues).

 

I tried with a Samsung SSD first:

 

Sep 11 11:51:56 Tower kernel: usb 4-2: new SuperSpeed USB device number 7 using xhci_hcd
Sep 11 11:51:56 Tower kernel: usb-storage 4-2:1.0: USB Mass Storage device detected
Sep 11 11:51:56 Tower kernel: usb-storage 4-2:1.0: Quirks match for vid 174c pid 55aa: 400000
Sep 11 11:51:56 Tower kernel: scsi host11: usb-storage 4-2:1.0
Sep 11 11:51:57 Tower kernel: scsi 11:0:0:0: Direct-Access     ASMT     ASMT105x         0    PQ: 0 ANSI: 6
Sep 11 11:51:57 Tower kernel: sd 11:0:0:0: Attached scsi generic sg9 type 0
Sep 11 11:51:57 Tower kernel: sd 11:0:0:0: [sdj] 937703088 512-byte logical blocks: (480 GB/447 GiB)
Sep 11 11:51:57 Tower kernel: sd 11:0:0:0: [sdj] Write Protect is off
Sep 11 11:51:57 Tower kernel: sd 11:0:0:0: [sdj] Mode Sense: 43 00 00 00
Sep 11 11:51:57 Tower kernel: sd 11:0:0:0: [sdj] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 11 11:51:57 Tower kernel: sdj: sdj1 sdj2
Sep 11 11:51:57 Tower kernel: sd 11:0:0:0: [sdj] Attached SCSI disk
Sep 11 11:52:06 Tower emhttpd: device /dev/sdj problem getting id

 

And then a different SSD:

 

Sep 11 11:56:56 Tower kernel: usb 4-2: new SuperSpeed USB device number 8 using xhci_hcd
Sep 11 11:56:56 Tower kernel: usb-storage 4-2:1.0: USB Mass Storage device detected
Sep 11 11:56:56 Tower kernel: usb-storage 4-2:1.0: Quirks match for vid 174c pid 55aa: 400000
Sep 11 11:56:56 Tower kernel: scsi host11: usb-storage 4-2:1.0
Sep 11 11:56:57 Tower kernel: scsi 11:0:0:0: Direct-Access     ASMT     ASMT105x         0    PQ: 0 ANSI: 6
Sep 11 11:56:57 Tower kernel: sd 11:0:0:0: Attached scsi generic sg9 type 0
Sep 11 11:56:57 Tower kernel: sd 11:0:0:0: [sdj] Spinning up disk...
Sep 11 11:56:58 Tower kernel: .ready
Sep 11 11:56:58 Tower kernel: sd 11:0:0:0: [sdj] 488397168 512-byte logical blocks: (250 GB/233 GiB)
Sep 11 11:56:58 Tower kernel: sd 11:0:0:0: [sdj] Write Protect is off
Sep 11 11:56:58 Tower kernel: sd 11:0:0:0: [sdj] Mode Sense: 43 00 00 00
Sep 11 11:56:58 Tower kernel: sd 11:0:0:0: [sdj] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 11 11:56:58 Tower kernel: sd 11:0:0:0: [sdj] Attached SCSI disk
Sep 11 11:57:02 Tower emhttpd: device /dev/sdj problem getting id

 

I think the problem is that both drives are getting sdj but I'm not sure. Again, I've used this same enclosure with different drives in the past with no issues.

tower-diagnostics-20220911-1157.zip

Link to comment

Not recommended to preclear SSDs

 

Sep 10 04:38:50 Tower sshd[31172]: error: kex_exchange_identification: Connection closed by remote host
Sep 10 04:38:50 Tower sshd[31172]: Connection closed by 100.85.179.103 port 39774

Your syslog is spammed with these, any idea what that is about?

 

sdj doesn't seem to be connected now. Can you connect it some other way?

Link to comment
7 minutes ago, trurl said:

Not recommended to preclear SSDs

 

Sep 10 04:38:50 Tower sshd[31172]: error: kex_exchange_identification: Connection closed by remote host
Sep 10 04:38:50 Tower sshd[31172]: Connection closed by 100.85.179.103 port 39774

Your syslog is spammed with these, any idea what that is about?

 

sdj doesn't seem to be connected now. Can you connect it some other way?

 

I believe that's my tailscale network ip. 

 

And I removed sdj. I can connect it through SATA but the whole point of my USB enclosure is to check disk health before I open up my server.

 

Is there a way to make unRAID "forget" sdj? 

Link to comment
1 hour ago, Howboys said:

the whole point of my USB enclosure is to check disk health before I open up my server.

USB is not recommended for a whole host of reasons, what you are experiencing is one of them. Not all enclosures are created equal, some work better than others.

1 hour ago, Howboys said:

 

Is there a way to make unRAID "forget" sdj? 

Reboot.

Link to comment
12 hours ago, JorgeB said:

Looks like the first device was still in use when it was disconnected, hence the following problems, rebooting will fix it.

 

(unrelated to this issue but) I think that might have happened because preclear on USB3 ports seems to not work properly (-110 error code as you can probably see in the diagnostics I attached above). The pre-read happens for a couple of minutes at high speeds and then the device is just disconnected. Doesn't happen on USB2 so it's not the enclosure.

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.