Results 1 to 2 of 2

Thread: Remapping bad sectors

  1. #1
    Join Date
    Jun 2008
    Location
    Durban
    Beans
    13
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Remapping bad sectors

    Is it possible to automatically remap bad sectors when they are encountered? Or even better, to format the drive with, say, ext3 and scan for bad sectors and mark them as inacessible?

    Now, to throw a spanner in the works; is it possible to do this when I have 2 hard drives set up in software RAID 1, and only one of the drives has a few bad sectors? The drive isn't failing, and has had the same bad sectors for a few years already.

    I've tried to zero the drive a few times already, but it still has the same bad sectors. I'm not particularly worried about data loss, and my wanting to use RAID is just for convenience sake.

    Any suggestions?

    Thanks

  2. #2
    Join Date
    Apr 2008
    Location
    UK
    Beans
    1,098

    Re: Remapping bad sectors

    Quote Originally Posted by Richard_ View Post
    Is it possible to automatically remap bad sectors when they are encountered? Or even better, to format the drive with, say, ext3 and scan for bad sectors and mark them as inacessible?
    Code:
    man e2fsck
    The -c option.

    Code:
    man badblocks
    [/QUOTE]
    Brian.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •