1752716 Members
5434 Online
108789 Solutions
New Discussion юеВ

Re: Root FS is full

 
Saurabh Rawat
Advisor

Root FS is full

Hi I have 11.23 U ia64 srever which is in cluster environ ment and its root is 99% full I checked all the things and no files are bigger and no open processes and by du -x / it shows only 272 MB space used and file system is 500 MB ... I dont know which thing is utilizing rest of 250 MB space. And I cant reboot that system also. Do anyone of you have any idea ???

Your concerns will be appriciated.!!!

Thanks!!!
Insanity is often the logic of mind overtasked!!!
11 REPLIES 11
Steven E. Protter
Exalted Contributor

Re: Root FS is full

Shalom,

Few things to look for.

files deleted but apps still have file handles open. If you close the app you get the space back.

fuser -cu /

Hidden file trick.

A folder is created, files are put in it and then a filesystem is mounted on it. Space is used, files are not accessible. Go single user to fix this.

du -k | sort -rn | more

To identify visible files.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Krastev
Honored Contributor

Re: Root FS is full

Another option is to increase the / filesystem. See the detailed guide here - http://www.symmetricwebsites.com/articles/HP-UX/hpuxDynamicallyExtendSlashAndOrStand.php

regards,
ivan
Steven E. Protter
Exalted Contributor

Re: Root FS is full

Shalom,

The root fs on HP-UX must be contiguous and can not be increased.

You can do an Ignite make_tape_recovery or make_net_recovery backup, recover the system and intervene in the recovery to make root larger.

However as Bill Hassell says, root is not supposed to have data files in it. 500 MB free is quite enough for HP-UX root.

Best to stop storing data in root and store it in a mounted filesystem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Saurabh Rawat
Advisor

Re: Root FS is full

I have done fuser -cu but I cant do the single user mode thing because I cant really bring down the application at the moment and Ya when I checked with fuser -cu I dont find anything which is unusual ... Its really bugging me out :(
Insanity is often the logic of mind overtasked!!!
MarkSyder
Honored Contributor

Re: Root FS is full

Look for a file type f in /dev. A common mistake is to mistype a tape device file name and produce a large text file.

Look for core files. Look for any recent files in / that would be better in a dedicated filesystem.

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

Re: Root FS is full

All /dev/ underneath checked. Nothing misspelt drive. not having anyh clue whats happening!!
Insanity is often the logic of mind overtasked!!!
Steven E. Protter
Exalted Contributor

Re: Root FS is full

Hidden file trick is likely.

You really need to get this system into single user mode.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Taq
New Member

Re: Root FS is full

Hi Saurabh,

Since, this is in cluster try to check the /etc/cmcluster directory. There my be some log files that are taking up space.

As per above comments, use du. I would suggest use # du -sk /*
then check the directories other than the mounted filesystems.

Taq
Suraj K Sankari
Honored Contributor

Re: Root FS is full

Hi,

Check with lsof any open file is there or not

lsof +L1 +D /

Suraj