Operating System - HP-UX
1748177 Members
4154 Online
108758 Solutions
New Discussion юеВ

Re: what is difference between "single user mode" and "maintenance mode"

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

what is difference between "single user mode" and "maintenance mode"

Hi All,

what is difference between "single user mode" and "maintenance mode"
18 REPLIES 18
Robert_Jewell
Honored Contributor
Solution

Re: what is difference between "single user mode" and "maintenance mode"

Nothing really, unless you are referring to LVM Maintenance Mode (by booting with hpux -lm). LVM maintenance mode does not activate VG00 (single user mode does).

"Maintenance mode" is an old term used in reference to "Single User" mode as its assumed you are going to work on the OS.

-Bob
----------------
Was this helpful? Like this post by giving me a thumbs up below!
Pete Randall
Outstanding Contributor

Re: what is difference between "single user mode" and "maintenance mode"

Virtually no difference at all. The man page for hpux says this about maintenance mode:

"-lm

Boot the system in LVM maintenancemode, configure only the root volume,and then initiate single user mode."

Since you end up in single user mode anyway, I really don't see much difference.


Pete

Pete
sujit kumar singh
Honored Contributor

Re: what is difference between "single user mode" and "maintenance mode"

Hi


In single user mode you cannot export the root VG which you can do only in the LVM miant mode.

regards
sujit
Michael Steele_2
Honored Contributor

Re: what is difference between "single user mode" and "maintenance mode"

"..."Maintenance mode" is an old term used in reference to "Single User" ...."

Wrong, wrong, wrong.

"..mode as its assumed you are going to work on the OS..."

Correct.

In fact, under the 10 and 11 O/S you can not go from maintenance mode to run level 3 without risking corruption to the O/S file systems.

You must reboot from maintenance mode.

And this is the biggest difference.
Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: what is difference between "single user mode" and "maintenance mode"

Geez, I had forgotten this. LVM maintenance mode boots not from the lif, but from /etc/rootconf. This is the reason for the risk of corruption unless rebooted.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1261420540100+28353475&threadId=815752

Note: And I no longer know if this is valid for Integrity.
Support Fatherhood - Stop Family Law
Pete Randall
Outstanding Contributor

Re: what is difference between "single user mode" and "maintenance mode"

Michael,

Thanks for clarifying. I thought there had to be some (historical) difference but could not remember what it might be.


Pete

Pete
Robert_Jewell
Honored Contributor

Re: what is difference between "single user mode" and "maintenance mode"

In reply to "wrong, wrong, wrong"...

I agree that there are a good number of differences between booting "hpux -is" and "hpux -lm". However, in the authors question, he does not refer to *LMV* maintenance mode specifically. There are other operating systems that refer to single user mode as "maintenance mode", which is where why comparison to the two is as I put it. In general UNIX terms there isn't much difference. In HP-UX specific terms we know there is difference worth mentioning.

-Bob
----------------
Was this helpful? Like this post by giving me a thumbs up below!
senthil_kumar_1
Super Advisor

Re: what is difference between "single user mode" and "maintenance mode"

Hi All,

LVM maintenance mode (hpux -Im) will have only root VG (/dev/vg00) and start single user mode.

But single user mode will have all VGs.

Am i correct?
Pete Randall
Outstanding Contributor

Re: what is difference between "single user mode" and "maintenance mode"

You will have to mount all the filesystems.


Pete

Pete