Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i have a 500gb external drive (Maxtor One Touch) some days ago i moved some files from the destkop to it. the operation failed (on the disk there are only 4 or 5 incomplete files ) and i can't remove those files. i tried through nautilus and from the command line but nothing.. any idea? thanks

share|improve this question
2  
Please attach the drive to your computer, open a terminal and paste the output of the command mount (use paste.ubuntu.com if it's too long). –  htorque Jan 15 '11 at 19:02
    
Can you tell us what you did on the command line? Did you try doing a disk check on the external drive? And please add what format your drive is in (e.g. EXT4, EXT3, XFS, NTFS, FAT32, EXFAT, etc). –  RolandiXor Jan 15 '11 at 19:02
    
paste.ubuntu.com/554480 here the output of the command the filesystem is NTFS. what do you mean for disk check? (with all the other stuff on it the disk works well) on the command line i tryed to remove files with rm -f as normal(buzz) user and as root –  Buzz Jan 15 '11 at 19:47
1  
Please check the disk as it might have errors. If you have windows let windows check it. –  RolandiXor Jan 15 '11 at 19:55
    
how can i do it with ubuntu? –  Buzz Jan 15 '11 at 20:00
show 3 more comments

2 Answers

Unmount the drive and run sudo fsck /dev/sdb1 -f , (seems sdb1 is the partition you want to check). If it's a NTFS partition, run sudo ntfsfix /dev/sdb1

share|improve this answer
    
Please note that in the case of a NTFS partition, ntfsfix will only fix BIG errors or inconsistencies, and will mark it for automatic chkdsk next time (in Windows). –  luri Jan 16 '11 at 1:18
    
As you can see from the mount output, the drive is mounted 'rw' (read/write) - if there were filesystem errors, it wouldn't mount it at all or only as 'ro' (read-only). –  htorque Jan 16 '11 at 12:17
    
here there is the output of sudo ntfsfix /dev/sdb1 paste.ubuntu.com/554784 –  Buzz Jan 16 '11 at 17:12
    
and after that have you run chkdsk on it? –  luri Jan 16 '11 at 21:36
2  
@htorque really? it seems quite possible there are errors that won't be detected at mount time, or that wouldn't cause it to be remounted readonly. –  poolie Apr 18 '11 at 3:44
add comment

If you're able to hook it up to a different computer you can delete them that way or disk defragmentate the hard drive on a Windows computer. I have some Maxtor external hard drives, and they aren't the best, unfortunately, but hooking it up to a different computer and deleting them that way usually works for me

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.