Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Weird FS Behaviour 1

Status
Not open for further replies.

KPKIND

Technical User
Sep 8, 2003
130
IN
Hi *,

I have got a aix box with 4.3 on it. This system has resported FS full error on /tmp, so I had a look in to the FS to see there were 2 files of sizes 547MB & 123MB. The surprising thing is the FS capacity itself is 509MB, but how could it accomodate 670MB. Then I have moved the the file which was of 547MB to a diff FS, even then the file size remained the same, but the /tmp did not gain that space back. Pl let me know any of you had a similar exp.

4480uk# df -k /tmp
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd3 507904 0 100% 390 1% /tmp
4480uk# pwd
/tmp
4480uk# ls -lR|sort +4rn|head -5
-rw-rw-rw- 1 root sys 123342848 Oct 23 04:30 br4.log
-rw-r--r-- 1 root nobody 7844477 Jan 21 2005 opc-tec.log
-rw-r--r-- 1 root sys 4878336 Oct 23 04:15 env_out.txt
-rw-rw-rw- 1 root sys 4165632 Oct 23 04:11 br3.log
-rw-r--r-- 1 root sys 3739648 Oct 23 04:00 momdeliver.txt
4480uk#

TIA
KPKIND
 
you may have a process that still has the file open. do you have lsof on you box? you can use that to see what's still using it.
 
Also, re the file length and the FS space:

A file's length (or the sum of all a FS's file lengths) can be greater than the FS size, if there are sparse files in the FS. A sparse file has blocks with all null-bytes which are not allocated (or were allocated, but by wiping out an in-use file, are now unallocated.)

If you have it, the fileplace command can identify the unallocated regions of a file.




HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top