Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!newsfeed.internetmci.com!in1.uu.net!world!coopnews.coop.net!frii.com!epimetheus.frii.com!user From: neely@frii.net (Andrew Neely) Newsgroups: comp.unix.bsd.freebsd.misc Subject: NFS-based quotas? Date: Thu, 11 Jul 1996 17:46:16 -0600 Organization: Front Range Internet, Inc. Lines: 50 Message-ID: <neely-1107961746160001@epimetheus.frii.com> NNTP-Posting-Host: epimetheus.frii.com X-Newsreader: Yet Another NewsWatcher 2.1.7 After extensive fiddling, I've found that FreeBSD 2.1.0-RELEASE doesn't want to play with quotas over NFS. The scenario: Computer A has Volume X containing gobs of users that want quotas. Volume X is shared via NFS and has quotas enabled and working fine. Computer B is where the users log in to play. It shares Volume X as an NFS client. I need Computer B to enforce quotas on Volume X. I have my /etc/fstab files set up roughly as: Computer A: /dev/sd0a / ufs rw 1 1 /dev/sd0s1b none swap sw 0 0 /dev/sd0s1e /var ufs rw 1 2 /dev/sd0s1f /usr ufs rw 1 3 /dev/sd0s1g /export/home1 ufs rw 1 4 /dev/sd1s1 /u ufs rw,userquota 1 5 proc /proc procfs rw 0 0 Computer B: /dev/sd0a / ufs rw 1 1 /dev/sd0s1b none swap sw 0 0 /dev/sd0s1f /usr ufs rw 1 2 /dev/sd0s1e /var ufs rw 1 3 computera:/u /u nfs rw,soft,bg,userquota 0 0 proc /proc procfs rw 0 0 Trying to enable or check quotas on each machine shows: ComputerA# quotacheck /u ComputerA# quotaon /u ComputerA# quota user Disk quotas for user user (uid 1001): Filesystem blocks quota limit grace files quota limit grace /u 20857 40000 50000 65 4000 5000 ComputerA# ComputerB# quotacheck /u /u not found in /etc/fstab ComputerB# quotaon /u /u not found in fstab ComputerB# quota user Disk quotas for user user (uid 1001): none ComputerB# Suggestions or flaming attitude corrections greatly appreciated. -Andy. frii.net