slight zfs problem after playing with WDIDLE3 and WDTLER

Steven Schlansker stevenschlansker at gmail.com
Mon Jan 25 19:21:54 UTC 2010


On Jan 25, 2010, at 10:43 AM, Tommi Lätti wrote:
> After checking the logs carefully, it seems that the ada1 device
> permanently lost some sectors. Before twiddling with the parameters,
> it was 1953525168 sectors (953869MB), now it reports 1953523055
> (953868MB). So, would removing it and maybe export/import get me back
> to degraded state and then I could just replace the now
> suddenly-lost-some-sectors drive?

That will probably work.  I had a similar problem a bit
ago where suddenly my drives were too small, causing the UNAVAIL
corrupted-data problem.  I managed to fix it by using gconcat to stitch
an extra MB of space from the boot drive onto it.  Not a very good solution,
but the best I found until FreeBSD gets shrink support (which sadly seems
like it may be a long while)

Failing that, you could use OpenSolaris to import it (as it does have minimal
support for opening mismatched sized vdevs), copy the data off, destroy, and restore.




More information about the freebsd-fs mailing list