Go to main content

Managing Devices in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

How to Replace a SATA Device

You must unconfigure a SATA device first before replacing it. You configure the device after replacing it.

  1. Become an administrator.
  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 17  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 device is replaced, configure the replacement device.

# cfgadm -c configure sata0/3

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