Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* du & df discrepancy
@ 1998-03-18  5:00 Harry Hahn
  1998-03-20  5:00 ` Nikola Milutinovic
  0 siblings, 1 reply; 4+ messages in thread
From: Harry Hahn @ 1998-03-18  5:00 UTC (permalink / raw)



du and df are reporting different sizes on one of our AdvFS file systems.
du will report the correct size but df reports something much smaller. I
think this has impacted the quota system since I'm not longer able to set
quotas and the quota command returns zero disk usage when I know
otherwise.

Has anyone seen this before? What can this mean (is something very wrong)?
How can I fix it?

This is on an Alpha 3000/600 running DU4.0B. The problem arose fairly
recently and I've never experienced this particular problem before.

Thanks,
Harry

-- 
Harry Hahn <h3@ucla.edu>
Research and Instructional Biocomputing Services - UCLA



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: du & df discrepancy
  1998-03-18  5:00 du & df discrepancy Harry Hahn
@ 1998-03-20  5:00 ` Nikola Milutinovic
  1998-03-22  5:00   ` Tusnelda
  0 siblings, 1 reply; 4+ messages in thread
From: Nikola Milutinovic @ 1998-03-20  5:00 UTC (permalink / raw)



Harry Hahn wrote:
> 
> du and df are reporting different sizes on one of our AdvFS file systems.
> du will report the correct size but df reports something much smaller. I
> think this has impacted the quota system since I'm not longer able to set
> quotas and the quota command returns zero disk usage when I know
> otherwise.
> 
> Has anyone seen this before? What can this mean (is something very wrong)?
> How can I fix it?

Yeah, I've seen it on DU3.2G when we hit 90% of used space. I don't know
of a way to fix it. Maybe Digital has some patches.

Nix.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: du & df discrepancy
  1998-03-20  5:00 ` Nikola Milutinovic
@ 1998-03-22  5:00   ` Tusnelda
  1998-03-22  5:00     ` Mark & Suzanne (remove the dot to reply)
  0 siblings, 1 reply; 4+ messages in thread
From: Tusnelda @ 1998-03-22  5:00 UTC (permalink / raw)



It is quite simple, really. And mind you: There is actually no errors to the
filesystem, so it is a mere cosmetic problem.
If you place yourself in the top-level of the file-system in question (this
IS important), and issue either a [quotacheck -v .] or a [vquotacheck -v .]
you should be safe.
Please, be careful, not to be misled by the documentation: IF you issue a
plain quotacheck or vquotacheck -a (to check all filesystems mentioned in
/etc/fstab), you may end up with garbled readouts in df - I ended up with
NEGATIVE used space figures!
I guess that's the way you increase disk space nowadays *smile*
The above pertains to 3.2G and 4.0B.
Hope this helps you . . .
Kind regards,
Tusnelda

Nikola Milutinovic skrev i meddelelsen <35128F8A.C8894868@EUnet.yu>...
>Harry Hahn wrote:
>>
>> du and df are reporting different sizes on one of our AdvFS file systems.
>> du will report the correct size but df reports something much smaller. I
>> think this has impacted the quota system since I'm not longer able to set
>> quotas and the quota command returns zero disk usage when I know
>> otherwise.
>>
>> Has anyone seen this before? What can this mean (is something very
wrong)?
>> How can I fix it?
>
>Yeah, I've seen it on DU3.2G when we hit 90% of used space. I don't know
>of a way to fix it. Maybe Digital has some patches.
>
>Nix.
>





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: du & df discrepancy
  1998-03-22  5:00   ` Tusnelda
@ 1998-03-22  5:00     ` Mark & Suzanne (remove the dot to reply)
  0 siblings, 0 replies; 4+ messages in thread
From: Mark & Suzanne (remove the dot to reply) @ 1998-03-22  5:00 UTC (permalink / raw)



Tusnelda wrote:
> 
> It is quite simple, really. And mind you: There is actually no errors to the
> filesystem, so it is a mere cosmetic problem.
> If you place yourself in the top-level of the file-system in question (this
> IS important), and issue either a [quotacheck -v .] or a [vquotacheck -v .]
> you should be safe.
> Please, be careful, not to be misled by the documentation: IF you issue a
> plain quotacheck or vquotacheck -a (to check all filesystems mentioned in
> /etc/fstab), you may end up with garbled readouts in df - I ended up with
> NEGATIVE used space figures!
> I guess that's the way you increase disk space nowadays *smile*
> The above pertains to 3.2G and 4.0B.
> Hope this helps you . . .
> Kind regards,
> Tusnelda
> 
> Nikola Milutinovic skrev i meddelelsen <35128F8A.C8894868@EUnet.yu>...
> >Harry Hahn wrote:
> >>
> >> du and df are reporting different sizes on one of our AdvFS file 

By chance your not getting trick by sparse files. I think one is telling
you actual blocks used by files and one is reporting allocated.

	Cheers
		Mark :)



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-03-22  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-18  5:00 du & df discrepancy Harry Hahn
1998-03-20  5:00 ` Nikola Milutinovic
1998-03-22  5:00   ` Tusnelda
1998-03-22  5:00     ` Mark & Suzanne (remove the dot to reply)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox