quota! but on the wrong fs :-(

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Jan 31 12:23:41 PST 2004


On Sat, Jan 31, 2004 at 08:57:35PM +0100, stefan at 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 mounted on it's own like 
> /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

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040131/f1d4f2f8/attachment-0001.bin


More information about the freebsd-questions mailing list