df with ZFS vs. zpool list

2011-12-15 Thread Frank Lanitz
Hi folks,

I'm a bit confused about a thing. I did create a zpool using

zpool create storage ada1 ada2 ada3

Each of SATA-drives is about 80G in size. When using df -h I'm only
receiving

storage 145G42k 145G0%  /storage

where I expected something like 220GB (due to the ²-issue). However,

freebsd-test# zpool list
NAME  SIZE  ALLOC   FREECAP  DEDUP  HEALTH  ALTROOT
storage   222G  9.10M   222G 0%  1.00x  ONLINE  -

is giving the expcted output.

Can somebody clear the fog a bit ;)

Cheers,
Frank

P.S. It's a 9.0RC3
P.P.S.
freebsd-test# zpool status

pool: storage
state: ONLINE
scan: resilvered 8.50K in 0h0m with 0 errors on Wed Dec 14 17:07:38 2011
config:

NAMESTATE READ WRITE CKSUM
storage ONLINE   0 0 0
  raidz1-0  ONLINE   0 0 0
ada1ONLINE   0 0 0
ada2ONLINE   0 0 0
ada3ONLINE   0 0 0

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: df with ZFS vs. zpool list

2011-12-15 Thread Andreas Rudisch
On Thu, 15 Dec 2011 14:20:05 +0100
Frank Lanitz fr...@frank.uvena.de wrote:

 I'm a bit confused about a thing. I did create a zpool using
 zpool create storage ada1 ada2 ada3

 storage   145G42k 145G0%  /storage

 freebsd-test# zpool list
 NAME  SIZE  ALLOC   FREECAP  DEDUP  HEALTH  ALTROOT
 storage   222G  9.10M   222G 0%  1.00x  ONLINE  -

 P.P.S.
 freebsd-test# zpool status
   NAMESTATE READ WRITE CKSUM
   storage ONLINE   0 0 0

 raidz1-0  ONLINE   0 0 0
  ^^
   ada1ONLINE   0 0 0
   ada2ONLINE   0 0 0
   ada3ONLINE   0 0 0

Hi,

everything look fine. The pool consists of 3 80GB hds, on them you
created a RAIDZ1 filesystem. In your case a third of the pool is used
for parity information.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpyyvzAdajXh.pgp
Description: PGP signature


Re: df with ZFS vs. zpool list

2011-12-15 Thread Frank Lanitz
Am 15.12.2011 14:39, schrieb Andreas Rudisch:
 On Thu, 15 Dec 2011 14:20:05 +0100
 Frank Lanitz fr...@frank.uvena.de wrote:
 
 I'm a bit confused about a thing. I did create a zpool using
 zpool create storage ada1 ada2 ada3
 
 storage  145G42k 145G0%  /storage
 
 freebsd-test# zpool list
 NAME  SIZE  ALLOC   FREECAP  DEDUP  HEALTH  ALTROOT
 storage   222G  9.10M   222G 0%  1.00x  ONLINE  -
 
 P.P.S.
 freebsd-test# zpool status
  NAMESTATE READ WRITE CKSUM
  storage ONLINE   0 0 0
 
raidz1-0  ONLINE   0 0 0
   ^^
  ada1ONLINE   0 0 0
  ada2ONLINE   0 0 0
  ada3ONLINE   0 0 0
 
 everything look fine. The pool consists of 3 80GB hds, on them you
 created a RAIDZ1 filesystem. In your case a third of the pool is used
 for parity information.

Seems to make sense. Thanks for pointing that out.

Cheers,
Frank

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: df with ZFS vs. zpool list

2011-12-15 Thread John Levine
Each of SATA-drives is about 80G in size. When using df -h I'm only
receiving

storage145G42k 145G0%  /storage

where I expected something like 220GB (due to the �-issue). However,

It's raidz.  The third disk is parity for the first two.

   NAMESTATE READ WRITE CKSUM
   storage ONLINE   0 0 0
 raidz1-0  ONLINE   0 0 0
   ada1ONLINE   0 0 0
   ada2ONLINE   0 0 0
   ada3ONLINE   0 0 0

R's,
John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org