Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2004 10:54:40 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Oliver Lehmann <lehmann@ans-netz.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: growfs - Using on mounten FS - planned?
Message-ID:  <20041027175440.GA60198@xor.obsecurity.org>
In-Reply-To: <20041027194551.54ced1e7.lehmann@ans-netz.de>
References:  <20041027194551.54ced1e7.lehmann@ans-netz.de>

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

--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--



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