Problems replacing failing drive in ZFS pool

Freddie Cash fjwcash at gmail.com
Mon Jul 19 22:18:43 UTC 2010


On Mon, Jul 19, 2010 at 3:04 PM, Garrett Moore <garrettmoore at gmail.com> wrote:
> Well, hotswapping worked, but now I have a totally different problem. Just

Yay.  :)

> for reference:
> # zpool offline tank da3
> # camcontrol stop da3
> <swap drive>
> # camcontrol rescan all
> <'da3 lost device, removing device entry'>
> # camcontrol rescan all
> <'da3 at mpt0 ...', so new drive was found! yay>
> # zpool replace tank da3
> *cannot replace da3 with da3: device is too small*
>
> So I looked at the smartctl output for the old and new drive. Old:
> Device Model:     WDC WD15EADS-00P8B0
> Serial Number:    WD-WMAVU0087717
> Firmware Version: 01.00A01
> User Capacity:    1,500,301,910,016 bytes
>
> New:
> Device Model:     WDC WD15EADS-00R6B0
> Serial Number:    WD-WCAVY4770428
> Firmware Version: 01.00A01
> User Capacity:    1,500,300,828,160 bytes
>
> God damnit, Western Digital. What can I do now? It's such a small
> difference, is there a way I can work around this? My other replacement
> drive is the "00R6B0" drive model as well, with the slightly smaller
> capacity.

Crap!

There's a version of ZFS that works around this (or maybe a version of
OSol?), although I don't recall the version off-hand, and I can't find
it in the list of versions on the OSol website.

You may be stuck until you get a drive with more sectors.  :(

-- 
Freddie Cash
fjwcash at gmail.com


More information about the freebsd-stable mailing list