From: Eric Sandeen <sandeen@sandeen.net>
To: Vijay Gill <vijay.s.gill@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: Bad block on partition, how to deal with it?
Date: Wed, 06 Sep 2006 09:22:43 -0500 [thread overview]
Message-ID: <44FED9B3.5080308@sandeen.net> (raw)
In-Reply-To: <60fdb1ad0609060459k6132f8b8s40e4f20f51a746ed@mail.gmail.com>
Vijay Gill wrote:
> Hi,
>
> Got this bad sector in a seagate 40G hard disk.
You should buy a new disk for $20 or so :)
> Is there any tool
> under linux to scan the surface of the disk and mark the sectors bad
> in file system (or at even lower level like seatools does)?
xfs has no badblocks support. If you can convince the drive to remap
the block with vendor tools then maybe it's ok. But modern drives remap
on their own; if you have a block that can't be remapped then your drive
is probably not long for this world. Don't try to keep using it.
> Running Linux Fedora Core 5.
>
> In the mean while I am doing a dd on that partition to copy the data
> and try to recover it from there.
>
> 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.
With xfs, you don't. It's not worth it IMHO, just get a new disk.
-Eric
next prev parent reply other threads:[~2006-09-06 14:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-06 11:59 Bad block on partition, how to deal with it? Vijay Gill
2006-09-06 14:22 ` Eric Sandeen [this message]
2006-09-06 17:23 ` Chris Wedgwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44FED9B3.5080308@sandeen.net \
--to=sandeen@sandeen.net \
--cc=vijay.s.gill@gmail.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox