Replies: 1 comment 1 reply
-
In general, the following would be helpful to understand the space usage here: before you create any volumes: then: All that said, this is probably working as designed, assuming 4k sectors (ashift=12). Each 8K (2-sector) block uses a single sector (4k) of parity. So 15TB of 8KB blocks (default volblocksize=8k) takes up at least 22.5TB space on disk (including parity). You will use less parity by decreasing the sector size (not practical without changing your hardware) or increasing the block size (e.g. volblocksize=32k, or the default recordsize=128k for filesystems). |
Beta Was this translation helpful? Give feedback.
-
System information
zfsonlinux 0.8.6 and 2.0.2
--- | ---
Distribution Name | Debian
Distribution Version | 10.8
Linux Kernel | 5.9.0-0.bpo.5-amd64
Architecture | x86_64
ZFS Version | 2.0.2-1 bpo10+1 and 0.8.6
SPL Version | 2.0.2-1 bpo10+1 and 0.8.6
Describe the problem you're observing
I want to create a 24TB zvol, but I can to create maximum 15TB.
zfs create -V 24TB data/datavol # out of space !!!
zfs create -V 16TB data/datavol # out of space !!!
zfs create -V 15TB data/datavol # maximum size what I can create on 24TB dataset
Describe how to reproduce the problem
So I have 25TB dataset (raidz from 5x6,7TB) and I can't create greater than 15 TB zvol.
But I make a raid5 with mdadm
mdadm -C -l5 -n5 /dev/md5 /dev/sda5 /dev/sdb5 /dev/sdc5 /dev/sdd5 /dev/sde5
zpool create data /dev/md5 # without raidz on Linux software raid5
zfs create -V 25TB data/testvol # this work fine
Include any warning/errors/backtraces from the system logs
Beta Was this translation helpful? Give feedback.
All reactions