Re: Removing a RAID 1 setting without loosing data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 13 May 2006, Ra�mez Cabrera wrote:

> Hi Gordon, thanks for your quick response.
>
> Well my client does not want to spend more money on this particular
> server, I think maybe that is because they are planning to replace it...

Ask your client just how valuable their email data is...

How badly broken is the drive? If it's just a bad sector then you may be
able to resurect it - which will provide a degree of redundancy again
util such time as the server can be replaced.

If you use mdadm to remove all the md? partitions, (mdadm --remove
/dev/md? /dev/sdb?) then you can run something like

  badblocks -w -s -c 128 /dev/sdb?

etc. for every partition that was in the md? arrays. This will write to
every sector and will force a sector re-allocate on bad sectors, if the
drive supports it. You can then mdadm --add them back into the array.

(Running a badblocks in standard read mode on the live partitions is
always prudent at this point though just in-case you find another band
sector there!)

Gordon

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux