wornall1026
Cadet
- Joined
- Jan 5, 2017
- Messages
- 2
ZFS newbie. I have a ZFS volume that has a lot of tiny files, and another with 4GB+ files. I want to tune the cluster size so that a 1k file only takes up 1k on the disk. I created a ZFS volume using the defaults for volume creation. I can now 'touch' 10 empty files (CLI of freenas server), then go to my windows box where this volume is shared to, select properties, and it says 10 files, 0 bytes, size on disk: 10MB. Given the large number of small files I have, I keep running out of disk space with only a small amount of data.
I have read that ZFS customizes block sizes automatically. I've also noticed that creating a dataset in the advanced mode will allow me to change the record size, however neither of these change the results of the test above.
If it were a windows server i would just format with a 1k allocation size, or on linux box, do mke2fs -b 1024. What do i do with ZFS?
I have read that ZFS customizes block sizes automatically. I've also noticed that creating a dataset in the advanced mode will allow me to change the record size, however neither of these change the results of the test above.
If it were a windows server i would just format with a 1k allocation size, or on linux box, do mke2fs -b 1024. What do i do with ZFS?