Unix Technical Forum

Confused: Single User Mode and LVM Maint. mode

This is a discussion on Confused: Single User Mode and LVM Maint. mode within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Good Evening: I am relativly new to HPUX and was wondering if someone can tell me: ->What exactly happens ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 07:50 PM
NG's
 
Posts: n/a
Default Confused: Single User Mode and LVM Maint. mode

Good Evening:

I am relativly new to HPUX and was wondering if someone can tell me:

->What exactly happens in Single user mode? (I have read the manpage on hpux
(1M) and all I can find is that in signle user mode root volume is mounted).
Is there anything else.

->What about LVM maintainence mode? (Again manpage says that its single user
mode + LVM t/s mode to do lvm maintainence).

The reason I ask is, (for example), I need to extend " /usr", I go to single
user mode and give /sbin/lvextend command to extend it, and all works out
good. However, according to my LVM readings, a Volume Group needs to be
"de-activated" before any operation can be performed on it. Now, since VG00
is activated (root volume mounted is on VG00), how can I still do my
lvextend on LV belonging to VG00, without deactivating it? (since VG00 can't
be deactivated in either Single Use mode or LVM maint. mode)?

A little confused (or more likely missing something)!

Thank u for your advise.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 07:50 PM
Florian Anwander
 
Posts: n/a
Default Re: Confused: Single User Mode and LVM Maint. mode

Hi NG

> ->What exactly happens in Single user mode? (I have read the manpage on hpux
> (1M) and all I can find is that in signle user mode root volume is mounted).
> Is there anything else.


The root volumegroup is activated.
/ (and assumingly /stand) is mounted.
No rc script has been run.
The Console provides a login for the root account.

> ->What about LVM maintainence mode? (Again manpage says that its single user
> mode + LVM t/s mode to do lvm maintainence).

Maintainance mode is a mode, which is used when the LVM configuration is
torn up. The maintainance mode assumes some standard LVM configurations
and tries to set on this basis a partly working system.
This is not used for standard administrations like expanding a volume.

> The reason I ask is, (for example), I need to extend " /usr", I go to single
> user mode and give /sbin/lvextend command to extend it, and all works out
> good. However, according to my LVM readings, a Volume Group needs to be
> "de-activated" before any operation can be performed on it. Now, since VG00
> is activated (root volume mounted is on VG00), how can I still do my
> lvextend on LV belonging to VG00, without deactivating it? (since VG00 can't
> be deactivated in either Single Use mode or LVM maint. mode)?
>
> A little confused (or more likely missing something)!


Your confusion is caused on the misinformation, that "any operation"
can be performed only with de-activated VG.
It better should be said: most operations can be done with activated
volumegroup only, but some require a deactivated volume group.

Extending /usr (without advanced-JFS) has to be done in single user mode.

Florian

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com