Consultor Eletrônico



Kbase P45456: Why does a comparison of 'bdf' and 'du' outputs give different results regarding the file system spa
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

GOAL:

Why does a comparison of 'bdf' and 'du' outputs give different results regarding the file system space.

GOAL:

Does Progress allocate disc space outside the file system on HP-UX

FACT(s) (Environment):

HP-UX

FIX:

Progress does not allocate disc space outside the file system, it is a matter of output interpretation:

The 'bdf' and 'du' tools have different ways of calculating:

HP explanation:
The 'du' command is correctly reporting actual file system usage using blocks, whereas 'bdf' will look to memory also to see if a process has an open file loaded there. If a user (or an application or database) deletes a file before the process can terminate, then 'bdf' will report that area of the file system as unavailable because it is waiting for memory to write the open file back out to disk.
Use 'du' outputs to see the actual file system since it is using blocks. Do not compare du and 'bdf' outputs with each other.