Henri Meddox wrote:> Hi Folks,
> call me a lernen ;-)
>
> I got a crazy Problem with "zpool list" and the size of my pool:
>
> created "zpool create raidz2 hdd1 hdd2 hdd3" - each hdd is about
1GB.
>
> zpool list shows me a size of 2.95GB - shouldn''t this bis online
1GB?
>
> After creating a file about 500MB -> Capacity is shown as 50 % -> The
right value?
>
> Is this a known bug / feature?
>
[Didn''t I answer this just the other day? I need to improve my search
skills :-)]
From the man page for zpool(1m)
These space usage properties report actual physical space
available to the storage pool. The physical space can be
different from the total amount of space that any contained
datasets can actually use. The amount of space used in a
raidz configuration depends on the characteristics of the
data being written. In addition, ZFS reserves some space for
internal accounting that the zfs(1M) command takes into
account, but the zpool command does not. For non-full pools
of a reasonable size, these effects should be invisible. For
small pools, or pools that are close to being completely
full, these discrepancies may become more noticeable.
From the man page for zfs(1m)
The amount of space available to the dataset and all its
children, assuming that there is no other activity in
the pool. Because space is shared within a pool, availa-
bility can be limited by any number of factors, includ-
ing physical pool size, quotas, reservations, or other
datasets within the pool.
-- richard