Go to main content

Transitioning From Oracle® Solaris 10 to Oracle Solaris 11.3

Exit Print View

Updated: December 2018

Device and Driver Management Changes

    Device and driver identity and configuration has changed as follows:

  • As in Oracle Solaris 10 releases, all supported devices that are connected to the system when it is installed should be accessible after installation. You can configure devices by using the cfgadm command and most devices are hot-pluggable, which means you can add and remove devices while the system is booted.

  • The hotplug command provides offline and online capabilities, as well as enable and disable operations for PCI Express (PCIe) and PCI SHPC (Standard Hot Plug Controller) devices. Note that you can still use the cfgadm command to manage hot pluggable USB and SCSI devices. See Chapter 2, Dynamically Configuring Devices in Managing Devices in Oracle Solaris 11.3.

  • You can more easily identify physical device location information by using the croinfo command.

      Use the following commands to display information by chassis, receptacle, and occupant values for the devices on your system:

    • diskinfo – Displays general information about physical disk locations.

    • format – Displays physical disk location information for disks when reviewing partition tables or relabeling.

      For example, the following format output identifies the two internal disks on this system, under /dev/chassis/SYS/HDO and /dev/chassis/SYS/HD1:

      # format
      Searching for disks...done
      0. c1t0d0 <FUJITSU-MAY2073RCSUN72G-0401 cyl 8921 alt 2 hd 255 sec 63>
      1. c1t1d0 <FUJITSU-MAY2073RCSUN72G-0401-68.37GB>

      The previous output identifies two internal system disks, but disks from a storage array are generally identified by their storage array name.

    • prtconf –l – Displays system configuration information that includes physical disk location information.

    • zpool status –l – Displays physical disk location information for pool devices.

      In addition, you can use the fmadm add-alias command to include a disk alias name that helps you identify the physical location of disks in your environment, as shown in the following example:

      # fmadm add-alias SUN-Storage-J4200.0912QAJ001 J4200@RACK10:U26-27
      # fmadm add-alias SUN-Storage-J4200.0905QAJ00E J4200@RACK10:U24-25
  • Use the diskinfo command as follows to determine where a disk is located:

    % diskinfo -c c0t24d0
    D:devchassis-path                                    t:occupant-type  c:occupant-compdev
    ---------------------------------------------------  ---------------  ------------------
    /dev/chassis/J4200@RACK10:U26-27/SCSI_Device__9/disk  disk             c0t24d0           

    In the previous example, the /dev/chassis disk name includes an alias name that helps you locate the device in your environment.

    The following example shows how to display a specific disk's physical location:

    $ diskinfo -c c0t24d0 -o cp
    c:occupant-compdev  p:occupant-paths
    ------------------  --------------------------------------------------------
    c0t24d0             /devices/pci@0,600000/pci@0/pci@9/LSILogic,sas@0/sd@18,0

    Note -  The diskinfo command requires that chassis support SES diagnostic page 0xa (Additional Element Status) and must set the Element Index Present (EIP) bit to 1. Enclosures that do not meet this criteria will not be fully enumerated, and thus, will not be properly represented.
  • Driver customizations are made in the /etc/driver/drv directory rather than in the /kernel directory as in previous releases. This improvement means that your driver customizations are not overwritten when the system is upgraded. The files in the /etc/driver/drv directory are preserved during the upgrade. Customizing a driver configuration usually means that a per-device parameter or global property that impacts all devices is added or modified. See How to Customize a Driver Configuration in Managing Devices in Oracle Solaris 11.3.