On 06/06/11 08:07, Cyril Plisko wrote:
zpool reports space usage on disks, without taking into account RAIDZ overhead.
zfs reports net capacity available, after RAIDZ overhead accounted for.

Yup.  Going back to the original numbers:

nebol@filez:/$ zfs list tank2
NAME    USED  AVAIL  REFER  MOUNTPOINT
tank2  3.12T   902G  32.9K  /tank2

Given that it's a 4-disk raidz1, you have (roughly) one block of parity for every three blocks of data.

3.12T / 3 = 1.04T

so 3.12T + 1.04T = 4.16T, which is close to the 4.18T showed by zpool list:

NAME    SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
tank2  5.44T  4.18T  1.26T    76%  ONLINE



_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to