Go to main content

Managing Devices in Oracle® Solaris 11.3

Exit Print View

Updated: April 2018
 
 

How to Replace a SATA Device

You must unconfigure a SATA device first before replacing it. After a device is physically removed or replaced, then configure the device.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Identify the device to be replaced.
    # cfgadm -al
  3. Unconfigure the device.
    # cfgadm -c unconfigure controller
  4. Confirm that the device is unconfigured.
    # cfgadm | grep controller
  5. Remove the device and replace it with a device of a similar type.
  6. Configure the replaced device.
    # cfgadm -c configure controller
  7. Confirm that the device is configured.
    # cfgadm | grep controller
Example 13  Replacing a SATA Device

In this example, the c7t3d0 device is replaced with a device of a similar type..

# cfgadm -al
Ap_Id                   Type         Receptacle   Occupant     Condition
sata0/0::dsk/c7t0d0     disk         connected    configured   ok
sata0/1::dsk/c7t1d0     disk         connected    configured   ok
sata0/2::dsk/c7t2d0     disk         connected    configured   ok
sata0/3::dsk/c7t3d0     disk         connected    configured   ok
.
.
.
# cfgadm -c unconfigure sata0/3

# cfgadm | grep sata0/3
sata0/3                 disk         connected    unconfigured ok

After the c7t3d0 is replaced, configure the replacement device.

# cfgadm -c configure sata0/3

# cfgadm | grep sata0/3
sata0/3::dsk/c7t3d0      disk         connected   configured   ok