After windows failed to format my external raw drive, I gave a shot to Gparted in linux. Gparted says "ërror input/output error during read on /dev/sdb" Clicking ignore I can see my drive labeled "unallocated" trying creating a new partition table it says "libparted bug found, ërror input/output error during read on /dev/sdb " I have looked on many answers and cant seem to help. I have also tried cfdisk, fdisk without success.
Asked
Active
Viewed 2.6k times
1 Answers
1
I highly recommend making a backup of your data before proceeding further.
A message such as libparted bug found, error input/output error during read on /dev/sdb indicates that a hardware issue was encountered. The problem could be as simple as a loose cable, or as serious as a failing hard drive.
When the error occurs, you can try entering the dmesg command in a terminal window and see if the tail of the output contains any indications of problems with drive /dev/sdb.
You might also try downloading hard drive testing software from the HDD manufacturer web site and running it on the drive. Be forewarned that sometimes this testing software might overwrite your drive so be sure to have a backup first.

Curtis Gedak
- 1,109
sudo dd if=/dev/zero of=/dev/sdz
where ./dev/sdz is the drive path to overwrite. – Curtis Gedak Sep 27 '16 at 22:59dd
is a little crude for the job. There are much more suitable tools likebadblocks
. See the answers to the linked question. – David Foerster Oct 01 '16 at 02:55