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
[-] waspentalive@lemmy.one 2 points 1 year ago

Created a 2tb partition with gparted now writing to failure with dd. Up to 41gb so far.

[-] Efwis@lemmy.zip 1 points 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?

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

I did not see any. Gparted would have shown them to me, right?

[-] Efwis@lemmy.zip 1 points 1 year ago

Kinda depends on the software used to format the drive originally iirc

[-] Efwis@lemmy.zip 1 points 1 year ago

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

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

Now the 2TB drive has received 88GB so far - the write continues.

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

The DD continues now at 170Gb of 1024 - a long way to go... 25mb / s

[-] Efwis@lemmy.zip 1 points 1 year ago

That’s awesome, sounds like hearted may have saved your drive useability.

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

Linux

47307 readers
517 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