Caveat: This post is from someone with extremely limited technical ability beyond that of reading already created guides.
On this note, I’ve been tentatively exploring moving away from Truenas CE given the Incus debacle. I don’t know if I will at this point, but I want the option if I have to execute.
Given my main storage pool is ten 16TB drives in RaidZ2 with a three wide mirror of NVMe drives, I’ve come to the conclusion that the only viable path out is for a full back up on a separate machine, likely a true file server just too hold the data, and then destroy the sVDEV.
Given this is a plan to move up to 100TB of data, that back up server is likely to be somewhat costly in terms of disks (even if everything else is insanely cheap eg refurbished Supermicro CSE 846 costs less than a single 20TB disk in the UK, and I can find them with 3 year warranty). Notwithstanding that data should be backed up anyway, this moves the needle from “Should have” to “Must have”.
As it is I’m stuck exploring the viability (for someone of my technical ability) using Proxmox with virtualised Truenas, plus a Truenas back up server: Stick with simple NFS, and SMB for phone access.
However, to provide something useful to the thread, I can provide a block histogram for a pool that saves mostly large single files, (video files in the GB size, music files in the 10s of MB size), special_small_blocks=1M, and a record size of 2M. I imagine this is close to the most aggressive setting possible, and the pool only stores media files, no apps etc, and even then a three wide mirror of 2TB drives is likely only enough to manage a single 100TB vdev. special vdevs really do need to be sized appropriately, and likely oversized.
Block Size Histogram
block psize lsize asize
size Count Size Cum. Count Size Cum. Count Size Cum.
512: 142K 71.2M 71.2M 28.5K 14.3M 14.3M 0 0 0
1K: 66.4K 73.5M 145M 94.0K 95.1M 109M 0 0 0
2K: 13.3K 36.4M 181M 2.85K 7.29M 117M 0 0 0
4K: 230K 941M 1.10G 1.82K 10.0M 127M 5.88K 23.5M 23.5M
8K: 108K 1.13G 2.23G 3.67K 43.9M 171M 429K 3.40G 3.42G
16K: 10.4K 238M 2.46G 53.4K 889M 1.03G 133K 2.90G 6.33G
32K: 18.2K 846M 3.29G 383K 12.2G 13.2G 18.3K 827M 7.14G
64K: 30.6K 2.75G 6.04G 15.7K 1.42G 14.6G 28.1K 2.52G 9.66G
128K: 40.4K 7.41G 13.4G 33.4K 5.29G 19.9G 42.3K 7.71G 17.4G
256K: 60.9K 22.4G 35.9G 19.1K 6.76G 26.7G 64.2K 23.6G 41.0G
512K: 126K 94.5G 130G 19.6K 14.4G 41.1G 126K 94.5G 135G
1M: 486K 566G 697G 389K 398G 439G 421K 493G 628G
2M: 25.5M 51.0T 51.7T 25.8M 51.6T 52.0T 25.6M 64.1T 64.7T
4M: 0 0 51.7T 0 0 52.0T 0 0 64.7T
8M: 0 0 51.7T 0 0 52.0T 0 0 64.7T
16M: 0 0 51.7T 0 0 52.0T 0 0 64.7T
Blocks LSIZE PSIZE ASIZE avg comp %Total Type
- - - - - - - unallocated
2 32K 8K 24K 12K 4.00 0.00 object directory
1 32K 12K 36K 36K 2.67 0.00 L1 object array
149 74.5K 74K 3.75M 25.8K 1.01 0.00 L0 object array
150 106K 86K 3.79M 25.8K 1.24 0.00 object array
2 32K 4K 12K 6K 8.00 0.00 packed nvlist
- - - - - - - packed nvlist size
1 32K 4K 12K 12K 8.00 0.00 L1 bpobj
48 6M 268K 804K 16.8K 22.93 0.00 L0 bpobj
49 6.03M 272K 816K 16.7K 22.71 0.00 bpobj
- - - - - - - bpobj header
- - - - - - - SPA space map header
1.83K 29.2M 2.69M 22.9M 12.6K 10.87 0.00 L1 SPA space map
12.0K 1.50G 423M 1.63G 139K 3.65 0.00 L0 SPA space map
13.9K 1.53G 425M 1.66G 122K 3.69 0.00 SPA space map
13 468K 468K 468K 36K 1.00 0.00 ZIL intent log
49 6.12M 193K 440K 8.98K 32.50 0.00 L5 DMU dnode
49 6.12M 193K 440K 8.98K 32.50 0.00 L4 DMU dnode
49 6.12M 193K 440K 8.98K 32.50 0.00 L3 DMU dnode
50 6.25M 197K 452K 9.04K 32.49 0.00 L2 DMU dnode
85 10.6M 1.63M 3.49M 42.0K 6.52 0.00 L1 DMU dnode
20.3K 325M 102M 241M 11.8K 3.18 0.00 L0 DMU dnode
20.6K 360M 104M 246M 11.9K 3.45 0.00 DMU dnode
57 228K 224K 492K 8.63K 1.02 0.00 DMU objset
- - - - - - - DSL directory
38 20K 3.50K 84K 2.21K 5.71 0.00 DSL directory child map
36 18K 512 12K 341 36.00 0.00 DSL dataset snap map
73 1.10M 276K 1.80M 25.3K 4.06 0.00 DSL props
- - - - - - - DSL dataset
- - - - - - - ZFS znode
- - - - - - - ZFS V0 ACL
19.0K 608M 44.2M 152M 8.01K 13.76 0.00 L2 ZFS plain file
339K 10.6G 1.77G 4.08G 12.3K 5.99 0.01 L1 ZFS plain file
26.3M 52.0T 51.7T 64.7T 2.46M 1.01 99.99 L0 ZFS plain file
26.6M 52.0T 51.7T 64.7T 2.43M 1.01 99.99 ZFS plain file
12.7K 407M 32.6M 104M 8.15K 12.50 0.00 L1 ZFS directory
40.1K 429M 105M 322M 8.03K 4.07 0.00 L0 ZFS directory
52.8K 836M 138M 426M 8.06K 6.07 0.00 ZFS directory
35 17.5K 17.5K 632K 18.1K 1.00 0.00 ZFS master node
- - - - - - - ZFS delete queue
- - - - - - - zvol object
- - - - - - - zvol prop
- - - - - - - other uint8[]
- - - - - - - other uint64[]
- - - - - - - other ZAP
- - - - - - - persistent error log
1 32K 4K 12K 12K 8.00 0.00 L1 SPA history
28 3.50M 349K 1.43M 52.3K 10.27 0.00 L0 SPA history
29 3.53M 353K 1.44M 50.9K 10.24 0.00 SPA history
- - - - - - - SPA history offsets
- - - - - - - Pool properties
- - - - - - - DSL permissions
- - - - - - - ZFS ACL
- - - - - - - ZFS SYSACL
- - - - - - - FUID table
- - - - - - - FUID table size
1 4.50K 4.50K 24K 24K 1.00 0.00 DSL dataset next clones
- - - - - - - scan work queue
147 90.5K 44K 432K 2.94K 2.06 0.00 ZFS user/group/project used
- - - - - - - ZFS user/group/project quota
- - - - - - - snapshot refcount tags
- - - - - - - DDT ZAP algorithm
- - - - - - - DDT statistics
111K 99.3M 61.3M 1.04G 9.62K 1.62 0.00 System attributes
- - - - - - - SA master node
35 52.5K 52.5K 632K 18.1K 1.00 0.00 SA attr registration
70 1.09M 280K 1.20M 17.6K 4.00 0.00 SA attr layouts
- - - - - - - scan translations
- - - - - - - deduplicated block
90 45K 512 12K 136 90.00 0.00 DSL deadlist map
- - - - - - - DSL deadlist map hdr
1 4.50K 4.50K 24K 24K 1.00 0.00 DSL dir clones
- - - - - - - bpobj subobj
- - - - - - - deferred free
- - - - - - - dedup ditto
27 864K 101K 324K 12K 8.55 0.00 L1 other
172 1.43M 310K 2.09M 12.4K 4.73 0.00 L0 other
199 2.27M 410K 2.40M 12.4K 5.67 0.00 other
49 6.12M 193K 440K 8.98K 32.50 0.00 L5 Total
49 6.12M 193K 440K 8.98K 32.50 0.00 L4 Total
49 6.12M 193K 440K 8.98K 32.50 0.00 L3 Total
19.1K 615M 44.4M 153M 8.01K 13.84 0.00 L2 Total
354K 11.0G 1.81G 4.21G 12.2K 6.11 0.01 L1 Total
26.4M 52.0T 51.7T 64.7T 2.45M 1.01 99.99 L0 Total
26.8M 52.0T 51.7T 64.7T 2.41M 1.01 100.00 Total
558K 14.0G 2.53G 7.59G 13.9K 5.54 0.01 Metadata Total