Ubuntu 20.04. I have a new 32gb usb drive and I cannot copy more than roughly 200mb on it. It then tries to copy more but cannot and I cannot cancel anything. I am forced to remove the device.
I tried formatting it with the disk utility and gparted. I have used fat, ntfs and ext4 type of partition.
From suggestion from this site, I also tried dd and mkusb. Each time it shows that the volume is 32gb and it works correctly.
Is there any tool that would help me fix this drive?
Edit 1: So I tried the f3probe and here is the output:
Good news: The device `/dev/sdc' is the real thing
Device geometry:
*Usable* size: 28.91 GB (60628992 blocks)
Announced size: 28.91 GB (60628992 blocks)
Module: 32.00 GB (2^35 Bytes)
Approximate cache size: 0.00 Byte (0 blocks), need-reset=no
Physical block size: 512.00 Byte (2^9 Bytes)
Probe time: 13'40"
Operation: total time / count = avg time
Read: 424.7ms / 4815 = 88us
Write: 13'38" / 4192321 = 195us
Reset: 0us / 1 = 0us
So it seems genuine. As for speed test of writing, it seems ok as long as the sample are small, for example:
sudo dd if=/dev/zero of=/dev/sdc bs=1M count=25
25+0 enregistrements lus
25+0 enregistrements écrits
26214400 octets (26 MB, 25 MiB) copiés, 13,0983 s, 2,0 MB/s
but I ran a sudo dd if=/dev/zero of=/dev/sdc bs=1M count=50
and I waited 30min before unpluging it, because it was stucked.
As for the reading :
sudo dd if=/dev/sdc of=/dev/null bs=1M count=1024
1024+0 enregistrements lus
1024+0 enregistrements écrits
1073741824 octets (1,1 GB, 1,0 GiB) copiés, 54,0052 s, 19,9 MB/s
So it seems that the drive is actually broken, it is surprising because I bought a pack of 3 and all 3 are broken the same way. It is also a fairly known brand: Philips. I will see to get refund or replacement.
Thank you for your help
dd
on the device? Check the read and write performance separately.