From nobody@FreeBSD.org  Fri Mar 17 23:50:10 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 686DC16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Mar 2006 23:50:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1221B43D46
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Mar 2006 23:50:10 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2HNo9ZX071262
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Mar 2006 23:50:09 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k2HNo9nZ071261;
	Fri, 17 Mar 2006 23:50:09 GMT
	(envelope-from nobody)
Message-Id: <200603172350.k2HNo9nZ071261@www.freebsd.org>
Date: Fri, 17 Mar 2006 23:50:09 GMT
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: growfs man page -- document "panic: not enough space" and mention gconcat
X-Send-Pr-Version: www-2.3

>Number:         94625
>Category:       docs
>Synopsis:       [patch] growfs man page -- document "panic: not enough space" and mention gconcat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 17 23:50:21 GMT 2006
>Closed-Date:    
>Last-Modified:  Mon Jan 21 23:39:32 UTC 2008
>Originator:     Jeremy C. Reed
>Release:        6.0
>Organization:
>Environment:
>Description:
Please document "panic: not enough space" in growfs(8) manual so users of
growfs know how many bytes they need to be able to grow.

Also mention gconcat, maybe like:

--- /archive/FreeBSD-current/src/sbin/growfs/growfs.8   2005-01-18 02:09:34.000000000 -0800
+++ /home/reed/growfs.8 2006-03-17 15:41:38.000000000 -0800
@@ -64,7 +64,10 @@
 before running
 .Nm .
 If you are using volumes you must enlarge them by using
-.Xr vinum 8 .
+.Xr gconcat 8
+or
+.Xr vinum 8 ,
+as appropriate.
 The
 .Nm
 utility extends the size of the file system on the specified special file.


I don't know if ccd can "grow" a volume, if so mention ccdconfig(8) also.

>How-To-Repeat:
Use gconcat to add a /dev/md* memory disk. Then use growfs to grow file system. How do you know how much space is needed for growfs?

(I looked at code, but simplified explanation in man page would be appreciated.)
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-doc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Mar 18 01:41:16 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94625 
 
Adding to audit trail from misfiled PR docs/119849:
 
Date: Sun, 20 Jan 2008 23:09:27 -0500
From: Tom Rhodes <trhodes@FreeBSD.org>
 
 Hi Jeremy,
 
 > --- /archive/FreeBSD-current/src/sbin/growfs/growfs.8 2005-01-18 02:09:34.000000000 -0800
 > +++ /home/reed/growfs.8 2006-03-17 15:41:38.000000000 -0800
 > @@ -64,7 +64,10 @@
 > before running
 > .Nm .
 > If you are using volumes you must enlarge them by using
 > -.Xr vinum 8 .
 > +.Xr gconcat 8
 > +or
 > +.Xr vinum 8 ,
 > +as appropriate.
 > The
 > .Nm
 > utility extends the size of the file system on the specified special file.
 
 About the panic, you mean this one:
 
  DBG_TRC;
                 if(sblock.fs_ncg-osblock.fs_ncg < 2) {
                         errx(2, "panic: not enough space");
 
 
 ??
 
 Also, I think that vinum.8 is gone in 6.X?  I can check that,
 just want to double check this panic message.  Thanks,
 
 -- 
 Tom Rhodes
 
Adding to audit trail from misfiled PR docs/119865:
 
Date: Mon, 21 Jan 2008 09:55:29 -0600 (CST)
From: "Jeremy C. Reed" <reed@reedmedia.net>
 
 On Sun, 20 Jan 2008, Tom Rhodes wrote:
 
 > About the panic, you mean this one:
 > 
 >  DBG_TRC;
 >                 if(sblock.fs_ncg-osblock.fs_ncg < 2) {
 >                         errx(2, "panic: not enough space");
 > 
 > 
 > ??
 
 I think so, but I can't remember for sure. This is near two years old.
>Unformatted:
