From owner-freebsd-hackers Fri Nov 8 2:32:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66DF237B401 for ; Fri, 8 Nov 2002 02:32:44 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EC3D43E75 for ; Fri, 8 Nov 2002 02:32:43 -0800 (PST) (envelope-from ticso@cicely8.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.5/8.12.5) with ESMTP id gA8AWZsP012758 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Fri, 8 Nov 2002 11:32:39 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.1.10]) by cicely5.cicely.de (8.12.6/8.12.6) with ESMTP id gA8AWXCu028794 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 8 Nov 2002 11:32:34 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (localhost [127.0.0.1]) by cicely8.cicely.de (8.12.6/8.12.6) with ESMTP id gA8AWXl8053078; Fri, 8 Nov 2002 11:32:33 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: (from ticso@localhost) by cicely8.cicely.de (8.12.6/8.12.6/Submit) id gA8AWTNp053077; Fri, 8 Nov 2002 11:32:29 +0100 (CET) Date: Fri, 8 Nov 2002 11:32:29 +0100 From: Bernd Walter To: Terry Lambert Cc: Lukas Ertl , freebsd-hackers@FreeBSD.ORG Subject: Re: resizing mounted filesystems Message-ID: <20021108103228.GE46686@cicely8.cicely.de> Reply-To: ticso@cicely.de References: <20021107154411.D210-100000@pcle2.cc.univie.ac.at> <3DCAE399.320D754@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DCAE399.320D754@mindspring.com> X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Nov 07, 2002 at 02:05:13PM -0800, Terry Lambert wrote: > Lukas Ertl wrote: > > how hard would it be to implement resizing of mounted filesystems? > > Currently, growfs requires the filesystem to be unmounted, and this is > > definitely a showstopper for FreeBSD when it comes to production use. > > > > I'd really like to promote FreeBSD more in my organisation, where we > > currently use mostly AIX, and I often hear (and have to say that it's > > true) that the AIX LVM is so robust, stable and quite easy to use. > > > > Could this feature be implemented once FreeBSD 5.0 is out with its > > filesystem snapshot? > > Nearly impossible, without a JFS. You would need to be able to add > new PP's to an LP, as you can do on AIX, or assign PP's to a "hog" > partition, and them provide each LP with "hog limits", so that they > can allocate PP's to themselves automatically, as needed, up to some > high watermark. It is doable - just not done. E.g. Solstice Disksuite for Solaris does this. > The problem is that the allocation space is spread over all cylinder > groups, effectively as a hash. This is the same reason it is > recommended that you backup and restore to "defrag" when you run > "growfs". That's a performance reason. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message