fix remote degraded gmirror

Adam Vande More amvandemore at
Wed Sep 30 12:55:46 UTC 2009

On Wed, Sep 30, 2009 at 4:37 AM, Robin Becker <robin at> wrote:

> .........
>> a simple
>> dd if=/dev/zero of=/dev/adX bs=1M count=1
>> would fix that if nothing else
>> if there's was no existing label, there is nothing to do except gmirror
>> man
>> instructions.  Gmirror is block level mirroring which why no other steps
>> are
>> needed.
>>  well now I really need advice, the data centre guy successfully inserted
> another disk in the right place and it appears to be the same model.
> However, smartctl -a /dev/ad4 seems to show a number of errors and many of
> the indicators are prefail or old_age.
> In addition the disk doesn't have exactly the same length so when I tried
> to insert gmirror complains that it is too small.
> What are my options?
> --
> Robin Becker

This has been answered already but you should be aware that when using
gmirror, your back disk should either be the same model or bigger as hard
drive capacities differ between manufacturers.  As in Seagate 250GB ~= WD
250GB.  So this is not an uncommon problem.

Adam Vande More

More information about the freebsd-questions mailing list