2013-07-11 16:02:44

by Subranshu Patel

[permalink] [raw]
Subject: Bad sectors in metadata area

I have a query related to the e2fsck (EXT4). Consider the case where
the sector corresponding to the filesystem metadata (may be inode
bitmap) got bad.

1. What will happen when fsck is run on the filesystem (since it is a
case of bad sectors, not corruption)?

2. Will fsck help in remapping of the bad sectors?


2013-07-13 16:24:30

by Subranshu Patel

[permalink] [raw]
Subject: Re: Bad sectors in metadata area

Can fsck detect that a block (metadata) corresponding to a bad LBA
sector is not readable and then a new sector will be allocated.