Using the Linux fuel gauge command on a mainstream SSD

Learn how to use the Linux® operating system fuel gauge command to find the amount of remaining life in a mainstream solid-state drive (SSD).

About this task

To use the Linux operating system fuel gauge command, complete the following steps:

Procedure

  1. If the system has logical partitions, complete this procedure from the logical partition that owns the SSD.
  2. Choose from the following options:
    • To use the iprconfig command, continue with step 3.
    • To use the ssd-report command in the iprutils command-line interface, continue with step 4.
  3. To use the iprconfig command, complete the following steps:
    1. Type $ iprconfig
    2. In the main menu, select the Devices Statistics option.
    3. In the Device selection screen, select Read Intensive SSD (Mainstream SSD) by moving the cursor to the correct line and pressing 1.
    4. Press Enter to confirm. The statistics for the selected device is shown.
    5. Review the information in the first block of information.
    6. Continue with step 5.
  4. To use the ssd-report command in the iprutils command-line interface, complete the following steps:
    1. Type $ iprconfig -c ssd-report <dev>

      Where <dev> is the device you want to use.

    2. Review the information that is shown.
    3. Continue with step 5.
  5. Interpret the statistics:
    • Total Bytes Written: Number of GB already written to the device
    • Number of Bytes reported by Warranty: Number of GBs that can be written according to the specification
    • Life Remaining Gauge: An estimate of how much of the device's life is consumed
    • PFA Trip: The device detected an issue that might lead to a failure
    • Power-on Days: Number of days since the last power-on
  6. Is the value in the Life Remaining Gauge field less than or equal to 2 percent?
    • Yes: Continue with the next step.
    • No: The mainstream SSD is not reporting a change in status for the number of write operations available.
  7. Is the value in the Life Remaining Gauge field 0 percent?
    • Yes: Continue with step 8.
    • No: Continue with step 9.
  8. The mainstream SSD reached the limit for the number of write operations that are supported. Write operations to the SSD become slower over time, and at some point the SSD becomes a read-only drive. When the operating system writes to the read-only drive, the write operations are rejected, and the operating system considers the drive as if a failure occurred. For example, if the operating system writes to a drive that is in a RAID array and if the write operations are rejected, the array becomes exposed. To support normal write operations, the drive must be replaced.

    Replacement of the mainstream SSD might not be covered by the system's level of service entitlement, depending on the terms and conditions of the system. For more information about mainstream SSDs, see Mainstream solid-state drives. This ends the procedure.

  9. The mainstream SSD is nearing the limit for the number of write operations that are supported. No service action is required currently.
    Note: After the mainstream SSD reaches the limit for the number of write operations that are supported, write operations to the SSD become slower over time, and at some point the SSD becomes a read-only drive. To support normal write operations, the drive must be replaced. Replacement of the mainstream SSD might not be covered by the system's level of service entitlement, depending on the terms and conditions of the system. For more information about mainstream SSDs, see Mainstream solid-state drives. This ends the procedure.