Preparing the 5147-024, ESLL, or ESLS storage enclosure to remove and replace a disk drive or SSD with the power turned on in Linux
Learn about the steps you must complete before you remove and replace a disk drive or solid-state drive (SSD) in an enclosure with the Linux operating system or Linux logical partition that controls the drive location powered on.
If the drive that you are removing is in the root volume group (rootvg) and it is not protected by either Redundant Array of Independent Disks (RAID) or mirroring, or to use the powered-off procedure, go to Removing and replacing a disk drive or SSD in the 5147-024, ESLL, or ESLS storage enclosure with the system power turned off.
To prepare the system to remove and replace a disk drive or solid-state drive, complete the following steps:
- Identify the part and the enclosure that you want to service.
The disk drive and SSD slots are located in the front of the enclosure. Figure 1 shows
the front of the ESLL storage
enclosure, Figure 2 shows
the front of the ESLS storage
enclosure, Figure 3 shows
the rear view of the storage enclosures, and Figure 4 shows
the locations of the service indicators for the enclosures. Figure 1. Front view of the ESLL storage enclosure showing the disk drive locations
Figure 2. Front view of the 5147-024 or ESLS storage enclosure showing the drive locations
Figure 3. Rear view of the storage enclosures
Figure 4. Front view of the storage enclosure showing the service indicators
Note: When you have drive slots available in a system, enclosure, or expansion unit, fill the slot positions in the system first. However, you can choose a different disk drive or solid-state drive placement that depends on your data protection strategy. - To identify the drive by using the iprconfig command before you remove a
disk drive or solid-state drive, complete the following steps:
- Log in as root user.
- Type iprconfig on the command line of the Linux session and press Enter. The IBM Power RAID Configuration Utility display is shown.
- Select Analyze log. Press Enter. The Kernel Messages Log display is shown. Figure 5. Kernel Messages Log
Kernel Messages Log Select one of the following: 1. View most recent ipr error messages 2. View ipr error messages 3. View all kernel error messages 4. View iprconfig error messages 5. Set root kernel message log directory 6. Set default editor 7. Restore defaults 8. View ipr boot time messages Selection: e=Exit - Select View most recent ipr error messages from the Kernel Messages Log display. Press Enter.
- Find the entry in the log for the drive you want to replace.
- Record the location information for the drive. Note: The location information is in either of these forms:
- 0:0:5:0
- In this example, 0 is the SCSI host number, 0 is the SCSI bus, 5 is the SCSI target ID, and 0 is the logical unit number (LUN).
- 0/00-0E-02
- In this example, 0 is the SCSI host number, 00 is the I/O adapter (IOA) SAS port, 0E is the expander port, and 02 is the device port.
- Type iprconfig on the command line and press Enter. The IBM Power RAID Configuration Utility display is shown.
- Select Display hardware status from the IBM
Power RAID Configuration Utility
display. Press Enter. The Display Hardware Status screen displays as shown in Figure 6 and Figure 7. Figure 6. Example Display Hardware Status
Display Hardware Status Type option, press Enter. 1=Display hardware resource information details OPT Name PCI/SCSI Location Description Status --- ------ -------------------------- ------------------------- ---------------- 0000:01:00.0/0: PCI-E SAS RAID Adapter Operational 0000:01:00.0/0:0:0:0 Advanced Function SSD Active 0000:01:00.0/0:0:1:0 Advanced Function SSD Active 0000:01:00.0/0:0:2:0 Advanced Function SSD Active 0000:01:00.0/0:0:3:0 Advanced Function SSD Active 0000:01:00.0/0:0:4:0 Advanced Function SSD Active 0000:01:00.0/0:0:5:0 Advanced Function SSD Failed 0000:01:00.0/0:0:6:0 Advanced Function SSD Active 0000:01:00.0/0:0:8:0 Enclosure Active 0000:01:00.0/0:0:9:0 Enclosure Active 0001:01:00.0/1: PCI-E SAS RAID Adapter Operational 0001:01:00.0/1:0:3:0 Advanced Function SSD Remote 0001:01:00.0/1:0:4:0 Advanced Function SSD Remote 0001:01:00.0/1:0:5:0 Advanced Function SSD Remote More... e=Exit q=Cancel r=Refresh t=Toggle f=PageDn b=PageUpFigure 7. Example Display Hardware StatusDisplay Hardware Status Type option, press Enter. 1=Display hardware resource information details OPT Name Resource Path/Address Vendor Product ID Status --- ------ -------------------------- -------- ---------------- ---------------- sg23 FE IBM 57CE001SISIOA Operational sg0 00-0E-01 IBM SG9XCA2E200GEIBM Active sg1 00-0E-0A IBM SG9XCA2E200GEIBM Active sg2 00-0E-0B IBM SG9XCA2E200GEIBM Active sg3 00-0E-03 IBM SG9XCA2E200GEIBM Active sg4 00-0E-09 IBM SG9XCA2E200GEIBM Active sg5 00-0E-02 IBM SG9XCA2E200GEIBM Failed sg6 00-0E-04 IBM SG9XCA2E200GEIBM Active sg7 00-0C-26 IBM 5887 Active sg8 00-0E-26 IBM 5887 Active sg47 FE IBM 57CE001SISIOA Operational sg26 00-0E-01 IBM SG9XCA2E200GEIBM Remote sg27 00-0E-0A IBM SG9XCA2E200GEIBM Remote sg28 00-0E-0B IBM SG9XCA2E200GEIBM Remote More... e=Exit q=Cancel r=Refresh t=Toggle f=PageDn b=PageUp - If the drive you want to replace is unprotected or in use, move the data from the drive before you continue with this procedure. If the drive is in a RAID 0 (non-redundant RAID array), after you move the data, delete the RAID 0 before proceeding. For SAS RAID controller information, see the SAS RAID controllers for Linux topic.
- Look for the drive at the SCSI location you recorded. The drive might have a Failed status.
- Return to the IBM Power RAID Configuration Utility display.
- If you are removing a solid-state device that is on a PCIe RAID and SSD SAS adapter, go to Removing and replacing the SAS RAID adapter, and complete that procedure.
- From the IBM Power RAID Configuration Utility display, select Work with disk unit recovery. Press Enter.
- From the Work with Disk Unit Recovery display, select Concurrent remove
device, and press Enter. A Concurrent Device Remove display is
shown, similar to the following examples shown in Figure 8 and
Figure 9. Figure 8. Example Concurrent Device Remove display
Concurrent Device Remove Choose a single location for remove operations 1=Select OPT Name PCI/SCSI Location Description Status --- ------ -------------------------- ------------------------- ----------------- U5887.001.Z065075-P1-D1 Empty sg0 U5887.001.Z065075-P1-D2 Advanced Function SSD Active sg5 U5887.001.Z065075-P1-D3 Advanced Function SSD Failed sg3 U5887.001.Z065075-P1-D4 Advanced Function SSD Active sg6 U5887.001.Z065075-P1-D5 Advanced Function SSD Active U5887.001.Z065075-P1-D6 Empty U5887.001.Z065075-P1-D7 Empty U5887.001.Z065075-P1-D8 Empty U5887.001.Z065075-P1-D9 Empty sg4 U5887.001.Z065075-P1-D10 Advanced Function SSD Active sg1 U5887.001.Z065075-P1-D11 Advanced Function SSD Active sg2 U5887.001.Z065075-P1-D12 Advanced Function SSD ActiveFigure 9. Example Concurrent Device Remove displayConcurrent Device Remove Choose a single location for remove operations 1=Select OPT Name SCSI Host/Resource Path Vendor Product ID Status --- ------ ---------------------------- -------- ---------------- -------------- 0/00-0E-00 Empty sg0 0/00-0E-01 IBM SG9XCA2E200GEIBM Active sg5 0/00-0E-02 IBM SG9XCA2E200GEIBM Failed sg3 0/00-0E-03 IBM SG9XCA2E200GEIBM Active sg6 0/00-0E-04 IBM SG9XCA2E200GEIBM Active 0/00-0E-05 Empty 0/00-0E-06 Empty 0/00-0E-07 Empty 0/00-0E-08 Empty sg4 0/00-0E-09 IBM SG9XCA2E200GEIBM Active sg1 0/00-0E-0A IBM SG9XCA2E200GEIBM Active sg2 0/00-0E-0B IBM SG9XCA2E200GEIBM Active e=Exit q=Cancel t=Toggle - Press T to toggle between the Concurrent Device Remove panels.
- Type 1 (Select) next to the location for this drive (0:0:5:0 or 0/00-0E-02). The Verify Device Concurrent Remove display is shown. The service indicator flashes for that drive slot.
- Find the package that contains the new drive. Attention: Drives are fragile. Handle with care.
- Attach the electrostatic discharge
(ESD) wrist strap. Attention:
- Attach an electrostatic discharge (ESD) wrist strap to the front ESD jack, to the rear ESD jack, or to an unpainted metal surface of your hardware to prevent the electrostatic discharge from damaging your hardware.
- When you use an ESD wrist strap, follow all electrical safety procedures. An ESD wrist strap is used for static control. It does not increase or decrease your risk of receiving electric shock when using or working on electrical equipment.
- If you do not have an ESD wrist strap, just prior to removing the product from ESD packaging and installing or replacing hardware, touch an unpainted metal surface of the system for a minimum of 5 seconds.
- Remove the drive from the static-protective package and place it on an ESD mat.