Page 1 of 1
scrubbing and dedup

Posted:
Sat May 24, 2014 2:23 pm
by haer22
Will dedup have any impact on scrubbing? Besides scrubbing the dedup-table.
I.e., will the block be de-dupped before the checksum is checked?
Re: scrubbing and dedup

Posted:
Sat May 24, 2014 8:50 pm
by ilovezfs
No scrub is in no way a means to apply compression or to apply dedup to data already written to a file-system dataset. You would need to create a brand new file-system dataset with compression and/or dedup enabled, and rsync the data from the old dataset to the new dataset.
Re: scrubbing and dedup

Posted:
Sun May 25, 2014 1:23 am
by haer22
Oh, I understand that scrubbing does not change anything. just checking the current data.
What I am asking is about the scrubbing, is the scrubbing slowed down in anyway if the data is de-dupped?
My understanding is that it checks the checksum of a FSB, regardless if that FSB is a compressed one or whatever. Just want that verified.
Re: scrubbing and dedup

Posted:
Sun May 25, 2014 1:38 am
by ilovezfs
Scrub checks the checksum for each block. It has nothing to do with dedup.
Re: scrubbing and dedup

Posted:
Sun May 25, 2014 1:50 am
by haer22
Thanks for the verification.