Root dataset (or any other dataset) on new zpool smaller than it should be #1089
Labels
Type: Documentation
Indicates a requested change to the documentation
Milestone
The following is so far inexplicable. The numbers add up just fine in the first case, but even with (power of 2)+2 disks in the second case, a bunch of space has gone AWOL:
root@medusa:
# zpool create -o ashift=12 medusa0 raidz2 $(ls /dev/disk/by-id/scsi-SATA_ST3000DM001-9YN_???????? | head -n 6)# zpool listroot@medusa:
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
medusa0 16.2T 1.58M 16.2T 0% 1.00x ONLINE -
root@medusa:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
medusa0 919K 10.7T 272K /medusa0
(4/6) * 16.2T = 10.8T
root@medusa:
# zpool create -o ashift=12 medusa0 raidz2 $(ls /dev/disk/by-id/scsi-SATA_ST3000DM001-9YN_???????? | head -n 10)# zpool listroot@medusa:
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
medusa0 27.2T 1.35M 27.2T 0% 1.00x ONLINE -
root@medusa:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
medusa0 1.03M 20.4T 311K /medusa0
(8/10) * 27.2T = 21.76T
root@medusa:
# zpool create -o ashift=12 medusa0 raidz2 $(ls /dev/disk/by-id/scsi-SATA_ST3000DM001-9YN_???????? | head -n 12)# zpool listroot@medusa:
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
medusa0 32.5T 1.58M 32.5T 0% 1.00x ONLINE -
root@medusa:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
medusa0 1.03M 24.4T 311K /medusa0
(10/12) * 32.5T = 27T
The text was updated successfully, but these errors were encountered: