Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2004 20:23:29 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        stefan@swebase.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: quota! but on the wrong fs :-(
Message-ID:  <20040131202329.GB7345@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <00db01c3e837$36068c70$702450d5@swebasestefan>
References:  <00db01c3e837$36068c70$702450d5@swebasestefan>

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

--cmJC7u66zC7hs+87
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jan 31, 2004 at 08:57:35PM +0100, stefan@swebase.com wrote:
> Hi,
> Got quota working on another web server and wanted to get it working on a=
 development/shell server that is kinda new. I forgot that i needed /home m=
ounted on it's own like=20
> /dev/ar0s4e             /usr/home       ufs     rw,userquota    2       2
> for example but i just have / mounted so now quota is set on /.
> How can i fix this?

You'll have to set up quotas again from scratch on the new partition
-- you can't make the quotas on the root partition extend to cover
/usr/home.  It may be possible to script copying the actual file and
byte limits from what you've setup on the root and copy them into
/usr/home.

Turning off quotas on the root partition is pretty simple -- just edit
/etc/fstab to take out the 'userquota' mount flags, remount the root
partition:

    # mount -u /

and then delete the quota.user file.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--cmJC7u66zC7hs+87
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAHA7BdtESqEQa7a0RAhMFAKCU2sWjdBf+5rG6t4uOp513gW5zPACgh4Qm
792tJe98WUZN7FHDqKs77/o=
=KNjj
-----END PGP SIGNATURE-----

--cmJC7u66zC7hs+87--



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