tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Disk Space Issues
@ 2001-07-20 19:19 Mohamed K. Ahmed
  0 siblings, 0 replies; only message in thread
From: Mohamed K. Ahmed @ 2001-07-20 19:19 UTC (permalink / raw)
  To: tru64-unix-managers

** My Original Question and updates are at the end of this message

The Summary=3A

It seems that when a file is delete while it is open by ANY PROCESS=2C =

the free space is not released until that process closes the file it =

only removes reference to the inode in the superblock=2E =22du=22 can=27t=
 see a =

deleted file=2C so it will not account for the space=2E =22df=22 knows th=
e =

truth and reports it=2E

Some useful commands=3A
1=2E fuser -c -d -v =3Cmount point=3E

This command will give the PID of the running process that has a file =

open in the filesystem=2E (I didn=92t get anything out of this because th=
e =

users log in to oracle after logging to the system )=2E
If it=27s a database process then you will need to restart the =

database=2E(I will probably go with that option) =

The fastest way to solve this is to boot the box or unmount/mount again =

(if you can unmount)=2E

2=2E Check commands like showfdmn and showfsets regarding AdvFS disk usag=
e

Thanx to all who replied=3A

Kevin Partin / Paul LaMadeleine / Mandell Degerness / Alan =

(alan=40nabeth=2Ecxo=2Edec=2Ecom) / Ben Smith / Jesper Nemholt and of cou=
rse =

Dr=2E Tom Blinn


Mohamed

ORIGINAL QUESTION=3A
Hi managers=2C

I have what I think is an easy question=2C but my mind just stopped =

thinking=2E
My question is=3A
I have Advfs on Unix 4=2E0g system and I have deleted some large files =

from one of the domains=2E Now I think the free space that I have freed =

is not reported correctly

df -K output=3A
Filesystem     1024-blocks     Used     Available   Capacity =

domain=5Fname      35547696    27666494    7881202      78=25     /data

but output from du -rsk=3A
22074494 /data

showfdmn -k got the following output

Vol   1K-      Blks Free   =25Used   Cmode   Rblks  Wblks  =

1L  35547702    9288536   74=25        on     256    256   =


output from showfsets -k is as follows=3A
Files =3A 3893=2C SLim=3D 0=2C HLim=3D 0
Blocks (1k) =3A 26297864=2C SLim=3D 0=2C HLim=3D 0
Quota Status =3A user=3Doff group=3Doff =


which is somehow consistant with the output from df -k but not with =

the du -rsk=2E  So all the reported numbers are the same except du -rsk =

which reports less

Why this extra space not reported in the df output=2E

TIA
Mohamed

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-20 19:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-20 19:19 SUMMARY: Disk Space Issues Mohamed K. Ahmed

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