Score:0

Cannot read SSD inserted into USB enclosure

va flag

Summary

I inserted an old internal SSD (which should have been in good health / not corrupted) into a USB enclosure, but I can't get any data from it.

Background

My old Kubuntu laptop with an encrypted (LUKS) SSD (Samsung MZ-VLV5120 512GB M.2 PCIe NVMe 2280) stopped working. I took it into a shop, and they figured that some power-related component was destroyed. They replaced it, and the laptop came back on and booted up to the point of needing to unlock the encrypted SSD, so the SSD seems to have been OK.

Now, because the component they used was not the right size, they couldn't close it up properly, and they've been delaying for weeks. In the meantime, I got a new laptop, so I finally asked them to just give me the SSD, and I inserted it into a Sabrent USB 3.2 Type-C Enclosure for M.2 PCIe NVMe and SATA SSDs to move my data to my new laptop.

There's a fresh install of Kubuntu 20.04 on the new laptop.

Problem

When I connect the enclosure to the laptop, it comes on (enclosure LED comes on), and it shows up as /dev/sda, but I don't seem to be able to do anything with it. For example, it's not detected by KDE Partition Manager.

Also, I tried to take a backup image of it with gddrescue before trying anything else, just to be safe, but that doesn't seem to work either. By the way, I used to back up the SSD when it was still inside the ruined laptop with gddrescue, and it worked fine. But now, the process terminates immediately without doing anything:

GNU ddrescue 1.23
Press Ctrl-C to interrupt
     ipos:        0 B, non-trimmed:        0 B,  current rate:       0 B/s
     opos:        0 B, non-scraped:        0 B,  average rate:       0 B/s
non-tried:        0 B,  bad-sector:        0 B,    error rate:       0 B/s
  rescued:        0 B,   bad areas:        0,        run time:          0s
pct rescued:    0.00%, read errors:        0,  remaining time:         n/a
                              time since last successful read:         n/a
Finished

Questions

  1. Is there something else I would need to do in order to access the data in a case like this?
  2. Does what I'm seeing mean the drive might now be damaged? To be honest, one of the reasons I asked the shop to give it to me is that I started worrying that they might have been causing additional damage which is why they've been having delays/problems.
  3. Is there a chance the enclosure itself is showing up as /dev/sda, but the actual drive is not being read at all?
  4. Would there be a point trying to insert it into a different (compatible) PC, rather than trying to access from a USB enclosure?

Any help/suggestions appreciated.

P.S.: The most obvious comment would be: "why don't you just get the data from the backups you've mentioned". Unfortunately, I've lost the most recent backups of the drive, and the ones I do have are missing a lot of valuable information/work.

waltinator avatar
it flag
Watch `sudo journalctl --follow` as you connect the USB. Look at `mount` to see if/how it gets mounted.Explore your Mount/Read/Write/Execute problems with `https://github.com/waltinator/pathlld`, a `bash` script.
oldfred avatar
cn flag
Is your new install also LVM with encryption? If not you need those drivers `sudo apt-get install lvm2 cryptsetup`. The only way you get your info from an encrypted partition is by correctly mounting it & decrypting it. For mounting encrypted see first few lines: https://askubuntu.com/questions/262211/how-do-i-resize-an-encrypted-lvm-to-install-another-copy-of-ubuntu
Score:0
va flag

I've just noticed that this question was still open, even though I actually resolved the problem a while back, so updating for closure:

The (lame) explanation was that I just hadn't pushed the SSD hard/far enough into the connector (I guess, because I was worried about causing damage), so it hadn't made proper connection. When I connected the enclosure to the PC, the enclosure's circuits would come on (LED worked and could see /dev/sda device), but the actual SSD was not connected. When I eventually decided to push in a bit harder and it popped in properly, everything was fine.

This almost makes the question pointless, but I'm leaving it anyway just in case anybody runs into the same situation and is confused: you just might need to be less gentle with your hardware! :D

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.