From owner-freebsd-current@FreeBSD.ORG Wed Oct 27 17:53:36 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 D37CC16A4CE for ; Wed, 27 Oct 2004 17:53:36 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id A641743D54 for ; Wed, 27 Oct 2004 17:53:36 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A0C2F513D2; Wed, 27 Oct 2004 10:54:40 -0700 (PDT) Date: Wed, 27 Oct 2004 10:54:40 -0700 From: Kris Kennaway To: Oliver Lehmann Message-ID: <20041027175440.GA60198@xor.obsecurity.org> References: <20041027194551.54ced1e7.lehmann@ans-netz.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <20041027194551.54ced1e7.lehmann@ans-netz.de> User-Agent: Mutt/1.4.2.1i cc: freebsd-current@freebsd.org 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 17:53:37 -0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 27, 2004 at 07:45:51PM +0200, Oliver Lehmann wrote: > Hi, >=20 > I'm thinking about the design for a new webserver system, which would have > 4 users. I came to the conclusion that it would be nice to have several > different File-Systems like /usr/local/www, /usr/local/mysql, /usr/home > (with quota) and so on. > I thought it would be a good idea just to give them the space they > actually will need + some free space. Because I know AIX I thought it > would be easy to just grow a FS if more space is needed. > 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. Kris --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBf+DgWry0BWjoQKURAtF9AJ0Vcqq+OVMDfwKdBEndXFCN7tF5+ACeJTaV DgVrhfgKyxWOy0Dre693t/0= =fZgT -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--