unable to delete file - rm: cannot remove Input/output error
Some file is in my NTFS file system which I can't delete. It's giving this error:
rm: cannot remove `zigBqC04': Input/output error
Any other files also could not be copied in that folder and showing error message as:
Error opening file 'file-path': Input/output error
Any solution.
command-line permissions security
add a comment |
Some file is in my NTFS file system which I can't delete. It's giving this error:
rm: cannot remove `zigBqC04': Input/output error
Any other files also could not be copied in that folder and showing error message as:
Error opening file 'file-path': Input/output error
Any solution.
command-line permissions security
Related/duplicate: askubuntu.com/q/74105/44293
– Bleeding Fingers
Jun 6 '15 at 20:46
add a comment |
Some file is in my NTFS file system which I can't delete. It's giving this error:
rm: cannot remove `zigBqC04': Input/output error
Any other files also could not be copied in that folder and showing error message as:
Error opening file 'file-path': Input/output error
Any solution.
command-line permissions security
Some file is in my NTFS file system which I can't delete. It's giving this error:
rm: cannot remove `zigBqC04': Input/output error
Any other files also could not be copied in that folder and showing error message as:
Error opening file 'file-path': Input/output error
Any solution.
command-line permissions security
command-line permissions security
edited May 7 '14 at 13:55
Parto
9,3111965103
9,3111965103
asked Jul 27 '13 at 15:54
Prakhar
158115
158115
Related/duplicate: askubuntu.com/q/74105/44293
– Bleeding Fingers
Jun 6 '15 at 20:46
add a comment |
Related/duplicate: askubuntu.com/q/74105/44293
– Bleeding Fingers
Jun 6 '15 at 20:46
Related/duplicate: askubuntu.com/q/74105/44293
– Bleeding Fingers
Jun 6 '15 at 20:46
Related/duplicate: askubuntu.com/q/74105/44293
– Bleeding Fingers
Jun 6 '15 at 20:46
add a comment |
4 Answers
4
active
oldest
votes
Looks like the filesystem has some errors on it. Do full scandisk /checkdisk from windows.
(scan disk for errors)
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
yes it was. Thanks.
– Prakhar
Oct 8 '13 at 8:34
add a comment |
may need to be logged in a root to do this. If so, type:
sudo su
in to Terminal and navigate with terminal to where zigBqC04
is and rm <filename>
to remove files or rmdir <dir>
to delete folders replace <---> with the file or folder name. Wild cards ( & ?) can be used.*
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
add a comment |
If it is an NTFS or FAT file system and you don't have access to Windows just copy the files that you want to keep from the USB drive onto your hard drive. Then format the USB drive again using GPARTED or similar partition manager to NTFS or FAT. Followed by copying all the files back onto the USB drive. Worked for me.
add a comment |
A workaround that thankfully worked for me was to plug the drive into a Windows system and delete the offending files and folders using Shift + Delete (immediate delete without Recycle Bin).
After that, the issue seemed to be resolved when the drive was returned to Ubuntu.
add a comment |
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f325343%2funable-to-delete-file-rm-cannot-remove-input-output-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Looks like the filesystem has some errors on it. Do full scandisk /checkdisk from windows.
(scan disk for errors)
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
yes it was. Thanks.
– Prakhar
Oct 8 '13 at 8:34
add a comment |
Looks like the filesystem has some errors on it. Do full scandisk /checkdisk from windows.
(scan disk for errors)
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
yes it was. Thanks.
– Prakhar
Oct 8 '13 at 8:34
add a comment |
Looks like the filesystem has some errors on it. Do full scandisk /checkdisk from windows.
(scan disk for errors)
Looks like the filesystem has some errors on it. Do full scandisk /checkdisk from windows.
(scan disk for errors)
answered Jul 28 '13 at 10:03
staticd
1,67511116
1,67511116
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
yes it was. Thanks.
– Prakhar
Oct 8 '13 at 8:34
add a comment |
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
yes it was. Thanks.
– Prakhar
Oct 8 '13 at 8:34
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
yes it was. Thanks.
– Prakhar
Oct 8 '13 at 8:34
yes it was. Thanks.
– Prakhar
Oct 8 '13 at 8:34
add a comment |
may need to be logged in a root to do this. If so, type:
sudo su
in to Terminal and navigate with terminal to where zigBqC04
is and rm <filename>
to remove files or rmdir <dir>
to delete folders replace <---> with the file or folder name. Wild cards ( & ?) can be used.*
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
add a comment |
may need to be logged in a root to do this. If so, type:
sudo su
in to Terminal and navigate with terminal to where zigBqC04
is and rm <filename>
to remove files or rmdir <dir>
to delete folders replace <---> with the file or folder name. Wild cards ( & ?) can be used.*
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
add a comment |
may need to be logged in a root to do this. If so, type:
sudo su
in to Terminal and navigate with terminal to where zigBqC04
is and rm <filename>
to remove files or rmdir <dir>
to delete folders replace <---> with the file or folder name. Wild cards ( & ?) can be used.*
may need to be logged in a root to do this. If so, type:
sudo su
in to Terminal and navigate with terminal to where zigBqC04
is and rm <filename>
to remove files or rmdir <dir>
to delete folders replace <---> with the file or folder name. Wild cards ( & ?) can be used.*
answered Jul 27 '13 at 16:03
SimplySimon
3,82572650
3,82572650
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
add a comment |
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
add a comment |
If it is an NTFS or FAT file system and you don't have access to Windows just copy the files that you want to keep from the USB drive onto your hard drive. Then format the USB drive again using GPARTED or similar partition manager to NTFS or FAT. Followed by copying all the files back onto the USB drive. Worked for me.
add a comment |
If it is an NTFS or FAT file system and you don't have access to Windows just copy the files that you want to keep from the USB drive onto your hard drive. Then format the USB drive again using GPARTED or similar partition manager to NTFS or FAT. Followed by copying all the files back onto the USB drive. Worked for me.
add a comment |
If it is an NTFS or FAT file system and you don't have access to Windows just copy the files that you want to keep from the USB drive onto your hard drive. Then format the USB drive again using GPARTED or similar partition manager to NTFS or FAT. Followed by copying all the files back onto the USB drive. Worked for me.
If it is an NTFS or FAT file system and you don't have access to Windows just copy the files that you want to keep from the USB drive onto your hard drive. Then format the USB drive again using GPARTED or similar partition manager to NTFS or FAT. Followed by copying all the files back onto the USB drive. Worked for me.
answered Sep 3 '17 at 18:13
Jacques MALAPRADE
5952925
5952925
add a comment |
add a comment |
A workaround that thankfully worked for me was to plug the drive into a Windows system and delete the offending files and folders using Shift + Delete (immediate delete without Recycle Bin).
After that, the issue seemed to be resolved when the drive was returned to Ubuntu.
add a comment |
A workaround that thankfully worked for me was to plug the drive into a Windows system and delete the offending files and folders using Shift + Delete (immediate delete without Recycle Bin).
After that, the issue seemed to be resolved when the drive was returned to Ubuntu.
add a comment |
A workaround that thankfully worked for me was to plug the drive into a Windows system and delete the offending files and folders using Shift + Delete (immediate delete without Recycle Bin).
After that, the issue seemed to be resolved when the drive was returned to Ubuntu.
A workaround that thankfully worked for me was to plug the drive into a Windows system and delete the offending files and folders using Shift + Delete (immediate delete without Recycle Bin).
After that, the issue seemed to be resolved when the drive was returned to Ubuntu.
answered Dec 18 at 4:55
Shaun of the Dead
314
314
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f325343%2funable-to-delete-file-rm-cannot-remove-input-output-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Related/duplicate: askubuntu.com/q/74105/44293
– Bleeding Fingers
Jun 6 '15 at 20:46