1834178 Members
2420 Online
110064 Solutions
New Discussion

idetifying the rootdisk

 
MUTTIKKAL
New Member

idetifying the rootdisk

how can i know from which disk i hv booted the
system?if i hv mirrors of root disk and all are connected together?
6 REPLIES 6
Sandy Chen
Honored Contributor

Re: idetifying the rootdisk

Hi,

You can check on /var/adm/syslog/syslog.log
It should tell you from which h/w patch your os is loaded

Regards,
Sandy
I never think of the future. It comes soon enough.
Ivan Krastev
Honored Contributor

Re: idetifying the rootdisk

cat /var/adm/syslog/syslog.log | grep -i boot


regards,
ivan
Peter Godron
Honored Contributor

Re: idetifying the rootdisk

Hi,
and welcome to the forums !

# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
Root: lvol3 on: /dev/dsk/c1t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.

Bob Ingersoll
Valued Contributor

Re: idetifying the rootdisk

For PA:

echo 'boot_string/S'|adb /stand/vmunix /dev/mem
Coolmar
Esteemed Contributor

Re: idetifying the rootdisk

Hi,

Use the lvlnboot command:

# lvlnboot -v

It will give you which is the primary and which is the alternate
Raj D.
Honored Contributor

Re: idetifying the rootdisk

Muttikkal,

Here it is ,

# echo 'boot_string/S'|adb /stand/vmunix /dev/kmem


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "