ZFS dedup problem

Bernd Walter ticso at cicely7.cicely.de
Fri Jun 12 16:31:52 UTC 2015


On one given system I have some ZFS filesystems with dedup enabled.
Now it happened to me that because of some strange disk problem
a deduped file got damaged because RAIDZ redundance wasn't enough
in this case.
Well, ok so far.
Without dedup I would just ignore snapshots, delete the file in the
current dataset, recopy it from backup source and be done.
With dedup however the new file got relinked to the unreadable data.
Well - I could theoretically disable dedup to recopy the file, but
if I reenable dedup any other file with same content might get
relinked to the bad data as well.
In this case it was Ok for me to drop all snapshots to work around.

-- 
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.


More information about the freebsd-fs mailing list