I have enabled MPxIO via stmsboot, system boots fine using the default
device configured by the boot-device variable. If that path goes away,
I want the option of booting off of the alternate path. But I can't
figure out how to do it. Probe-scsi-all shows the devices, and there
respective paths, but they are not bootable. Only the device defined
in the boot-device is bootable.
V490's, Solaris 10.
TIA
At OBP, can you see the disks with a "show-disks" command? If so, you
should be able to boot from any of the listed disks. You may want to
create aliases for the other disks and add them to boot-devices.
Do you have a boot block installed on the other disk(s)? If not, use
the "installboot" command from Solaris.
The boot device is a SAN device, as in the boot disk on the alternate
paths are the same disk so it is bootable and installboot shouldn't
have anything to do with it. If it were a mirror then yes. But here, I
have two paths to the same disk, and MPxIO sets this up for me.
Yes, show-disks does work:
{2} ok show-disks
a) /pci@9,600000/SUNW,qlc@2/fp@0,0/disk
b) /pci@8,700000/ide@6/cdrom
c) /pci@8,700000/ide@6/disk
d) /pci@8,700000/SUNW,qlc@2,1/fp@0,0/disk
e) /pci@8,700000/SUNW,qlc@2/fp@0,0/disk
q) NO SELECTION
Enter Selection, q to quit: q
And disks or boot paths d,e are the ones I want. But those paths
aren't entirely accurate because I have two LUN's on that device /
path. See below, the HDS storage.
{2} ok probe-scsi-all
/pci@9,600000/SUNW,qlc@2
LiD HA LUN --- Port WWN --- ----- Disk description -----
0 0 0 21000000870f9745 HITACHI DK32EJ72FSUN72G 2Q0J
1 1 0 2100000c5030ef9f SEAGATE ST373307FSUN72G 0307
/pci@8,700000/SUNW,qlc@2,1
************************* Fabric Attached Devices
************************
Adapter portId - 76100
Device PortId 4dd00 DeviceId 0 WWPN 50060e8005476724
Lun 0 DISK HITACHI OPEN-V -SUN6003
Lun 1 DISK HITACHI OPEN-V -SUN6003
/pci@8,700000/SUNW,qlc@2
************************* Fabric Attached Devices
************************
Adapter portId - 76100
Device PortId 6dd00 DeviceId 0 WWPN 50060e8005476734
Lun 0 DISK HITACHI OPEN-V -SUN6003
Lun 1 DISK HITACHI OPEN-V -SUN6003
One path for each LUN per card. Only one LUN is bootable, it's my boot/
root disk, the other LUN is for my zones. The boot device that works
is:
/pci@8,700000/SUNW,qlc@2/fp@0,0/disk@w50060e8005476730,0:a
From a running kernel, my eeprom looks like:
[root@snack]# eeprom | grep boot-de
boot-device=bootdisk1
devalias boot-device /pci@8,700000/SUNW,qlc@2/fp@0,0/
disk@w500060e8029ecc17,7:a
But this is quite different from what I see at the OBP level:
{0} ok printenv boot-device
boot-device = bootdisk1
{0} ok devalias bootdisk1
bootdisk1 /pci@8,700000/SUNW,qlc@2/fp@0,0/
disk@w50060e8005476734,0:a
As you can see, I setup the bootdisk1 alias. I want to setup a
bootdisk2 alias, but...... cant seem to find the other path.
HELLLLLP.
TIA