1833053 Members
2729 Online
110049 Solutions
New Discussion

FILE SYSTEM

 
SOLVED
Go to solution
nibble
Super Advisor

FILE SYSTEM

hi guys,
i got this status with 1 partition of my ux box.

host# bdf

Filesystem kbytes used avail %used Mounted on
/dev/vg_01/lv01 409600 386255 21917 95% /usr/dw/TUBE

considering result of my bdf, the used KB came up to 386255. so i issued du -sk to that partition and got this result

host# du -sk /usr/dw/TUBE/
43955 /usr/dw/TUBE/

my question, how come the used disk space in BDF is very far bigger than the result of du -sk, which is only 43,995? i know that the results should not be equal but differs only a little. any advise on this please? how could this possible happen? i really need to know of which file is occupying the space, for house keeping purposes. i tried the same commands with the other partitions and the used space differs only a little.
6 REPLIES 6
twang
Honored Contributor
Solution

Re: FILE SYSTEM

You may get idea about it after taking a look at thsi thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x445d2d88ce9cd711abdc0090277a778c,00.html
Ollie R
Respected Contributor

Re: FILE SYSTEM

Hi Nibble,
Looks like you have (or someone has) removed a file which is being held open by a process.
You will have to stop the process which is doing this and it will then free up the space.
Ollie.
To err is human but to not award points is unforgivable
Michael Tully
Honored Contributor

Re: FILE SYSTEM

You'll find that a file or files could have been removed, but are still counted. You can find these with the use of the 'lsof' tool.

Other than that have a look at Bill Hassell's comments in this posting.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x308b402f24d5d61190050090279cd0f9,00.html

Regards
Michael

Anyone for a Mutiny ?
nibble
Super Advisor

Re: FILE SYSTEM

thanks everyone.. =)
Caesar_3
Esteemed Contributor

Re: FILE SYSTEM

Hello!

Again:
The bdf and du work on diffrent system calls
So if one proccess write to that file system
with du you would see the size that it take
and with bdf you will see.

Also see in man about the block size that
the command show the size.

Caesar
nibble
Super Advisor

Re: FILE SYSTEM

thanks all!