extend partition root (/)

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

Thanks.
7 REPLIES 7
lawrenzo
Trusted Contributor

Re: extend partition root (/)

Read through the below thread

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=522776

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!



hello
twang
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.
Ravi_8
Honored Contributor

Re: extend partition root (/)

Hi,

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:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=732269

and this document ID:
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-938907319+1104247394581+28353475&docId=200000062908171

Best and regard,
Do not forget assign point to everyone who helps you.
Jimkery
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.

Regards

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

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
Adisuria Wangsadinata_1
Honored Contributor
Solution

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 :

http://www.software.hp.com

Hope this information can help you.

Merry Xmas & Happy New Year.

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