Re: zfs: df and zpool list report different size



According to Alexandre Biancalana:
# zpool create backup raidz ad9 ad11

Note, raidz with two disks is almost the same as a mirror so the real,
usable space is half. In raidz, if you have N disks, the total usable
capacity is N-1.

# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad8s1a 72G 2.2G 64G 3% /
devfs 1.0K 1.0K 0B 100% /dev
backup 293G 0B 293G 0% /backup

# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
backup 596G 222K 596G 0% ONLINE -

My doubt is why zpool list and df -h report different size ? Which of then
is correct and should I trust ?

Both :)
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@xxxxxxxxxxxxxxxxx
Darwin sidhe.keltia.net Kernel Version 8.8.2: Thu Sep 28 20:43:26 PDT 2006 i386
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: zfs: df and zpool list report different size
    ... > Note, raidz with two disks is almost the same as a mirror so the real, ... > usable space is half. ... In raidz, if you have N disks, the total usable ...
    (freebsd-current)
  • Re: zfs: df and zpool list report different size
    ... Note, raidz with two disks is almost the same as a mirror so the real, ... usable space is half. ...
    (freebsd-current)
  • suggest alternatives?
    ... Provide about 4TB of usable space as fast as possible (no ... to 2 possibly clustered SQL servers and about 8 other servers. ... 300GB FC disks and another shelf of cheapo disks to do SNAPing. ...
    (comp.arch.storage)
  • Re: zfs raidz2
    ... it is cheaper to copy to a new set of drives. ... But it means that you can manage the cost of increasing the size of a RAIDZ array very nicely. ... In a while, when I have some spare cash, I will replace one of the others, and so on, so that by some time next year I will have nearly doubled the space available, but I won't have had to buy 4 disks all at once. ... Note that gradual replacement does not only smooth out the finances, it also means you are much less likely to get disks from the same batch, which means you are much less likely to get more that one failure at a time. ...
    (comp.unix.solaris)
  • How to improve disk performance?
    ... The disks are mirrored with SDS, ... usable space. ... I need redundancy and high performance, ... Let's say I wanted to double the disk performance? ...
    (comp.sys.sun.hardware)