df gives bad data after /etc/fstab changes

From: Paul N. Youngblood <youngbp_at_email.uah.edu>
Date: Thu, 7 Aug 1997 12:49:12 -0500 (CDT)

Hello sys admins,

I understand from reading the archives that one can use
the command "quotacheck -guv file_system_name" in a startup file
to "straighten out" quotas at each bootup.

But what I would like to know is why the df command "suddenly"
started producing invalid output on my system. I'm running
DU 4.0B with patch kit #4, AdvFS, and C2 security on an Alpha2100.
The df command seemed to be producing accurate output until
I made a couple of changes to /etc/fstab. Now, each time the
system is rebooted, the Capacity column of the df output shows
1% or 2% for each of the AdvFS filesystems when it should be 30%
to 50% depending on which filesystem. This is only corrected
when I run "quotacheck -guv" on each filesystem, which I must
now do after each bootup.

The few changes I made to my /etc/fstab file were ALL suggested
by the sys_check program: All I did was add userquota and
groupquota mount options to the AdvFS file systems that did not
already have them specified in /etc/fstab, and also I changed
all the sixth field (pass number) entries from 0 to 1,2,or 3
for each AdvFS entry. Please see the before/after versions
of my /etc/fstab file below. (It's only a 7-line file.)
Can anyone tell me what I did wrong and why df is suddenly
yielding invalid output? Thanks in advance. I'll summarize.

Paul Youngblood
University of Alabama in Huntsville
e-mail: youngbloodp_at_uah.edu

*************************************************************
This is /etc/fstab BEFORE:
*************************************************************
root_domain#root / advfs rw 0 0
/proc /proc procfs rw 0 0
usr_domain#usr /usr advfs rw 0 0
/dev/rz0e swap1 ufs sw 0 2
var_domain#var /var advfs rw,userquota,groupquota 0 0
big_domain#home /home advfs rw,userquota,groupquota 0 0
big_domain#tmp /tmp advfs rw 0 0

*************************************************************
This is /etc/fstab AFTER:
*************************************************************
root_domain#root / advfs rw,userquota,groupquota 0 1
/proc /proc procfs rw 0 0
usr_domain#usr /usr advfs rw,userquota,groupquota 0 2
/dev/rz0e swap1 ufs sw 0 2
var_domain#var /var advfs rw,userquota,groupquota 0 2
big_domain#home /home advfs rw,userquota,groupquota 0 2
big_domain#tmp /tmp advfs rw,userquota,groupquota 0 3
-------------------------------------------------------------
Received on Thu Aug 07 1997 - 19:57:20 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT