BAD BLOCKS please help

Stephen R Laniel steve at laniels.org
Sun Jul 10 04:42:54 UTC 2005


On Sun, Jul 10, 2005 at 09:20:33AM +0500, Mustafa Abbasi wrote:
> i recntly started using an old hdd and it has a ton of bad blocks.
> now i've manage to isolate the areas with the bad blocks around 11 GB and
> worked around them using LVM.
> now i want my 11 GB back.
> could someboady tell what to do with these blocks.
> how can i use the good space thats available b/w the bad blocks.
> and how can i stop them from spreading .

I assume your filesystem is ext2/ext3? If so, try using
e2fsck:

1) drop down to single-user mode with 'sudo shutdown now'.
2) remount the disk read-only with 'mount -o remount,ro /'
(assuming that the disk you're checking is mounted at the
root).
3) run e2fsck -c /dev/hda , substituting your own disk's
device node for '/dev/hda'.

I'm busting that out of memory, so the details may be a
little off. But that's the idea.

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050710/7e46ad90/attachment.sig>


More information about the ubuntu-users mailing list