Re: Removing a RAID 1 setting without loosing data

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

 



The drive is completely dead, it doesn't appear in the system, the mdadm
remove command fails because it says there is no drive (/dev/sdb) on the
system, I'll try to convice my client (again) to install another drive.

BTW: good advise about bad sectors, thanks!
BTW2: I'm playing land of Drogon, I think is really cool!

Raul.


El sáb, 13-05-2006 a las 16:16 +0100, Gordon Henderson escribió:
> 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