extend partition root (/)

Go to solution
Binh Che Viet
Occasional Contributor

extend partition root (/)

Hi all,
I have a partition root (/) and use 100% space. how to do by extend.

Trusted Contributor

Re: extend partition root (/)

Read through the below thread


something has filled route, if you can reduce this then that my help and you do not need to increase /

# find / -xdev |xargs ls -ld |sort -rnk 5 |more

this lists all files on the / filesystem in order of which file is the larges.

also search for a file core on the root filesystem

find / -xdev -name core -exec ll {} \;

do it soon or your system may crash!

Honored Contributor

Re: extend partition root (/)

Personal opinion, I would prefer create new file system on other disk if I need disk space instead of extending / file system.
Use Lawrenzo's way to find out the large files, and move the files to the proper places.
Hope this can help.
Honored Contributor

Re: extend partition root (/)


I propose the Twang's suggestion.
If it is desperate to increase the / size, Ignite is the solution
never give up
Hoang Chi Cong_1
Honored Contributor

Re: extend partition root (/)

Hi Viet

Strongly recommand: make a recovery tape before extend the root partition.
What kind of the filesystem in your system?
You can refer to these thread:

and this document ID:

Best and regard,
Do not forget assign point to everyone who helps you.
Looking for a special chance.......
Tim D Fulford
Honored Contributor

Re: extend partition root (/)

/ should really have very little in it, and what it does have should be relatively static. (there are some exceptions, e.g. root home dir..).

Generally what may have happened is that someone has inadvertently filled it up, like outputting to /dev/nul (instead of /dev/null) or written to /dev/rmt/Om ("oh" instead of "zero"). I'd check out these before launching into ignite + rebuild.


Steven E. Protter
Exalted Contributor

Re: extend partition root (/)

You can not extend root partition.

You can make a make_tape_recovery tape, boot off of it and then intervene at the console to create a bigger root fs.

There should as noted by my colleagues not be any REAL files in the root fs.

Steven E Protter
Owner of ISN Corporation
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Adisuria Wangsadinata_1
Honored Contributor

Re: extend partition root (/)

Hi Binh Che Viet,

2 ways to extend root (/) file sytem :
- scary one, re-install the whole OS
- unscary one, using Ignite/UX software

The Ignite/UX software is a free software from HP, check the software at this url :


Hope this information can help you.

Merry Xmas & Happy New Year.

Best Regards,
now working, next not working ... that's unix