[SOLVED] error with SSD : /dev/sda unrecognised disk label unable to mount, retrieve data possible ?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
error with SSD : /dev/sda unrecognised disk label unable to mount, retrieve data possible ?
(note : if this post appears many times in hardware sections, I'm sorry, I have some issues with my account, I don't see my publications appearing even after nearly one hour, so I'm trying in the newbie section. My apologies if it seems messy :S )
Hi,
Since yesterday, I'm trying to figure out the issue that occurred with the data from my SSD.The device where I have the problem is usually not working on linux but windows10. As I failed to fix it from windows, I currently work on it from a flash usb linux mint.
Here is the problem :
After a win10 crash, I'm unable to find my SSD volume that is ment to be of 480GB. The OS was installed on it so I had to reinstall windows on an other HD that have no problem. The device itself is recognised by the BIOS, and even on disk manager and peripheries, I tried inverting SATA connections and the problem persists so I think its not a connection issue.
The disk manager on mint detects it as a 16kb HD, and says SMART is not supported. I cannot access to drive settings, as SMART Data & Self-Tests.
I tried to get more information installing smartmontools and libatasmart.
Here is what I get :
With libatasmart :
Code:
Device: sat16:/dev/sda
Type: 16 Byte SCSI ATA SAT Passthru
Size: 0 MiB
Model: [Sandisk Milpitas SSD]
Serial: []
Firmware: [0.00]
SMART Available: no
Quirks:
Awake: yes
ATA SMART not supported.
With smartmontools :
Code:
Device Model: Sandisk Milpitas SSD
Serial Number: [No Information Found]
Firmware Version: 0.00
User Capacity: 16,384 bytes [16.3 KB]
Sector Size: 512 bytes logical/physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ATA/ATAPI-6 T13/1410D revision 1
Local Time is: Sat Nov 9 21:07:00 2019 UTC
SMART support is: Unavailable - device lacks SMART capability.
what I get with fdisk -l :
(The dev/sda seems to be the only one problematic ?)
Code:
fdisk -l
Disk /dev/loop0: 1.8 GiB, 1925435392 bytes, 3760616 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 16 KiB, 16384 bytes, 32 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 5DBBFC28-A616-49F3-B5A7-6CBFBF92D1F3
Device Start End Sectors Size Type
/dev/sdb1 34 32767 32734 16M Microsoft reserved
/dev/sdb2 32768 3702226943 3702194176 1.7T Microsoft basic data
/dev/sdb3 3702226944 3703310335 1083392 529M Windows recovery environment
/dev/sdb4 3703310336 3703515135 204800 100M EFI System
/dev/sdb5 3703515136 3907028991 203513856 97G Microsoft basic data
Partition 1 does not start on physical sector boundary.
Disk /dev/sdc: 14.5 GiB, 15514730496 bytes, 30302208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x65dbb3bc
Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 0 3924479 3924480 1.9G 0 Empty
/dev/sdc2 652 5323 4672 2.3M ef EFI (FAT-12/16/32)
Disk /dev/sdd: 931.5 GiB, 1000170586112 bytes, 1953458176 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C9A468EC-4818-4BC0-B57C-A8A818FB2CD4
Device Start End Sectors Size Type
/dev/sdd1 2048 1031059455 1031057408 491.7G Microsoft basic data
/dev/sdd2 1031059456 1953456127 922396672 439.9G Microsoft basic data
Before re-installing windows and switching to mint, I also tried to identify it with diskpart but unsuccessfully. I only have my secondary HDD detected (on which all the data is ok).
I would like to know if there is a way to access again to SSD without formatting (I didn't tried to format the 16kb partition that appears on the disk manager, I don't know if it will help to something :S), or a way to recover the data from the SSD before (as I have some important data on it)?
I've found only one similar issue on the web (on this forum) but It didn't helped me that much to solve the problem: https://www.linuxquestions.org/quest...unt-it-827254/
I don't know if I'm assessing it rightly (I'm not very experienced), so I've tried to explain the situation the most clearly possible...
If you come with any idea to help solving this situation, thank you !
Last edited by Phanerology; 11-10-2019 at 08:01 AM.
Reason: some advance on the identification of the issue
OKay I'll try this. Just I'm not sure to see exactly how I am supposed to proceed. This is what I get when I try to identify the superblocks location :
Code:
$ sudo /sbin/dumpe2fs dev/sda | less
dumpe2fs 1.44.1 (24-Mar-2018)
/sbin/dumpe2fs: No such file or directory while trying to open dev/sda
Couldn't find valid filesystem superblock.
I tried the command on other disks and get the same result. As I understand the superblocks, this may be caused by the fact that when the data has been overwritted, I was running under windows. Is there a superblock save copy equivalent made by windows ? Or am I doing something wrong ? Can It work If I create an ext2 file system ? Here is the filesystem :
Configuration:
Logical max current
cylinders 16383 1
heads 16 4
It looks like something might have set a Host Protected Area that covers most of the drive. What does "hdparm -N /dev/sda" report? You may have to use "hdparm -N p{value}" to restore the full number of visible sectors. See the manpage for hdparm for details and warnings.
A quick search found several threads where a similar Sandisk SSD has died and either shows zero or 16 KiB for total size. You can try testdisk or other recovery utilities but probably the disk is unrecoverable.
It looks like something might have set a Host Protected Area that covers most of the drive. What does "hdparm -N /dev/sda" report? You may have to use "hdparm -N p{value}" to restore the full number of visible sectors. See the manpage for hdparm for details and warnings.
I'm not sure to understand how to use the -N p{value} setting, shall it correspond to the max sector number (252)?
Quote:
A quick search found several threads where a similar Sandisk SSD has died and either shows zero or 16 KiB for total size. You can try testdisk or other recovery utilities but probably the disk is unrecoverable.
I already sent yesterday a guarantee request to sandisk, since I have this disk only for one hear and a half. I pleasantly noticed that I was more organised than I thought and that I had mostly softwares inside of the SSD, actual data was on the HDD for which I do frequent saves on an external disk. Still some stuff has been lost but not the essential
Last edited by Phanerology; 11-11-2019 at 01:11 PM.
I pleasantly noticed that I was more organised than I thought and that I had mostly softwares inside of the SSD, actual data was on the HDD for which I do frequent saves on an external disk. Still some stuff has been lost but not the essential
That's what matters most! Best of luck getting a reimbursement.
I'm not sure to understand how to use the -N p{value} setting, shall it correspond to the max sector number (252)?
Given that the query for the current visible sectors failed, there is no point in proceeding that way. As has been pointed out, it looks like a failed device and is unrecoverable.
Thanks for your help,
I've yet got a positive response from sandisk assistance and I'll get delivered the new SSD during the week. I wasn't suspecting it to be so quick and easy but I'll not complain
I guess I can mark the subject as solved.
Have a nice day !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.