ZFS deduplication

Romain Tartière romain at FreeBSD.org
Tue Jan 29 15:45:12 UTC 2013


On Wed, Jan 23, 2013 at 03:37:29PM +0100, Romain Tartière wrote:
> However, `zpool list` reports an inconsistent deduplication value (it
> used to be ~1.4 AFAICR):
> 
> > zpool list data
> > NAME   SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
> > data   460G   101G   359G    21%  1386985.39x  ONLINE  -

Looks like this was some kind of corruption: the system crashed (it has
crashed a few times over the last few months but I could not get details
because of a failing serial port on the machine and the X server was
running) and was then unable to reboot: just after importing the zpool,
the kernel panicked in ddt_phys_decref() trying to dereference a NULL
pointer (because of the serial port I don't have a text backtrace,
however I took a few shots just in case).

I replaced the disks of the pool with new ones, reinstalled FreeBSD and
restored from backup.

I keep the old disks untouched in case some FreeBSD developer involved
in ZFS is interested about this corruption and needs a real-life
corrupted filesystem for analysis.  Please let me know by private mail.

Thanks,
Romain

-- 
Romain Tartière <romain at FreeBSD.org>  http://people.FreeBSD.org/~romain/
pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 663 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20130129/5d72805f/attachment.sig>


More information about the freebsd-fs mailing list