Hi,
# eeprom | grep -i boot
Will tell you what the OBP is set to boot, if you get a "boot-device rootdisk rootmirror net" among other output, then the device booted from could be any of them.
To find out which disk the system booted from in the current running environment, I found the following command very useful:
# prtconf -vp | grep bootpath
This will give you the pysical path to the boot device, you can work out which disk it is from the /devices and /dev dirs.
HTH
Tom
P.S. If anyone else knows a better one, please let me know, it took me long enough to work that one out.
To determine which mirror you are booted off of, use:
#prtconf -vp | grep bootpath eeprom | grep devalias
vx-rootdisk means the primary submirror or c0t0. vx-rootmirror means the secondary submirror or c1t0.
vx-rootdisk and vx-rootmirror are the aliases set at the OBP.
If this is not the right command, kindly let me know what you are searching in more detail.
Regards
Britto