From: "Paul N. Youngblood" <youngbp () email ! uah ! edu>
To: tru64-unix-managers
Subject: df gives bad data after /etc/fstab changes
Date: Thu, 07 Aug 1997 17:49:12 +0000 [thread overview]
Message-ID: <96078615810278.tru64-unix-managers.marc@archive.invalid> (raw)
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@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
-------------------------------------------------------------
reply other threads:[~1997-08-07 17:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox