Hello Folks,
I've got a question regarding the ZFS recordsize property change. Basically I've got a fairly large ZFS pool (total: 5TB, allocated: 3.7TB) filled with many millions of "small" files (the average file size is between 16K and 32K), but unfortunately this pool has been created with the default options (so recordsize=128K).
As far as I understand if I change the recordsize to 32K only the new files will be created with the new block-size, whereas all the old ones will still be using the old block-size.
Questions:
- Is there a way of determining the number of files with the old block-size?
- is there any way of 'shrinking' the block size also for the old files besides copying the files out and back into the storage?
many thanks,
Marco