To find out the disk from which the server got booted, we need to use below command
#ll /dev/disk | grep $(echo "bootdev/x"|adb /stand/vmunix /dev/kmem | awk '/0x/ {print substr($1,5)}')
examble :
root:server1# ll /dev/disk | grep $(echo "bootdev/x"|adb /stand/vmunix /dev/kmem | awk '/0x/ {print substr($1,5)}')
brw-r----- 1 bin sys 1 0x000003 Jul 13 2010 disk3_p2
root:server1#
brw-r----- 1 bin sys 1 0x000003 Jul 13 2010 disk3_p2
root:server1#
2 Comments
#setboot
ReplyDeletePrimary bootpath : 0/1/1/0.1.0
Alternate bootpath : 0/1/1/1.2.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
root@phgp0257-/
OR
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t1d0 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c3t2d0 (0/1/1/1.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t1d0
/dev/dsk/c3t2d0
Root: lvol3 on: /dev/dsk/c2t1d0
/dev/dsk/c3t2d0
Swap: lvol2 on: /dev/dsk/c2t1d0
/dev/dsk/c3t2d0
Dump: lvol2 on: /dev/dsk/c2t1d0, 0
Boot Definitions for Volume Group /dev/aroot:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t0d0 (0/1/1/0.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t0d0
Root: lvol3 on: /dev/dsk/c2t0d0
Swap: lvol2 on: /dev/dsk/c2t0d0
Dump: lvol2 on: /dev/dsk/c2t0d0, 0
root@phgp0257-/
OR
# echo 'boot_string/S' | adb -o /stand/vmunix /dev/mem
boot_string:
boot_string:
disk(0/1/1/0.1.0.0.0.0.0;0)/stand/vmunix
root@phgp0257-/
@vineesh : Thanks For your reply and visit Vineesh ..
ReplyDelete