Operating System - HP-UX
1752571 Members
5192 Online
108788 Solutions
New Discussion юеВ

Re: i need to increase the space in / and /var ...

 
SOLVED
Go to solution
Onur Karakan
Advisor

Re: i need to increase the space in / and /var ...

Hi sekar,
it is not possible to increase / filesystem with the LVM commands. You can only increase it with ignite.
Take ignite of your system
make_tape_recovery -Av

break in boot
search
boot p? (your tape drive)
No to interact with IPL

Press "Return" for the specified mode.
Yes to user interface

User interface will be appeared. Choose Install HP-UX.
Choose filesystems tab.
Then increase / filesystem size from here.

Best regards,
Onur
Steven E. Protter
Exalted Contributor

Re: i need to increase the space in / and /var ...

Shalom Sekar,


To increase root,

Take a make_tape_recovery backup of vg00.

Boot the system off this tape and press a key when prompted to get into the Ignite install interface.

Make root and var for that matter bigger.

Before you bother though, make sure you are not storing any real files in root. its really only there to provide path to other filesystems.

I keep root on HP-UX systems at 1 GB just to make mistakes less annoying. I rarely if ever use more than 200 MB.

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
inventsekar_1
Respected Contributor

Re: i need to increase the space in / and /var ...

thank u all...
i incresed the space in /var
and i learnt from u that using tap only its possible to increse the space in /

thanks once again..
Be Tomorrow, Today.
Judy Anderson
New Member

Re: i need to increase the space in / and /var ...

I read this thread with interest, as I need to extend /usr and /var on my hpux 11.00 system. It looks like these instructions will work great for /var, but because lvextend and extendfs live on /usr, I'm imagining it won't work for that filesystem. What should I do?
Torsten.
Acclaimed Contributor

Re: i need to increase the space in / and /var ...

"What sould I do?"

Open your own thread for your own question!

This is usual in every forum.

BTW, you should boot to LVM maintenance mode and do the modification.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
inventsekar_1
Respected Contributor

Re: i need to increase the space in / and /var ...

"It looks like these instructions will work great for /var, but because lvextend and extendfs live on /usr, I'm imagining it won't work for that filesystem"

the second "/usr" is "/var". typo error isnt?

no. not like that. where commands live doesnt matter.

anyhow no problem to ask a question inside another question. it is the question auther's responsibility to assign or not assign points.

Be Tomorrow, Today.
James R. Ferguson
Acclaimed Contributor

Re: i need to increase the space in / and /var ...

Hi Judy:

Do:

# whereis lvextend
# whereis extendfs

...and you will see that a statically-linked binary for each lives in '/sbin' which will thus be available in single-user mode.

Regards!

...JRF...
Judy Anderson
New Member

Re: i need to increase the space in / and /var ...

Thank you for your responses. I'll give it a go. Sorry for being a newbie :-)