drive failure during rebuild causes page fault

Søren Schmidt sos at DeepCore.dk
Sun May 22 09:24:04 PDT 2005


On 22/05/2005, at 18:11, Joe Rhett wrote:

>>>> You need to overwrite the metadata (se above) which are located in
>>>> different places again depending on metadata format.
>>>>
>>>
>>> So where is it located with the sil3114 controler?
>>> (same as 3112, but with 4 ports...)
>>>
>
> On Sun, May 22, 2005 at 12:45:05AM +0200, Søren Schmidt wrote:
>
>> Depends on what BIOS you have on there, several exists for the SiI
>> chips, -current or mkIII would tell you which. Just null out the last
>> 63 sectors on the disks and you should be fine since all possible
>> formats are in that range...
>>
>
> I know how to do this using dd from the start of the disk.  How do  
> I do
> this at the end of the disk?

man dd ? :)

you need to get the size of the disk in sectors (hint atacontrol)

then you do dd if=/dev/zero of=/dev/adN oseek=(size-63)

- Søren




More information about the freebsd-stable mailing list