Go to main content

Installing Oracle® Solaris 11.3 Systems

Exit Print View

Updated: May 2019
 
 

How to Create a Persistent Device Alias for a USB Flash Drive on a SPARC System

To be able to create a persistent device alias for a USB flash drive on a SPARC system, you must use the OBP. Therefore, you must shut the system down. Once the alias is created, you will not need to re-create the alias as long as you reuse the same port.

  1. Shut down the system and leave it at the boot prompt.
  2. Identify available disks on the system.

    This example shows the selection of the second device.

       {0} ok show-disks
          a) /pci@400/pci@0/pci@9/pci@0/usb@0,2/hub@2/storage@3/disk
          b) /pci@400/pci@0/pci@9/pci@0/usb@0,2/hub@2/storage@2/disk
          c) /pci@400/pci@0/pci@1/scsi@0/disk
          d) /iscsi-hba/disk
          q) NO SELECTION 
          
        Enter Selection, q to quit: b
          /pci@400/pci@0/pci@9/pci@0/usb@0,2/hub@2/storage@2/disk has been selected.
          Type ^Y ( Control-Y ) to insert it in the command line. 
          e.g. ok nvalias mydev  
                  for creating devalias mydev for 
          /pci@400/pci@0/pci@9/pci@0/usb@0,2/hub@2/storage@2/disk
      
  3. Set an alias for the USB flash drive.
       {0} ok nvalias usbdrive ^Y
  4. Boot from the USB flash drive.
       {0} ok boot usbdrive
          Boot device: /pci@400/pci@0/pci@9/pci@0/usb@0,2/hub@2/storage@2/disk File 
          and args: