Operating System - HP-UX
1748251 Members
3865 Online
108760 Solutions
New Discussion юеВ

Re: /tmp & /opt extending

 
SOLVED
Go to solution
kunjuttan
Super Advisor

Re: /tmp & /opt extending

Hi gurus,
Pls guide me..am going to do the exention.
1)How can I go to single user mode directly from multiuser?
2)After booting into single user mode what I have to do??
vgchange -a y vg00
Mounting /.And any other file systems required??
3)Is it like normal fs extending procedure?

Dennis Handly
Acclaimed Contributor

Re: /tmp & /opt extending

>1) How can I go to single user mode directly from multiuser?

You basically have to boot into single user mode, init -s won't work.
Steven E. Protter
Exalted Contributor

Re: /tmp & /opt extending

Shalom,

Even without OnlineJFS this is pretty simple.

You just need to umount the file system and run extendfs

Problem is /tmp is usually pretty busy, and you will need to arrange a downtime. You need not go to single user mode, it would be enough to merely shut down applications that use /tmp

Of course single user or lvm maintenance mode does make all of this easier, but you have to sit through a reboot.

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
kunjuttan
Super Advisor

Re: /tmp & /opt extending

Can you please give me the steps..
Is the command "shutdown -y now" is ok for booting in single user mode..
After booting in single user mode,what all things has to be done before going for an extension?And also Can i able login noramllay in single user mode..or mp login???
KapilRaj
Honored Contributor

Re: /tmp & /opt extending

init 1 will take you to single user mode ..

Once there, umount /tmp & /opt # Kill any process that is still accessing and extend the filesystem - procedure has been explained already. After this reboot the system.

Regards,

Kaps
Nothing is impossible
kunjuttan
Super Advisor

Re: /tmp & /opt extending

Do need to activate the VG00??And also the VG00 is mirrored..
How to know that the FS is accesing and how to kill that???-By fuser???
VVS
Regular Advisor

Re: /tmp & /opt extending

Use
fuser -cu /tmp --- To check the process accessing File system

Use
fuser -ku /tmp --- To kill the process.

Regards,
VVS
Work is life, you know, and without it, there's nothing but fear and insecurity.
kunjuttan
Super Advisor

Re: /tmp & /opt extending

Somewhat clear.Now my concern is how to boot into single-usermode in a RX series server.??my server model is-ia64 hp server rx7640.
And one more thing my rootvg is already mirrored.So anything else is to be done after extending the /tmp??
VVS
Regular Advisor
Solution

Re: /tmp & /opt extending

You should interupt the booting when it ask you to press any key within 10 secs.

It will take you to menu, where you need to give this command.

Menu> bo pri

It will ask, do you want to interact with IPL Y/N ?

Give "Y" . It will take you to ISL prompt. In ISL give this command.

ISL>hpux -is

This will boot the system into single user mode.

-------

These are the steps to boot the integrity servers into single user mode.

Boot the system to the EFI manager screen.

EFI Boot manager screen:
-----------------------------------------------------------------------------------------

EFI Boot Manager ver 1.10 [14.57] Firmware ver 2.31

Please select a boot option

HP-UX Primary Boot: 0/1/1/1.2.0
EFI Shell [Built-in]
Boot option maintenance menu
Security/Password Menu


Use | and | to change option(s). Use Enter to select an option
-----------------------------------------------------------------------------------------

If a primary HP-UX boot option is available - select it by pressing enter


-----------------------------------------------------------------------------------------
(c) Copyright 1990-2003, Hewlett Packard Company.
All rights reserved

HP-UX Boot Loader for IPF -- Revision 1.73

Press Any Key to interrupt Autoboot
AUTO ==> boot :IINSTALL
Seconds left till autoboot - 9
Type 'help' for help
-----------------------------------------------------------------------------------------

>> Interrupt the auto-boot sequence by pressing the SPACE bar.
This will bring you to the HPUX> prompt.

For HP-UX Single user mode:

HPUX> boot vmunix -is
Work is life, you know, and without it, there's nothing but fear and insecurity.
VVS
Regular Advisor

Re: /tmp & /opt extending

Can you paste the lvdisplay output for the LV which you want to extend?
Work is life, you know, and without it, there's nothing but fear and insecurity.