So I've been using ZFS RAID2 for some time and find that it's time for me to investigate the space efficiency problem as my pool is filling up now.
So here is the configuration: ST3000DM001-1CH1 Seagate 3TB x 10 in a RAIDZ2 pool with ashift=12 on Solaris 11.1
zpool status -v
zfs list
zpool iostat
zpool list
My question is: given the 3TB HDDs (2.73TB to be exact) and 8 data disks in the pool the total available space should be 21.83TB. However it seems the useable space is 20.51TB (16.6 + 3.91). So I'm wondering where is the missing 1.3TB?
So here is the configuration: ST3000DM001-1CH1 Seagate 3TB x 10 in a RAIDZ2 pool with ashift=12 on Solaris 11.1
zpool status -v
Code:
pool: data
state: ONLINE
status: The pool is formatted using an older on-disk format. The pool can
still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
pool will no longer be accessible on older software versions.
scan: scrub repaired 0 in 41h13m with 0 errors on Wed Oct 2 20:13:26 2013
config:
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
c0t5000C5004E21FDD3d0 ONLINE 0 0 0
c0t5000C5004E246BFCd0 ONLINE 0 0 0
c0t5000C5004E3F5596d0 ONLINE 0 0 0
c0t5000C5003CD954C0d0 ONLINE 0 0 0
c0t5000C5003CDCA539d0 ONLINE 0 0 0
c0t5000C5004E4AB489d0 ONLINE 0 0 0
c0t5000C5005203762Ed0 ONLINE 0 0 0
c0t5000C5005203A060d0 ONLINE 0 0 0
c0t5000C5005203A780d0 ONLINE 0 0 0
c0t5000C5005209B060d0 ONLINE 0 0 0
logs
c0t5000000000000003d0 ONLINE 0 0 0
cache
c0t5000000000000000d0 ONLINE 0 0 0
c8t14d0 ONLINE 0 0 0
errors: No known data errors
zfs list
Code:
data 16.6T 3.91T 558K /data
data/Audio 667G 3.82T 665G /data/Audio
data/Download 613G 3.82T 358G /data/Download
data/ESXI 918G 3.82T 466K /data/ESXI
data/ESXI/FW 202M 3.82T 195M /data/ESXI/FW
data/ESXI/VCS 3.12G 3.82T 1.47G /data/ESXI/VCS
data/ESXI/VDR 915G 3.82T 881G /data/ESXI/VDR
data/ESXIB 730G 3.82T 223G /data/ESXIB
data/File 590G 3.82T 587G /data/File
data/Game 2.11T 3.82T 2.11T /data/Game
data/Production 245G 3.82T 202G /data/Production
data/System 135G 3.82T 135G /data/System
data/Temp 2.91G 3.82T 393K /data/Temp
data/Tool 815G 3.82T 812G /data/Tool
data/VM 180G 3.82T 177G /data/VM
data/Video 9.62T 3.82T 9.57T /data/Video
zpool iostat
Code:
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
data 21.7T 5.56T 179 91 19.3M 2.73M
---------- ----- ----- ----- ----- ----- -----
zpool list
Code:
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
data 27.2T 21.7T 5.56T 79% 1.00x ONLINE -
My question is: given the 3TB HDDs (2.73TB to be exact) and 8 data disks in the pool the total available space should be 21.83TB. However it seems the useable space is 20.51TB (16.6 + 3.91). So I'm wondering where is the missing 1.3TB?