LVM and VxVM

How to find out which disk is used when system booted

 
Jayu
Occasional Advisor

How to find out which disk is used when system booted

We have rootdisk and rootmirror in rootdg. Is there a way to identify, which disk the OS is loaded from ?
4 REPLIES 4
Ganesan R
Honored Contributor

Re: How to find out which disk is used when system booted

Hi,

If it is LVM use the below command.

#echo "bootdev/X" | adb /stand/vmunix /dev/kmem
bootdev:
bootdev: 1F005000

Here the disk is c0t5d0 . You should take the middle three digits(050) to know the disk.
Best wishes,

Ganesh.
Torsten.
Acclaimed Contributor

Re: How to find out which disk is used when system booted

"rootdg" indicates that LVM is not in use, but vxvm is.

LVM will report this into syslog at boot time, I assume vxvm will do the same.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jayu
Occasional Advisor

Re: How to find out which disk is used when system booted

Thanks to both
Ganesan and Torsten.
Jayu
Occasional Advisor

Re: How to find out which disk is used when system booted

The suggested solution worked.