SUMMARY Pt II: 100% full filesystem

From: Rich Glazier (rglazier2002@yahoo.com)
Date: Tue Mar 20 2007 - 17:13:38 EST


Dr. Blinn's additional comments...

----- Forwarded Message ----
From: Dr. Thomas P. Blinn <tom@felines.mv.com>
To: Rich Glazier <rglazier2002@yahoo.com>
Sent: Tuesday, March 20, 2007 12:41:43 PM
Subject: RE: SUMMARY: 100% full filesystem

There are two things at work. One is file system boot time checks, the
other is things that quotacheck uses. If the mount logic actually runs
quota checks on AdvFS file systems at boot time, that would be neat, but in
my recollection (which may be flawed) I don't think it does. There is no
equivalent to "fsck" in the AdvFS stuff, consistency is sort of assumed as a
side effect of the journalled transaction logic, so of course, if anything
is in fact wrong, it may not be detected for a long time, until things go
very wrong.

AdvFS, unlike UFS, does indeed have mandatory quota files, even if you are
not enforcing quotas in any way, and I can believe that they could get out
of sync with the actual file system usage, and further that even if you are
not enforcing quotas, that there could be code in the kernel related to the
use of quotas on AdvFS that doesn't really work quite right in all cases. I
would not be at all surprised if doing boot time consistency checking might
work as a work-around for problems with the quota data getting out of synch
with reality.

As far as I can recall (it was never my personal work responsibility, so I
may be unclear on reality), no one inside Digital/Compaq/HP was ever really
responsible for carefully testing disk quota functionality. It was never
used in the internal production environment in the UNIX group and running
the suite of system regression tests with quotas enabled would have likely
more than doubled the resource costs of a test cycle. It was triaged. So
there may be things that just don't work right but that you never notice if
you don't run a system for a long time through many reboot cycles, etc. So
I would never be surprised by strange behavior attributable to quota stuff
not quite working as expected or intended.

Tom

> -----Original Message-----
> From: Rich Glazier [mailto:rglazier2002@yahoo.com]
> Sent: Tuesday, March 20, 2007 12:20 PM
> To: tom@felines.mv.com
> Subject: Re: SUMMARY: 100% full filesystem
>
> Thanks for the feedback. I've had some confusion about quotas on AdvFS.
> Even if you're not using them (enforcing them), I was told you still need
> the userquota and qroupquota on the fstab lines. I don't have quotas on
> my filesystems.
>
> Anyway, here's what the fstab man page says. Looks like the sixth field
> is used by AdvFS...
>
> For UFS file systems, the sixth field, (pass number), is used by the
> fsck
> and quotacheck commands to determine the order in which file system
> checks
> are done at reboot time. For the root file system, specify 1 in the
> pass
> field. For other UFS file systems specify 2 or higher in the pass
> number
> field.
> For AdvFS filesets, the sixth field is a pass number field that allows
> the
> quotacheck command to perform all of the consistency checks needed for
> the
> fileset. For the root file system, specify 1 in the pass field. For
> other AdvFS file systems specify 2 or higher in the pass number field.
>
> ----- Original Message ----
> From: Dr. Thomas P. Blinn <tom@felines.mv.com>
> To: Rich Glazier <rglazier2002@yahoo.com>
> Sent: Tuesday, March 20, 2007 9:39:21 AM
> Subject: RE: SUMMARY: 100% full filesystem
>
>
> In my recollection, AdvFS doesn't pay attention to the secret codes in
> fstab
> that specify things like doing quota checking; I think this is even
> mentioned in the fstab reference page. That's why it doesn't work the way
> you thought.
>
> Tom
>
> > -----Original Message-----
> > From: tru64-unix-managers-owner@ornl.gov [mailto:tru64-unix-managers-
> > owner@ornl.gov] On Behalf Of Rich Glazier
> > Sent: Monday, March 19, 2007 8:09 PM
> > To: tru64-unix-managers@ornl.gov
> > Subject: SUMMARY: 100% full filesystem
> >
> > Thank you George Banane and Joseph Senulis for your replies.
> >
> > George suggested I run quotacheck on the filesystem (advfs). This
> worked!
> > I have the last field set to 2 in /etc/fstab, so it should have been
> doing
> > this on reboot, but doing it manually worked!
> >
> > Thanks!
> >
> > ----- Original Message ----
> >
> >
> > i have a filesystem that DF reports as 100% full, DU reports about 80%
> > full. I've added more space to the filedomain, and balanced, but it's
> > still 100%. I have rebooted several times. Any trick to un-sticking
> this?
> >
> > Thanks
> >
> > Tru64 5.1A PK6
> >
> >
> >
> >
> __________________________________________________________________________
> > __________
> > Looking for earth-friendly autos?
> > Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
> > http://autos.yahoo.com/green_center/
>
>
>
> __________________________________________________________________________
> __________
> It's here! Your new message!
> Get new email alerts with the free Yahoo! Toolbar.
> http://tools.search.yahoo.com/toolbar/features/mail/

 
____________________________________________________________________________________
Don't get soaked. Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:34 EDT