When viewing a raidz|raidz1|raidz2 pool, 'zpool list|status' will report the
total "device" space; ie: 3 1TB drives in a raidz will show approx. 3TB space.
'zfs list' will show available FILESYSTEM space, ie: 3 1TB raidz disks, approx
2TB space.


Logic wrote:
> Ian Collins (i...@ianshome.com) wrote:
>> On 07/18/10 11:19 AM, marco wrote:
>>> *snip*
>>>
>>>
>> Yes, that is correct. zfs list reports usable space, which is 2 out of
>> the three drives (parity isn't confined to one device).
>>
>>> *snip*
>>>
>>>
>> Are you sure?  That result looks odd.  It is what I'd expect to see from
>> a stripe, rather than a raidz.
>>
>> What does "zpool iostat -v pool2" report?
>
> Hi Ian,
>
> I'm the friend with the osol release(snv_117) installed.
>
> The output you asked for is:
> % zpool iostat -v pool2
> capacity     operations    bandwidth
> pool         used  avail   read  write   read  write
> ----------  -----  -----  -----  -----  -----  -----
> pool2       4.26T  1.20T    208     78  22.1M   409K
> raidz1      4.26T  1.20T    208     78  22.1M   409K
> c2d1            -      -     81     37  7.97M   208K
> c1d0            -      -     82     38  7.85M   209K
> c2d0            -      -     79     37  7.79M   209K
> ----------  -----  -----  -----  -----  -----  -----
>
> It really is a raidz, created a long time ago with build 27a, and I have been
> replacing the disks ever since, by removing one disk at a time and waiting for
> the
> resilvering to be done.
>
> greets Leon
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>

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

Reply via email to