23
submitted 1 year ago by waspentalive@lemmy.one to c/linux@lemmy.ml

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.

you are viewing a single comment's thread
view the rest of the comments
[-] MisterDigital@feddit.de 2 points 1 year ago

Have you tried it with a different enclosure or directly connected to your PC? My last two "faulty" HDDs actually just had a faulty controller in the enclosure. Drives were fine.

[-] waspentalive@lemmy.one 3 points 1 year ago

This enclosure was working up till when I stopped a dd to try something faster.

this post was submitted on 07 Jul 2023
23 points (100.0% liked)

Linux

47214 readers
755 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS