From owner-freebsd-current@FreeBSD.ORG Wed Oct 27 19:01:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F6F616A4CE for ; Wed, 27 Oct 2004 19:01:39 +0000 (GMT) Received: from lithium.plan-ix.de (lithium.plan-ix.de [212.37.39.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E62443D53 for ; Wed, 27 Oct 2004 19:01:38 +0000 (GMT) (envelope-from braukmann@tse-online.de) Received: from localhost (lithium.plan-ix.de [212.37.39.35]) by lithium.plan-ix.de (Postfix) with ESMTP id 2A2CD2EC35F; Wed, 27 Oct 2004 19:01:36 +0000 (GMT) Received: from localhost.plan-ix.de ([212.37.39.35]) by localhost (lithium.plan-ix.de [212.37.39.35]) (amavisd-new, port 10025) with ESMTP id 10772-04; Wed, 27 Oct 2004 19:01:35 +0000 (GMT) Received: from [192.168.225.210] (p508243A5.dip0.t-ipconnect.de [80.130.67.165]) by lithium.plan-ix.de (Postfix) with ESMTP id D4B222EC35E; Wed, 27 Oct 2004 19:01:34 +0000 (GMT) Date: Wed, 27 Oct 2004 21:01:51 +0200 From: Andreas Braukmann To: Oliver Lehmann Message-ID: <5521E0229FFC0CAECEA5EA17@[192.168.225.210]> In-Reply-To: <20041027201443.44f3bb03.lehmann@ans-netz.de> References: <20041027194551.54ced1e7.lehmann@ans-netz.de> <20041027175440.GA60198@xor.obsecurity.org> <20041027201443.44f3bb03.lehmann@ans-netz.de> X-Mailer: Mulberry/3.1.6 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at plan-ix.de cc: freebsd-current@freebsd.org cc: Kris Kennaway Subject: Re: growfs - Using on mounten FS - planned? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 19:01:39 -0000 --On Mittwoch, 27. Oktober 2004 20:14 Uhr +0200 Oliver Lehmann wrote: > Kris Kennaway wrote: >> On Wed, Oct 27, 2004 at 07:45:51PM +0200, Oliver Lehmann wrote: >> > >> > But now I read growfs(8), and it is only possible to grow an unmounted >> > filesystem which is bad for /usr (for example), and not nice at all. >> > Are there any plans to make it work with mounted Filesystems? >> >> I don't think so; do it from single-user mode instead. Also note that >> you can only grow into contiguous space, so if you have multiple >> filesystems on the disk that you want to grow later, you have to >> preallocate space in which to grow them (i.e. space them apart on the >> disk) -- so you might as well just allocate the space to the FS to >> begin with. > > I thought it would be as easy as it is with AIXs LVM. :) I got used to manage the disk space via vinum volumes. If a filesystem has to grow, I just add concat plex to the vinum volume underlying the filesystem. After that I use growfs. I admit that I have not done this under a recent 5.x or -current with g_vinum and/or UFS2. But I'm very used to this procedure on my produc- tioin servers running 4-stable. Ok, ... there's still the "problem" that one has to do this during pre-scheduled maintenance windows very early in the morning. > (just grow if your vg has free space, and by having it still mounted, > and don't care about "where" the free space is) Using vinum you won't have to. > Because I liked the idea having free diskspace up one's sleeve which you > can assign later, or for a new partition or sth. like that. > But it looks like i should drop that thing. I'll have to test this on gvinum / UFS2 during the next few weeks, because of a 2 TByte storage server running 5.3 has to go in pro- duction in early December. -Andreas