1836636 Members
1518 Online
110102 Solutions
New Discussion

Re: root partition full

 
kacou
Regular Advisor

root partition full

is it possible to increase the the size of the root partition?
hp-ux
# uname -r
B.11.23
# model
9000/800/rp7420
#
9 REPLIES 9
Pete Randall
Outstanding Contributor

Re: root partition full

Yes, it is possible. The way to do it is to create an Ignite make_tape_recovery backup, then boot from the tape, size your logical volumes as needed and then finish reloading your system.

However, the root partition should be static and not growing. If it is growing, then the better approach is to find out why and fix the problem.


Pete

Pete
Kenan Erdey
Honored Contributor

Re: root partition full

Hi,

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1248922

Kenan.
Computers have lots of memory but no imagination
Bill Hassell
Honored Contributor

Re: root partition full

The root partition is full because mistakes have been made. You'll need to find the big directories (not necessarily big files) and put the files in the right location. Use these commands:

ll -d /* | sort -rnk5 | head -20
du -kx | sort -rn | head -20

Post the results and we can show you what should be moved or removed. As a hint, /dev must never be at the top of the list, only /etc and /sbin.


Bill Hassell, sysadmin
Shrikant Lavhate
Esteemed Contributor

Re: root partition full

Hi,

So many discussions on root full:

http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1248192
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1247799
etc etc etc....
Or search forum with root keyword... You will get whole list.

Bottom line of all threads is:

Root should be static
Application writing to / sholud allocated with dedicated FS.
Free up space by removing olg log, crash, tmp files before you attempt for extend.
/ extend on the fly is not possible
You should hold firm backup if you attempts for the same.
Will it remain a personal, if I broadcast it here!
Asif Sharif
Honored Contributor

Re: root partition full

ssudhir
Advisor

Re: root partition full

The temp. solution would be , try to find the large files and trip it

find / -size +50000 -xdev -exec ll {} \;

null those files, if they are log files which are not required.

Laughter is the best medicine
Jeeshan
Honored Contributor

Re: root partition full

Hi

Take a look at this link

take a look at this link

http://www.symmetricwebsites.com/
a warrior never quits
MarkSyder
Honored Contributor

Re: root partition full

Look for a large text file in /dev - a common mistake is mistyping a tape device name. There should not be any ordinary files in /dev.

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

Re: root partition full

Actually, you can extend / on the fly while the system is up if the following conditions exist:

1. You have OnlineJFS installed.
2. There are contiguous extents available on the root disk that contains /dev/vg00/lvol3 (/) since / must be contiguous.

I have done this on 11.23 systems where / filled up without any downtime.