1835228 Members
2318 Online
110078 Solutions
New Discussion

Resizing root

 
Andrew Lackenby
New Member

Resizing root

Hi there,

Was wondering if somebady can help me with the following problem...

I have just taken on a new customer site for my company and they are running HP-UX B.10.20 C. The root file structure only has 2Mb of free disk space left on it and this is preventing them from setting up new users and printers. Most of the stuff normaly associated with root (such as var) seems appears to have been set up onto its own virtual drive. There is some free space left to extend the virtual drive that root is on but I understand that this operation isn't straight forward.

Can anyone point me towards a procedure whereby I can resize root?

Many thanks,

Andrew Lackenby
4 REPLIES 4
Tom Geudens
Honored Contributor

Re: Resizing root

Hi,
There's lots of good posts about this subject, just do a search on the forums with keywords "extend root". A recent one is http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc78b8cc5e03fd6118fff0090279cd0f9,00.html

Hope this helps,
Tom
A life ? Cool ! Where can I download one of those from ?
harry d brown jr
Honored Contributor

Re: Resizing root


First things first. Do you have any room on vg00??

vgdisplay -v vg00|more

Look for, on the first page usually, "Total PE", "Alloc PE ", and "Free PE" to see if you have any available space to extend ROOT (/). If you don't have any space in "Free PE", then you have to either reduce an existing filesystem under root, or add an additional disk to vg00.

Once you have the "space", then Install the latest ignite/ux:

http://www.software.hp.com/products/IUX/download.html

Then perform a make_tape_recovery (put a new blank tape into the default tape drive - dds only):

make_tape_recovery -AIv


Do the make_tape_recovery twice.

Do a full system backup TWICE.

Then you need shutdown your system and reboot it from the tape. During the interactive restore, you can change the size of root.

live free or die
harry
Live Free or Die
harry d brown jr
Honored Contributor

Re: Resizing root


One quick thing to look for are FILES that are in /dev:

find /dev -type f -exec ls -l {} \;

If you get anything back, then that file can usually be deleted. If you have any questions just post the output from the "find".


live free or die
harry
Live Free or Die
Wodisch
Honored Contributor

Re: Resizing root