lvm mirrored boot disk

 
SOLVED
Go to solution
Jimmy Roux_1
Advisor

lvm mirrored boot disk

Hello,

In a lvm mirrored environment, how can I tell which disk is my machine currently booted on?

#
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (0/0/0/3/0.6.0) -- Boot Disk
/dev/dsk/c0t5d0 (0/0/0/3/0.5.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c0t5d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c0t5d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c0t5d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0

#
#

Thanks,

Jimmy
2 REPLIES 2
Sanjay_6
Honored Contributor
Solution

Re: lvm mirrored boot disk

Hi Jimmy,

Try,

# echo "boot_string/S" | adb -k /stand/vmunix /dev/kmem

the result will be the hardware path of the current boot disk.

Hope this helps.

Regds
Jimmy Roux_1
Advisor

Re: lvm mirrored boot disk

Excellent! Thanks Sanjay.

Cheers,

Jimmy