Fedora Linux Support Community & Resources Center
  #1  
Old 10th March 2012, 08:48 PM
vinicius Offline
Registered User
 
Join Date: Nov 2009
Posts: 46
linuxchrome
corrupted files

I have an external disk with 2T of memory of which ~500G are being used. It is formatted as:

[root@localhost hn2-vinicius]# fdisk -l

Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006055c

Device Boot Start End Blocks Id System
/dev/sdc1 63 3907024064 1953512001 c W95 FAT32 (LBA)


My problem is that I have a folder within the disk, from an earlier backup, in which all files became corrupt. I want to delete the folder (and the files) but the computer wont let me. I log in as root and when I try to remove it I get


[root@localhost hn2-vinicius]# rm -fr hn2_vinicius_final
rm: cannot remove `hn2_vinicius_final/\017╥+\023c.▒': Read-only file system
rm: cannot remove `hn2_vinicius_final/8d:4╜\035.└a': Read-only file system
rm: cannot remove `hn2_vinicius_final/f~┤avh*Γ.╚┴c': Read-only file system
rm: cannot remove `hn2_vinicius_final/6\v)3░.1\031': Read-only file system
rm: cannot remove `hn2_vinicius_final/e\006σ▌k.l(': Read-only file system
rm: cannot remove `hn2_vinicius_final/qm─╢r\vσ.╓d': Read-only file system
rm: cannot remove `hn2_vinicius_final/─|╖δ\0212╜.|': Read-only file system
rm: cannot remove `hn2_vinicius_final/\036╪═z.▒\002': Read-only file system
rm: cannot remove `hn2_vinicius_final/∙\r3┐1╩o.Θx': Read-only file system
rm: cannot remove `hn2_vinicius_final/f┐\004\rhq..≤δ': Read-only file system
rm: cannot remove `hn2_vinicius_final/α\017\'τ╬o.B5': Read-only file system
rm: cannot remove `hn2_vinicius_final/⌠+≈\026α╗φ.)e▌': Read-only file system
rm: cannot remove `hn2_vinicius_final/╨+╧╗eΓ\016.\fl': Read-only file system
rm: cannot remove `hn2_vinicius_final/Θ═π\r.╤┤': Read-only file system
rm: cannot remove `hn2_vinicius_final/│e\017wσp.≥└0': Read-only file system


Shown above is just a small number of lines of the output because I get thousands of them. I try to run FSCK to try to correct the problems and what I get is

[root@localhost hn2-vinicius]# fsck -a /dev/sdc1
fsck from util-linux 2.20.1
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN

Unfinished long file name ":1EU:1kW:Es6:F4l:6yf:93o:0FS:5Jj:Fv8:2vCSgXA: As-".
(Start may have been overwritten by �-�;[NDE.6\022�)
Not auto-correcting this.
Reserved field in VFAT long filename slot is not 0 (but 0x06).
Auto-setting to 0.
Start cluster field in VFAT long filename slot is not 0 (but 0xdd12).
Auto-setting to 0.
Unfinished long file name "qq:9LO:9WA:5uQ:A4r:0Am:3q8:0VD:ALs:10h:AQrDh: FDO".
(Start may have been overwritten by �\021�\205���\222.L�V)
Not auto-correcting this.


/vinicius-total2/vinicius/Desktop/PhD/tese/tese-IMPRESSA/artigosmeus-bkp/hn2-vinicius/hn2_vinicius_final/\025�E�\024 ��.�\227u
Bad short file name (\025�E�\024 ��.�\227u).
Auto-renaming it.
Renamed to FSCK0000.191
/vinicius-total2/vinicius/Desktop/PhD/tese/tese-IMPRESSA/artigosmeus-bkp/hn2-vinicius/hn2_vinicius_final/\232��1:oaJ.\210[�
Bad short file name (\232��1:oaJ.\210[�).
Auto-renaming it.
Renamed to FSCK0000.192
/vinicius-total2/vinicius/Desktop/PhD/tese/tese-IMPRESSA/artigosmeus-bkp/hn2-vinicius/hn2_vinicius_final//�\032\000\026A\233w.�@\222
Bad short file name (/�\032\000\026A\233w.�@\222).
Auto-renaming it.
Renamed to FSCK0000.193
/vinicius-total2/vinicius/Desktop/PhD/tese/tese-IMPRESSA/artigosmeus-bkp/hn2-vinicius/hn2_vinicius_final/�$\022\033b"#�.�\210d
Bad short file name (�$\022\033b"#�.�\210d).
Auto-renaming it.
Renamed to FSCK0000.194


Again, shown is just a part of the huge and endless output. In fact, the "fsck -a /dev/sdc1" run for hours and never ends (today I left the computer for 5 hours at least running this command and it was not enough).

I cant backup the disk and format it because it is already my backup disk and I have no place to put the 500G it contains. Is there any work around to delete this folder?
Reply With Quote
  #2  
Old 11th March 2012, 06:45 PM
coolpup
Guest
 
Posts: n/a
linuxfirefox
Re: corrupted files

I won't quote your message for the sake of brevity. No offence.

Would this help any?

http://unix.stackexchange.com/questi...a-linux-system
Reply With Quote
  #3  
Old 11th March 2012, 06:51 PM
vinicius Offline
Registered User
 
Join Date: Nov 2009
Posts: 46
linuxchrome
Re: corrupted files

Thank you coolpup. I believe the problem I am having is worse than the one reported in the link you suggest since I can't even perform a "ls" in the files. I am following however one of the suggestions shown there, running "badblocks", but it should be finished only in the next morning (takes ~10min/1%). Thank you again.
Reply With Quote
Reply

Tags
corrupted, files

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Keep getting corrupted ISO files. recondite Installation, Upgrades and Live Media 10 15th January 2012 02:52 PM
corrupted files fox1962 Using Fedora 0 31st October 2011 09:31 PM
corrupted mp3 files after usb transfer Skinney Using Fedora 5 14th November 2006 05:45 PM
FC4 Java 1.5 corrupted files yorky porky Using Fedora 2 20th July 2005 07:46 PM


Current GMT-time: 12:11 (Thursday, 25-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin Copyright 2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Strendur, Faroe Islands Travel Photos on Instagram - Copper Beech Townhomes- Kalamazoo, MI Photos on Instagram - KINKI CLUB Travel Photos - Hard Rock Cafe Hollywood FL - The Old Vic Tunnels Travel Photos on Instagram