Input/Output error on usb drive

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite
1












I have been trying to recover my usb flash drive and have been looking into this question




How to repair a corrupted FAT32 file system




I can not write data or anything into my drive it just gives me the error Input/output error
So I tried



sudo dosfsck -t -a -w /dev/sdb1


and result was like this




fsck.fat 4.1 (2017-01-24)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
There are differences between boot sector and its backup.
This is mostly harmless. Differences: (offset:original/backup)
67:a5/6a, 68:ea/9d, 69:23/81, 70:54/7c
Not automatically fixing this.
/.Trash-1000
Contains a free cluster (1002). Assuming EOF.




After this it gives error of each file in the drive like this




Cluster 3 (50031) is unreadable. Skipping it.
/FRIENDS/Copy of DSC00146.JPG




and then at the end it gives me this




Cluster 0 (52685) is unreadable. Skipping it. Write 4 bytes at
8024884:Input/output error




I couldn't recover my drive. I am asking here after trying my best. Please help me. Thanks



Note : I am using ubuntu 17.10










share|improve this question





















  • Please also tell me if there is a problem with hardware that can not be fixed ......
    – Moeed Azhar
    Apr 12 at 7:18






  • 1




    I/O errors usually mean faulty hardware. Do you care about the data on the USB drive? You should back it up somewhere then as soon as possible. After that, I would completely zero out the device (overwrite it completely with zeroes) using sudo dd if=/dev/zero of=/dev/sdX bs=4M (replace sdX with the USB's device name as shown in lsblk. Make sure it is correct, whatever you specify here will be erased, you don't want to accidentally put your hard disk here!). Sometimes this overwriting gets a device back to work, or at least you will know for sure if it's dead. After that you can reformat it
    – Byte Commander
    Apr 12 at 7:42










  • This doesn't work ....
    – Moeed Azhar
    Apr 12 at 17:36










  • What doesn't work? If you encountered any error messages, please edit your question and describe what exactly did and what happened by adding the full commands you ran and their complete output. We can't guess what's going on on your machine unless you tell us.
    – Byte Commander
    Apr 12 at 20:00














up vote
0
down vote

favorite
1












I have been trying to recover my usb flash drive and have been looking into this question




How to repair a corrupted FAT32 file system




I can not write data or anything into my drive it just gives me the error Input/output error
So I tried



sudo dosfsck -t -a -w /dev/sdb1


and result was like this




fsck.fat 4.1 (2017-01-24)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
There are differences between boot sector and its backup.
This is mostly harmless. Differences: (offset:original/backup)
67:a5/6a, 68:ea/9d, 69:23/81, 70:54/7c
Not automatically fixing this.
/.Trash-1000
Contains a free cluster (1002). Assuming EOF.




After this it gives error of each file in the drive like this




Cluster 3 (50031) is unreadable. Skipping it.
/FRIENDS/Copy of DSC00146.JPG




and then at the end it gives me this




Cluster 0 (52685) is unreadable. Skipping it. Write 4 bytes at
8024884:Input/output error




I couldn't recover my drive. I am asking here after trying my best. Please help me. Thanks



Note : I am using ubuntu 17.10










share|improve this question





















  • Please also tell me if there is a problem with hardware that can not be fixed ......
    – Moeed Azhar
    Apr 12 at 7:18






  • 1




    I/O errors usually mean faulty hardware. Do you care about the data on the USB drive? You should back it up somewhere then as soon as possible. After that, I would completely zero out the device (overwrite it completely with zeroes) using sudo dd if=/dev/zero of=/dev/sdX bs=4M (replace sdX with the USB's device name as shown in lsblk. Make sure it is correct, whatever you specify here will be erased, you don't want to accidentally put your hard disk here!). Sometimes this overwriting gets a device back to work, or at least you will know for sure if it's dead. After that you can reformat it
    – Byte Commander
    Apr 12 at 7:42










  • This doesn't work ....
    – Moeed Azhar
    Apr 12 at 17:36










  • What doesn't work? If you encountered any error messages, please edit your question and describe what exactly did and what happened by adding the full commands you ran and their complete output. We can't guess what's going on on your machine unless you tell us.
    – Byte Commander
    Apr 12 at 20:00












up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





I have been trying to recover my usb flash drive and have been looking into this question




How to repair a corrupted FAT32 file system




I can not write data or anything into my drive it just gives me the error Input/output error
So I tried



sudo dosfsck -t -a -w /dev/sdb1


and result was like this




fsck.fat 4.1 (2017-01-24)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
There are differences between boot sector and its backup.
This is mostly harmless. Differences: (offset:original/backup)
67:a5/6a, 68:ea/9d, 69:23/81, 70:54/7c
Not automatically fixing this.
/.Trash-1000
Contains a free cluster (1002). Assuming EOF.




After this it gives error of each file in the drive like this




Cluster 3 (50031) is unreadable. Skipping it.
/FRIENDS/Copy of DSC00146.JPG




and then at the end it gives me this




Cluster 0 (52685) is unreadable. Skipping it. Write 4 bytes at
8024884:Input/output error




I couldn't recover my drive. I am asking here after trying my best. Please help me. Thanks



Note : I am using ubuntu 17.10










share|improve this question













I have been trying to recover my usb flash drive and have been looking into this question




How to repair a corrupted FAT32 file system




I can not write data or anything into my drive it just gives me the error Input/output error
So I tried



sudo dosfsck -t -a -w /dev/sdb1


and result was like this




fsck.fat 4.1 (2017-01-24)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
There are differences between boot sector and its backup.
This is mostly harmless. Differences: (offset:original/backup)
67:a5/6a, 68:ea/9d, 69:23/81, 70:54/7c
Not automatically fixing this.
/.Trash-1000
Contains a free cluster (1002). Assuming EOF.




After this it gives error of each file in the drive like this




Cluster 3 (50031) is unreadable. Skipping it.
/FRIENDS/Copy of DSC00146.JPG




and then at the end it gives me this




Cluster 0 (52685) is unreadable. Skipping it. Write 4 bytes at
8024884:Input/output error




I couldn't recover my drive. I am asking here after trying my best. Please help me. Thanks



Note : I am using ubuntu 17.10







usb fsck






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 12 at 7:17









Moeed Azhar

97118




97118











  • Please also tell me if there is a problem with hardware that can not be fixed ......
    – Moeed Azhar
    Apr 12 at 7:18






  • 1




    I/O errors usually mean faulty hardware. Do you care about the data on the USB drive? You should back it up somewhere then as soon as possible. After that, I would completely zero out the device (overwrite it completely with zeroes) using sudo dd if=/dev/zero of=/dev/sdX bs=4M (replace sdX with the USB's device name as shown in lsblk. Make sure it is correct, whatever you specify here will be erased, you don't want to accidentally put your hard disk here!). Sometimes this overwriting gets a device back to work, or at least you will know for sure if it's dead. After that you can reformat it
    – Byte Commander
    Apr 12 at 7:42










  • This doesn't work ....
    – Moeed Azhar
    Apr 12 at 17:36










  • What doesn't work? If you encountered any error messages, please edit your question and describe what exactly did and what happened by adding the full commands you ran and their complete output. We can't guess what's going on on your machine unless you tell us.
    – Byte Commander
    Apr 12 at 20:00
















  • Please also tell me if there is a problem with hardware that can not be fixed ......
    – Moeed Azhar
    Apr 12 at 7:18






  • 1




    I/O errors usually mean faulty hardware. Do you care about the data on the USB drive? You should back it up somewhere then as soon as possible. After that, I would completely zero out the device (overwrite it completely with zeroes) using sudo dd if=/dev/zero of=/dev/sdX bs=4M (replace sdX with the USB's device name as shown in lsblk. Make sure it is correct, whatever you specify here will be erased, you don't want to accidentally put your hard disk here!). Sometimes this overwriting gets a device back to work, or at least you will know for sure if it's dead. After that you can reformat it
    – Byte Commander
    Apr 12 at 7:42










  • This doesn't work ....
    – Moeed Azhar
    Apr 12 at 17:36










  • What doesn't work? If you encountered any error messages, please edit your question and describe what exactly did and what happened by adding the full commands you ran and their complete output. We can't guess what's going on on your machine unless you tell us.
    – Byte Commander
    Apr 12 at 20:00















Please also tell me if there is a problem with hardware that can not be fixed ......
– Moeed Azhar
Apr 12 at 7:18




Please also tell me if there is a problem with hardware that can not be fixed ......
– Moeed Azhar
Apr 12 at 7:18




1




1




I/O errors usually mean faulty hardware. Do you care about the data on the USB drive? You should back it up somewhere then as soon as possible. After that, I would completely zero out the device (overwrite it completely with zeroes) using sudo dd if=/dev/zero of=/dev/sdX bs=4M (replace sdX with the USB's device name as shown in lsblk. Make sure it is correct, whatever you specify here will be erased, you don't want to accidentally put your hard disk here!). Sometimes this overwriting gets a device back to work, or at least you will know for sure if it's dead. After that you can reformat it
– Byte Commander
Apr 12 at 7:42




I/O errors usually mean faulty hardware. Do you care about the data on the USB drive? You should back it up somewhere then as soon as possible. After that, I would completely zero out the device (overwrite it completely with zeroes) using sudo dd if=/dev/zero of=/dev/sdX bs=4M (replace sdX with the USB's device name as shown in lsblk. Make sure it is correct, whatever you specify here will be erased, you don't want to accidentally put your hard disk here!). Sometimes this overwriting gets a device back to work, or at least you will know for sure if it's dead. After that you can reformat it
– Byte Commander
Apr 12 at 7:42












This doesn't work ....
– Moeed Azhar
Apr 12 at 17:36




This doesn't work ....
– Moeed Azhar
Apr 12 at 17:36












What doesn't work? If you encountered any error messages, please edit your question and describe what exactly did and what happened by adding the full commands you ran and their complete output. We can't guess what's going on on your machine unless you tell us.
– Byte Commander
Apr 12 at 20:00




What doesn't work? If you encountered any error messages, please edit your question and describe what exactly did and what happened by adding the full commands you ran and their complete output. We can't guess what's going on on your machine unless you tell us.
– Byte Commander
Apr 12 at 20:00















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024265%2finput-output-error-on-usb-drive%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024265%2finput-output-error-on-usb-drive%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491