From owner-freebsd-fs Wed Mar 21 17:59:50 2001 Delivered-To: freebsd-fs@freebsd.org Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (Postfix) with ESMTP id 72F4237B71B for ; Wed, 21 Mar 2001 17:59:47 -0800 (PST) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.9.3/8.9.3) id SAA11764; Wed, 21 Mar 2001 18:56:25 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp03.primenet.com, id smtpdAAA9Xai6w; Wed Mar 21 18:56:21 2001 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id SAA13427; Wed, 21 Mar 2001 18:59:41 -0700 (MST) From: Terry Lambert Message-Id: <200103220159.SAA13427@usr05.primenet.com> Subject: Re: growfs To: fschapachnik@vianetworks.com.ar Date: Thu, 22 Mar 2001 01:59:41 +0000 (GMT) Cc: tlambert@primenet.com (Terry Lambert), freebsd-fs@FreeBSD.ORG In-Reply-To: <200103211252.JAA94399@ns1.via-net-works.net.ar> from "Fernando Schapachnik" at Mar 21, 2001 09:52:52 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > I was wondering how usable is the growfs implementation > > > available in -CURRENT. > > > > > > Any chance of using it on -STABLE? > > > > It will work as well as it works pretty much everywhere, going > > back a long time. I believe the first version from "Der Mouse" > > ran on FreeBSD 1.1.5. > > Any place it can be downloaded? (I mean: is it just userland and I > grab it from -CURRENT, or there kernel/UFS code patches also?). It's called "fsresize" these days: http://www.nethelp.no/scsi/fsresize.c > > The problem with this is that you will get fragmentation; > > consider the following two cases; the first is a disk of > > size "10"; the second is a disk of size "6" that has been > > "grown" to size "10". The "*" are allocated blocks, and > > the "." are unallocated blocks; "o" are blocks that would > > have been allocated in the new space, if it had been there > > at the time the were allocated (but it wasn't): > > Thanks for the extense explanation! > > Actually, this is good enough for what I need: I'm planning to offer > backup space to customers. So I will start with an x Gb HD (vinum'ed, > of course). When I sold the whole of it, or I'm about to do it, then > I will add a new one. The trick is that there are very high chances > that when I've sold x Gb of backup space, the real used space is y, > being y << x, so basically I'm adding disk space when there is a lot > of space available still. > > Will that suffice, or am I lying somewhere? If you have a lot of space out there, then you will be fine. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message