1825904 Members
3482 Online
109689 Solutions
New Discussion

/ filesystem 98% full

 
khilari
Regular Advisor

/ filesystem 98% full

Hi guys, this is the situation... I see alot of mount points in my /... Almost every thing is mounted on another filesystem but mount points are all on /.. Does that make the filesystem size increase for / ?
I dont have any space in vg00 to increase the lvol for /. What can be done?
Thanks
6 REPLIES 6
Jeeshan
Honored Contributor

Re: / filesystem 98% full

Bill Hassell
Honored Contributor

Re: / filesystem 98% full

There are many, many reasons why / is full. No, mountpoints do not occupy any space on /. The / directory is static (doesn't change size) unless mistakes have been made. Post the results of these two commands on your system:

ls -l / | sort -rnk5 | head -10
du -kx | sort -rn | head -20

Then we can point out the areas that need fixing.


Bill Hassell, sysadmin
Yogesh M Puranik
Valued Contributor

Re: / filesystem 98% full

Well Khilari,

Please check out , is there any core file generated under / with below command..

1]
#find / -name "core". You can remove the core dumps if generated.

2]Specifically talking about to
/home - is a user specific area, so ask users to remove unwanted and older files/folders to make some space.

3]If /var is full - then
You can make user specific mail area as a null file. with # cd /var/mail
#>user

Also #cd /var/adm/syslog/
#zip mail.log

#cd /var/adm/
#>wtmp

4]If /opt is full.

Remove unwanted depots,tar,.gz formatted s/w's etc.Also under /opt/contrib/bin.If nickel output is there u can ftp it to desktop and can remove it.As these areas are space consuming areas.


I hope This much of info. is somewhat helpful for you to resolve your issues.


Rgds
Yogesh.



Sajjad Sahir
Honored Contributor

Re: / filesystem 98% full


Dear Friend
check any core file is there
if it is there remove it
find . -name core -exec rm -i {} \;
check
directories like opt
du -sk /opt/*
if any files belongs to higher size check
it and take necessary action
this is way u can manage it

thanks and regards

sajjad sahir
MarkSyder
Honored Contributor

Re: / filesystem 98% full

How long has it been 98% full? If it hasn't changed for a long time, then why worry?

Check for ordinary (text) files in /dev - a common mistake is to mistype a tape device name.

Don't worry about /var - it's not part of /.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing