Operating System - HP-UX
1822320 Members
5447 Online
109642 Solutions
New Discussion юеВ

How to get LVM configuration information under IUX's recovery shell

 
Sunny_Zhang
Frequent Advisor

How to get LVM configuration information under IUX's recovery shell

Hi experts,

Is there is anyway I can figure out LVM configuration under IUX's recovery shell? I noticed that after boot into recovery shell, there are three device files mapping to the same disk under /dev/dsk, such as:

/dev/dsk/c#t#d#
/dev/dsk/c#t#d#s1lvm
/dev/dsk/c#t#d#s2lvm,

/dev/dsk/c#t#d#s1lvm normally maps to boot volume (/stand), so I can mount it. But how can I other volume group information, such as /etc/lvmtab?

Thanks!
4 REPLIES 4
Devender Khatana
Honored Contributor

Re: How to get LVM configuration information under IUX's recovery shell

Hi,

Is it a itanium system? It seems as the device file shown here show slices. The /dev/dsk/c#d#d#s1lvm will map to stand in only very old systems.

What is the OS version?

HTH,
Devender
Impossible itself mentions "I m possible"
Sunny_Zhang
Frequent Advisor

Re: How to get LVM configuration information under IUX's recovery shell

No, it is PA-RISC, and OS version is 11i v2.
Only under IUX's recovery shell, it will append s#lvm to disk device file name.
Steven E. Protter
Exalted Contributor

Re: How to get LVM configuration information under IUX's recovery shell

Shalom Dawn,

To properly answer your question, I would need to know why you are in the recovery shell.

Usually one goes into the recovery shell to make an unbootable sysstem bootable. If all you need to do is make lvm repairs, or you have replaced your kernel or corrected other issues with booting, then restart.

You can make repairs and changes in single user mode or lvm recovery mode.

boot
inervene at the 10 second prompt.
bo

Y Interact

hpux -is # single user mode OR
hpux -lm # lvm recovery mode.

Don't be upset if I goofed, you really didn't give a lot of information. Guesswork.

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
Sunny_Zhang
Frequent Advisor

Re: How to get LVM configuration information under IUX's recovery shell

I am a newbie on HP-UX :-). My current work need to run some our excutables under IUX's recovery shell, and understand the lvm configuration of each disk. This is why I ran into this problem. Thanks!