From owner-freebsd-fs@FreeBSD.ORG Fri May 25 05:07:42 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33D6816A400 for ; Fri, 25 May 2007 05:07:42 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30309.mail.mud.yahoo.com (web30309.mail.mud.yahoo.com [209.191.69.71]) by mx1.freebsd.org (Postfix) with SMTP id 00BEB13C4AD for ; Fri, 25 May 2007 05:07:39 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 96260 invoked by uid 60001); 25 May 2007 05:07:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=vIGoCGwxiGFpu7k5Y4NzR20jnFL/wDcExUrAOIKlvxkhuYG7LpWMWqFU2fxKxfuGr0698oamu1a08f9Jr58GfS5zClCVW+dAAncdUCwsnJX8YDK59XamCyW677FupQSW9GVzGtY2xw4jh+dBTjRoRY0h76r9l98askJ+UZVKJrw=; X-YMail-OSG: 7zhfg3wVM1k7t9WNwm1nvYcQw8BrNOuz21QGLj6C2LzTwY00RHFlIAcAwZDTOYJud7mw3NcB1dfi2MN0CVT18SdEy0nksoj4gY02VFWF4JRn02QlMjs- Received: from [85.212.48.7] by web30309.mail.mud.yahoo.com via HTTP; Thu, 24 May 2007 22:07:39 PDT Date: Thu, 24 May 2007 22:07:39 -0700 (PDT) From: Arne "Wörner" To: Nick Gustas , Richard Noorlandt , freebsd-fs@freebsd.org In-Reply-To: <4656264D.8010505@tychl.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <452653.95653.qm@web30309.mail.mud.yahoo.com> Cc: Subject: Re: Growing UFS beyond 2 TB X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 05:07:42 -0000 --- Nick Gustas wrote: > Richard Noorlandt wrote: > > I have been on this list for only a few days now, so I don't know > > anything > > about these growfs patches. But I'll guess I can find them somewhere. > > Unless > > they're scattered all over the place ;-) > > > > I run 6.2-RELEASE by the way. What's the easiest way to get the right > > growfs > > version with the necessary patches? > > > > > > Meddling with a FS that has data on it is always scary, no matter what > > tools > > you use. But your detailed description helps a lot. So once I updated > > growfs > > I'll try this approach myself. > > > > Best regards, > > > > Richard > > > > I did a diff between the growfs.c from a 6.2-STABLE machine and what I > have now from list patches and GCC error fixing. *WARNING* it appears > to work, and compiles clean, but doesn't actually make a correct > filesystem! I don't know enough C to get past this, though I suspect > it's close and some study might get me there. > > http://masq.tychl.net/growfs.patch > This look wrong, too: @@ -417,7 +417,7 @@ acg.cg_initediblk = 0; acg.cg_old_btotoff = start; acg.cg_old_boff = acg.cg_old_btotoff + - sblock.fs_old_cpg * sizeof(int32_t); + sblock.fs_old_cpg * sizeof(int64_t); acg.cg_iusedoff = acg.cg_old_boff + sblock.fs_old_cpg * sizeof(u_int16_t); } Where have u found that? -Arne ____________________________________________________________________________________You snooze, you lose. Get messages ASAP with AutoCheck in the all-new Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_html.html