Hello,
I currently run TrueNAS Scale (since many month with this pool design
Asrock Rack X470DU with 2700X and 4x16GB RAM ECC
4x 16TB Toshiba as striped mirror
2x Micron 7300 Pro 960GB mirrored as special vDev (metadata)
no L2ARC
no SLOG
With “sudo zpool list -v” I get the following picture.
First of all looks ok, but I observe that “only” 20GB of the 868GB (but should be ok) are used on the special metadata device AND it’s only showing 6 files at 1K???
I feel that I did something wrong with “ZFS record size” and “zfs set special_small_blocks” size…
How can I read out the currently set zfs set special_small_block size?
Any suggestions?
sudo zpool list -v
find . -type f -print0 | xargs -0 ls -l | awk ‘{ n=int(log($5)/log(2)); if (n<10) { n=10; } size[n]++ } END { for (i in size) printf(“%d %d\n”, 2^i, size*) }’ | sort -n | awk ‘function human(x) { x[1]/=1024; if (x[1]>=1024) { x[2]++; human(x) } } { a[1]=$1; a[2]=0; human(a); printf(“%3d%s: %6d\n”, a[1],substr(“kMGTEPYZ”,a[2]+1,1),$2) }’*
Output only shows: 6 for 1k???
sudo zdb -Lbbbs -U /data/zfs/zpool.cache storage

Update: I did not change the small block size, when I created the pool.
If I understand correctly, default = zero, which means, the vDev is not used…
Based on my readout above, I changed the small block size to 32k…
What would you recommend?
