Results 1 to 4 of 4

Thread: Forcing reallocation of pending sectors on SATA disks in a software RAID volume

  1. #1
    Join Date
    Dec 2008
    Location
    Taxes
    Beans
    447
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Forcing reallocation of pending sectors on SATA disks in a software RAID volume

    I have an 8 disk software RAID 5 array and one of the disks is reporting a high reallocated sector count and some pending sectors.

    I have used the method described here to force reallocation of pending sectors on drives used as single drives in the past.

    http://timelordz.com/wiki/SMART_Rewriting_Bad_Sectors

    This method describes doing this using the files systme block size as part of the calculation -- since there is no (complete) files system on this disk, is it safe to calculate the location of the bad sector using the block size of the file system built on the array?

    Anyone have any experience doing this on a disk in softare RAID array?

  2. #2
    Join Date
    Sep 2008
    Location
    Netherlands
    Beans
    369
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Forcing reallocation of pending sectors on SATA disks in a software RAID volume

    An interesting question! I think you can not do the same because the filesystem is spread over multiple disks.
    Raid1 might be an exception because I've seen such a disk is also mountable as single disk.

  3. #3
    Join Date
    Aug 2008
    Location
    Victoria, BC Canada
    Beans
    1,617

    Re: Forcing reallocation of pending sectors on SATA disks in a software RAID volume

    get a new larger disk and backup your files, then break the array.

    you can then run disk checks etc and see if the disk is able to correct itself or whether its exhausted its supply of spare sectors.
    SERVER: Azure datacenters, Hyper-V

  4. #4
    Join Date
    Dec 2008
    Location
    Taxes
    Beans
    447
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: Forcing reallocation of pending sectors on SATA disks in a software RAID volume

    I just finished duplicating all fo the data to another array and I'll use my standby drive to swap out the drive in the array.
    Once I yank the drive, I'll attach it to a controller in another machine as a single disk and try a zero-fill over the entire disk.

    I ran across a read error as I was copying data off the array -- near as I can tell the RAID compensated for the bad sectors and didn't result in a bad copy, but the logs looked pretty nasty.
    And the reallocated sector count is rising on that drive ...

Tags for this Thread

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
  •