Article View: comp.sys.sun
Article #10938quotacheck question
From: Wouter Smaal Delft Univ.
Date: Tue, 14 Feb 1989 20:12
Date: Tue, 14 Feb 1989 20:12
51 lines
2652 bytes
2652 bytes
We have a Sun4/280 (Sunos4.0) gateway file server, who's serves 11 Sun3
discless clients. I use quotation for one filesystem (home/`server').
(/dev/xy0h 533461 240375 239739 50% /home/duttnph)
After booting our server, I noticed the following:
- De file system quota consistency checker (quotacheck) does'nt work.
- quota is not turned on (quotaon).
>From the manual I read:
quotacheck is normally run at boot time from the
/etc/rc.local file, see rc(8), before enabling disk quotas
with quotaon(8).
However, not in the /etc/rc.local file, but in the /etc/rc file I find
the following about quota:
mount -at 4.2 >/dev/console 2>&1
(echo -n 'checking quotas: ') >/dev/console
quotacheck -a -p >/dev/console 2>&1
(echo 'done.') >/dev/console
quotaon -a
Of course, on the file system root (/home/duttnph) there is a quotas file
edited with edquota.
Because the quota does'nt work for that particular file system, after booting,
I do manual on the server, via tty/pty:
- quotacheck -v /home/duttnph
- quotaon -v /home/duttnph
Then finally, the quota for the filesystem (home/`server' works.
more /etc/mtab
/dev/xy0a / 4.2 rw,nosuid 1 1
/dev/xy0g /usr 4.2 rw 1 2
/dev/xy0f /export/exec/sun3 4.2 rw,nosuid 1 7
/dev/xy1e /export/swap 4.2 rw,nosuid 1 6
/dev/xy1d /export/root 4.2 rw,nosuid 1 5
/dev/xy0h /home/duttnph 4.2 rw,quota 1 4 <------
/dev/xy1b /home/duttnph/ph/images 4.2 rw 1 10
/dev/xy0e /home/duttnph/ph/local 4.2 rw 1 9
/dev/xy1a /home/duttnph/backup 4.2 rw 1 8
/dev/xy0d /var 4.2 rw 1 3
dutrun:/var/spool/news /var/spool/news nfs ro,soft 0 0
dutrun:/usr/lib/news /usr/lib/news/dutrun nfs ro,soft 0 0
Is there any body who knows why quotacheck and quotaon does'nt work after
the server is booted ???
Wouter Smaal (System Manager) | tnhrwou@duttnph.UUCP
Simulation of Systems Group | mcvax!hp4nl!dutrun!duttnph!tnhrwou
Department of Applied Physics | voice 31 - (0)15 - 781416 Fax 783251
Delft University of Technology The Netherlands
Technical Details
Message-ID:
<633@dutrun.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: mcvax!duttnph!tnhrwou@uunet.uu.net (Wouter Smaal Delft Univ.) Newsgroups: comp.sys.sun Subject: quotacheck question Message-ID: <633@dutrun.UUCP> Date: 14 Feb 89 20:12:07 GMT Sender: usenet@rice.edu Organization: Delft University of Technology, The Netherlands Lines: 51 Approved: Sun-Spots@rice.edu Original-Date: 3 Feb 89 13:55:31 GMT X-Sun-Spots-Digest: Volume 7, Issue 155, message 4 of 18