I have some drives of various sizes, 1TB, 2TB etc. I am currently working with a 2 TB drive. I place it in a powered external USB-3 drive enclosure. I can see it in lsblk as the correct size (as SDA) , but the disk manager does not see /dev/sda, and fdisk only wants to let me create a 5 GB partition.

If I dd if=/dev/zero of=/dev/sda bs=400K status=progress writes 5 GB and claims my 2 TB drive (In this case) is full.

Is there a way to reclaim this drive? Any information on the drive is unimportant.

    • Efwis
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Sounds like that drive is gone. I’m betting it has dead blocks/sectors

    • Efwis
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Well that is a good sign then. You have definitely broken that 5gb issue. Did you happen to notice if there was. Hidden petition on there?