Operating System - HP-UX
1834942 Members
2197 Online
110071 Solutions
New Discussion

Reboot vpar's into single user mode

 
Phil R,
Occasional Contributor

Reboot vpar's into single user mode

I have two vpar's running on a HP9000 SD32.
Both vpar's have 100% full root volumes and so I cannot access either partition.
I need to boot both vpar's into single user mode in order to clear down some space.
I can do an RS from the command menu on the MP but do not know how to go about getting both vpar's into single mode state?
Would normally run the vparreset and vparboot commands from the vpar that is up but in this case this is not an option.
2 REPLIES 2
Prashanth.D.S
Honored Contributor

Re: Reboot vpar's into single user mode

Hi Phil

After you do RS on the MP prompt

On a vPars server, you can boot a virtual partition into single-user mode either at the monitor prompt or at the shell prompt of a running partition.

For example, if we wanted to boot winona2 into single user mode:

From MON>
From the monitor prompt, specify the -is option as an argument to vparload.

MON> vparload -p winona2 -o "-is"

From shell prompt
From the shell prompt of another virtual partition, specify the -o option with the vparboot command:

winona1# vparboot -p winona2 -o "-is"




NOTE: To boot a virtual partition, the partition must be in the down state. If the partition is in the hung state, perform the following before executing the vparboot:
Turn off autoboot for the target partition:

winona1# vparmodify -p winona2 -B manual

Attempt to reset the target partition with the -t option (soft reset):

winona1# vparreset -p winona2 -t

If it still appears to be hung, reset it with the -h option (hard reset):

winona1# vparreset -p winona2 -h

Continue verifying the state until vparstatus shows that winona2 is in the down state:

winona1# vparstatus -p winona2 -v | grep -E "Name|State"
Name: winona2
State: down

After you have entered into single-user mode and if you want to turn autoboot back on, the command is:

winona1# vparmodify -p winona2 -B auto

Check the following link..

http://docs-internal-pro.houston.hp.com/en/T1335-90018/ch05s17.html

Best Regards,
Prashanth



Phil R,
Occasional Contributor

Re: Reboot vpar's into single user mode

I have now managed to resolve this problem by doing a vparload -p -o "-is" via the EFI. I was unable to this any other way as I was unable to access either vpar on the system.