Use the cfdisk
utility. Enter cfdisk /dev/sdb
from a root shell.
From there you can view, delete and edit partitions and see what Linux believes is the true capacity of the whole drive very easily.
If cfdisk
tells you it's a 1073MByte SSD, try the following:
It may not like your USB 3.0 adapter or your USB 3.0 adapter is defective. Was this working when connected to a SATA port? Try reconnecting it to a SATA port and see what
cfdisk
says then.Try applying a firmware update to your USB 3.0 adapter if possible (unlikely but possible). It would be strange for anything in the USB 3.0 generation to have issues with drive capacities (some older ones won't support >2TB disks, for example)
If you plug this into a SATA port and
cfdisk
still tells you it's 1073MB in capacity, try updating the SSD firmware if Sandisk has one on their site. Then I would completely TRIM the drive withblkdiscard /dev/sdb
Disclaimer: At this point any data on that disk is gone anyway and these steps will probably make anything on their completely unrecoverable.If no firmware update, do a security erase with
hdparm
and see if that helps. There's various other low-level reset optionshdparm
offers.
Disclaimer: Be 100% sure that you know your SSD's device before doing the above, especially if you do the blkdiscard
or hdparm
commands. Best to burn a live CD and work with only that drive connected via SATA if you get that far.