HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Root FS is full

 

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
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

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

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
Occasional Visitor

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
Ramaprasad K
Regular Advisor

Re: Root FS is full

Saurabh,

As told earlier, run (post the output here)
#du -akx / | sort -n | more

to check for size of each and every file under 'root (/)'sorted in ascending order by size. Probably, there could be some log file which is using up space.

Regards,
Ramaprasad K
Armin Kunaschik
Esteemed Contributor

Re: Root FS is full

Steven,

please stop telling people, that this is not possible. It is.. if you have mirrored disks.
It's not very hard to do.
And it's described very deeply in the forum.
If you don't trust my desciption you maybe trust Geoff Wilds description at http://www.met.ca/itrc/index.php?option=com_content&task=view&id=89&Itemid=2

All your other statements are true but this one is not!

My 2 cents,
Armin

PS: Assign points if you find answers useful!
And now for something completely different...