From nobody@FreeBSD.org  Wed Aug  4 19:41:37 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4AAF51065670
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  4 Aug 2010 19:41:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1FCFB8FC1A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  4 Aug 2010 19:41:37 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o74JfaWx047500
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 4 Aug 2010 19:41:36 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o74JfaO2047499;
	Wed, 4 Aug 2010 19:41:36 GMT
	(envelope-from nobody)
Message-Id: <201008041941.o74JfaO2047499@www.freebsd.org>
Date: Wed, 4 Aug 2010 19:41:36 GMT
From: Ferry Manders <freebsd@blackring.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: zpool iostat fails to show 666GB
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         149297
>Category:       kern
>Synopsis:       [zfs] zpool iostat fails to show 666GB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-fs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 04 19:50:07 UTC 2010
>Closed-Date:    Mon Aug 16 13:57:20 UTC 2010
>Last-Modified:  Mon Aug 16 13:57:20 UTC 2010
>Originator:     Ferry Manders
>Release:        FreeBSD 8.1-RELEASE #0
>Organization:
none
>Environment:
FreeBSD file.lan.blackring.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When i was filling my zfs storage pool and was following the iostat i noticed that zpool iostat skipped over 666GB.

Screenshot of the output can be seen on : 
http://www.blackring.net/no666.png
>How-To-Repeat:
fill a zpool over 666GB and keep a eye on the iostat
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Aug 4 20:42:05 UTC 2010 
Responsible-Changed-Why:  
This does not sound amd64-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149297 

From: "Anton A. Barsukov" <iscsi@zesdid.com>
To: bug-followup@FreeBSD.org, freebsd@blackring.net
Cc:  
Subject: Re: kern/149297: [zfs] zpool iostat fails to show 666GB
Date: Mon, 16 Aug 2010 18:04:27 +0600

 [root@backup /root]# uname -srm
 FreeBSD 8.1-STABLE amd64
 [root@backup /root]# zpool iostat
                capacity     operations    bandwidth
 pool         used  avail   read  write   read  write
 ----------  -----  -----  -----  -----  -----  -----
 zvault      1.72T  1.87T      6      7   365K   349K
 [root@backup /root]# zpool status
   pool: zvault
  state: ONLINE
  scrub: none requested
 config:
 
 	NAME                                            STATE     READ WRITE
 CKSUM
 	zvault                                          ONLINE       0     0
 0
 	  raidz1                                        ONLINE       0     0
 0
 	    gptid/aa9f7dbb-1712-11df-b7e3-003048d1fffe  ONLINE       0     0
 0
 	    gptid/ab73dd83-1712-11df-b7e3-003048d1fffe  ONLINE       0     0
 0
 	    gptid/ac49499a-1712-11df-b7e3-003048d1fffe  ONLINE       0     0
 0
 	    gptid/ad1ba31b-1712-11df-b7e3-003048d1fffe  ONLINE       0     0
 0
 
 errors: No known data errors
 
 I think you need zpool scrub.
 
 -- 
 WBR
 Anton Barsukov | iscsi@zesdid.com | PGP ID: DB73CCC8
 
State-Changed-From-To: open->closed 
State-Changed-By: ae 
State-Changed-When: Mon Aug 16 13:53:21 UTC 2010 
State-Changed-Why:  
zpool(8) uses zfs_nicenum function from libzfs_util.c  
for formatting numbers. And there are none of special cases 
for number 666. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=149297 
>Unformatted:
