Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2007 22:07:39 -0700 (PDT)
From:      Arne "Wörner" <arne_woerner@yahoo.com>
To:        Nick Gustas <freebsd-fs@tychl.net>, Richard Noorlandt <lists.freebsd@gmail.com>, freebsd-fs@freebsd.org
Subject:   Re: Growing UFS beyond 2 TB
Message-ID:  <452653.95653.qm@web30309.mail.mud.yahoo.com>
In-Reply-To: <4656264D.8010505@tychl.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--- Nick Gustas <freebsd-fs@tychl.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?452653.95653.qm>