| To: | Vijay Gill <vijay.s.gill@xxxxxxxxx> |
|---|---|
| Subject: | Re: Bad block on partition, how to deal with it? |
| From: | Chris Wedgwood <cw@xxxxxxxx> |
| Date: | Wed, 6 Sep 2006 10:23:06 -0700 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <60fdb1ad0609060459k6132f8b8s40e4f20f51a746ed@xxxxxxxxxxxxxx> |
| References: | <60fdb1ad0609060459k6132f8b8s40e4f20f51a746ed@xxxxxxxxxxxxxx> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
On Wed, Sep 06, 2006 at 12:59:24PM +0100, Vijay Gill wrote: > Got this bad sector in a seagate 40G hard disk. recorder where it is, dd over it and hopefully the drive will remap it (if there are many sectors the drive is probably toast) if you know which block is/was bad you can user xfs_bmap to figure out which file it was in > Also I have run badblocks to get the number of the block which is > bad, but how do I get it marked now so that the OS does not try to > allocate it for data in future. modern drivers (pretty much anything less than 10 years old) will remap bad sectors on writes, if they fail to do this get a new drive smartctl will usually let you get a count of how many times the drive has done this since |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Bad block on partition, how to deal with it?, Eric Sandeen |
|---|---|
| Next by Date: | Re: Wrong free space reported for XFS filesystem, David Chinner |
| Previous by Thread: | Re: Bad block on partition, how to deal with it?, Eric Sandeen |
| Next by Thread: | Re: Wrong free space reported for XFS filesystem, David Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |