Anyone know how to fix this problem?

jim branagan fedora at themusenashville.com
Tue Jun 14 06:46:57 UTC 2005


Paul wrote:

>Hi,
>
>  
>
>>Use "dumpe2fs -b >/tmp/badblocks" to get a list of the bad blocks in
>>/tmp/badblocks. 
>>    
>>
>
>All that returns is Couldn't find valid filesystem superblock in the
>file.
>
>  
>
>>Edit that file and add an entry for block 1, then
>>run "badblocks -i /tmp/badblocks" to mark the block as bad.
>>    
>>
>
>Given the above error, how am I supposed to add an entry for that? The
>man page for badblocks isn't exactly revealing much.
>
>TTFN
>
>Paul
>  
>
The ext2/3 file system seems to be able to bypass bad blocks only in 
'normal' places, not in superblocks or group descriptors.  I have an old 
'80Gb' drive with 5G of bad blocks on it I am able to use successfully 
only by creating an unused partition to shift the superblock into a good 
block, and formatting the remaining 70Gb with 'mke2fs -c -c ...' (of 
course I don't rely on it; it's in a USB enclosure I use for large 
off-net file transfers).




More information about the fedora-list mailing list