Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2010 11:47:54 +0200
From:      Pawel Tyll <ptyll@nitronet.pl>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>, Garrett Moore <garrettmoore@gmail.com>
Subject:   Re: Problems replacing failing drive in ZFS pool
Message-ID:  <426290558.20100720114754@nitronet.pl>
In-Reply-To: <4C45612A.2060502@icyb.net.ua>
References:  <AANLkTimOrwHe7xiwoap2H2mUtA7vU6TjENkPC4yJ02_z@mail.gmail.com> <AANLkTimOIgCIO4txpPeeoMrRSYAqM25V7cm-h7djmZUC@mail.gmail.com> <AANLkTikPOgIqkm3GhIsEnvuvEHvlc44cnh6GJQ1k7Ja_@mail.gmail.com> <AANLkTimgi2Btzv9krZZPHCPiyCcwtQyF72BmRzA1kuvi@mail.gmail.com> <AANLkTinm-kYD2vwTBCh49AeU0oxuPSOPXjusMa3FGk1h@mail.gmail.com> <AANLkTikPJDoiTUwNHVtTDiFMdFkm6v6_ra8JYkuChBJC@mail.gmail.com> <AANLkTikCCmGmIcRpj7gjnRBEfLE40IjOmelMYu9WkSUO@mail.gmail.com> <4C44B104.2050000@libeljournal.com> <AANLkTinnAxJxARcJrDgYxnpql2n2a_6bQc7fSuZLAzuF@mail.gmail.com> <4C45612A.2060502@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi guys,

> I second what others have said - crap.
> But there could be some hope, not sure.
> Can you check what is the actual size used by the pool on the disk?
> It should be somewhere in zdb -C output ("asize"?).
> If I remember correctly, that actual size should be a multiple of some ra=
ther
> large power of two, so it could be that it is smaller than 'User Capacity=
' of both
> old and new drives.
Well, I see some possibilities for creative solution here, using some
ssd (or usb stick or mdconfig as act of desperation) and gconcat, but
it's asking for trouble and should probably be considered a temporary
hack.

What I personally would do is get a 2TB drive and use it instead, with
gpt and -l for label, and replace it as gpt/something. Using 100 or so
MB less than whole disk is also a good idea, as you can see ;)

Cheers and good luck.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?426290558.20100720114754>