Oracle® VM Server for SPARC 3.3 Administration Guide

Exit Print View

Updated: October 2015

Booting From SCSI Devices

Booting From a Virtual LUN

You can boot any virtual LUN whose associated physical LUN references a SCSI device type that is bootable by OBP, such as CD, DVD, or disk.

Before you issue the boot command at the OpenBoot PROM prompt, run the probe-scsi-all command to find the guest domain's virtual SCSI HBAs and associated virtual LUNs.

The following annotated example highlights the relevant parts of the output:

{0} ok probe-scsi-all
/virtual-devices@100/channel-devices@200/scsi@0           Line 1
TPORT-PHYS: w200200110d214900                             Line 2
  LUN: 1   Disk     VLUN          2097152 Blocks, 1073 MB
  LUN: 0   Disk     VLUN          32768000 Blocks, 16 GB  Line 3

This example probe-scsi-all output shows one virtual SCSI HBA instance (scsi@0) that has two LUNs that are of type disk.

To boot from a specific virtual LUN, manually compose the device path to pass to the boot command. The device path has this syntax:


    To boot from the LUN on Line 3, you must compose the device path as follows:

  • Take the value of target-port from Line 2

  • Take the value of vhba-device-path from Line 1

The following is the resulting device path:


You can pass this device path to the OBP boot command as follows:

{0} ok boot /virtual-devices@100/channel-devices@200/scsi@0/disk@w200200110d214900,0

Booting From a SCSI DVD Device

You can boot from a SCSI digital versatile disc (DVD) drive to install the guest domain from that DVD.

The following example shows the configuration of a virtual SCSI HBA that has a SCSI DVD device attached to the primary domain.

primary# ldm list-hba -t -d primary
IPORT                                                VSAN
-----                                                ----
        init-port w50800200008f4329
        Transport Protocol SAS
        lun 0
        removable media 1

primary# ldm add-vsan /SYS/MB/SASHBA1/HBA0/PORT40 dvd_vsan primary
/SYS/MB/SASHBA1/HBA0/PORT40 resolved to device: /pci@400/pci@2/pci@0/pci@4/scsi@0/iport@40
primary# ldm add-vhba dvd_vhba dvd_vsan gdom

From the gdom domain console, probe the SCSI devices and boot from the DVD.

{0} ok probe-scsi-all


   LUN: 0   Removable Read Only device     TEAC    DV-W28SS-V 1.0B

{0} ok boot /virtual-devices@100/channel-devices@200/scsi@0/disk@p3