Skip to Main Content

Hardware

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ZFS Recordsize change

Marco Milo-OracleOct 31 2014 — edited Nov 17 2014

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

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 15 2014
Added on Oct 31 2014
1 comment
1,104 views