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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Folder size not recalculated when files are deleted

Status
Not open for further replies.

rsf32

MIS
Jul 25, 2002
1
US
I need to see if there is a way for the system to look at the files in a folder and recalculate its true size. Once the folder grows, it never seems to shrink back down even though files are deleted from the folder.
 
If I recall (and it's a big if), the directory size grows due to the inodes which are associated with it, so deleting files doesn't have any effect. Possibly the only way to return it to 'normal' is to delete it and recreate it, though whether you'd want to do this is debateable. Someone else might well have a more definitive answer. Cheers.
 
Been there, got the t-shirt!

Here's a patch that would free up inodes if you do not have it installed yet. Please verify by running swlist if this patch is already installed. The dependency for this patch is most probably installed already since PHKL_18543 is a critical patch. But please verify anyway.

- PHKL_22635 s700_800 11.00 fix ufs inode hangs & race of mkdir, umount

Dependency: PHKL_18543 (I'm sure you have this installed already


Hope this helps you, it helped me!

Paul
 
The system does not reduce size info. The only way to do that is to remove the directory and create it...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top