Lenovo SSD Wear Gauge CLI Utility for Linux

NOTE TO SERVICE - None

(C) Copyright Lenovo Corporation 2015. All
rights reserved. US Government Users Restricted Rights - Use, duplication,
or disclosure restricted by GSA ADP Schedule Contract with Lenovo Corp.

Note: Before using this information and the product it supports, read the
general information in "Notices and trademarks" in this document.


CONTENTS
________

1.0  Overview
2.0  Installation and setup instructions
     2.1 Standalone usage instructions
     2.2 Output Example and definitions
     2.3 Troubleshooting tips
3.0  Configuration information
4.0  Unattended mode
5.0  Web site and support phone number
6.0  Notices and trademarks
7.0  Disclaimer


1.0  Overview
_____________

    1.1 This update of the Lenovo SSD Wear Gauge CLI Utility for Linux
        adds support for additional SSD drives. It is designed to run under
        Linux and reports the usage of the supported SSD drives.

        It will report the status of any supported SSD drive attached to the
        following controllers:
            - ServeRAID M5115 SAS/SATA Controller for Flex System (90Y4390)
            - ServeRAID M5100 Series IBM Flex System Flash Kit for X6 (44T1178)
            - ServeRAID M5120 SAS/SATA Controller for Lenovo System x (81Y4478)
            - ServeRAID M5215 with 2GB Flash Enablement Flex System x240 M5 (00JX142)   
            - ServeRAID M5210 SAS/SATA Controller for Lenovo System x (46C9110)
            - ServeRAID M5210e SAS/SATA Controller for Lenovo System x (46C9116)
            - ServerRAID M5225 SAS/SATA Controller for System x (00AE938)
            - ServeRAID M1210 SAS/SATA onboard Controller for System x (00JY194)
            - ServeRAID M1215 SAS/SATA Controller for System x (46C9114)
            - ServerRAID M1210e SAS/SATA onboard Controller for System x
            - 6Gb SAS HBA
            - N2125 SAS/SATA HBA for Lenovo System x (46C8988)
            - N2215 SAS/SATA HBA for Lenovo System x (47C8675)
            - N2225 SAS/SATA HBA for Lenovo System x (00AE912)
            - N2226 SAS/SATA HBA for Lenovo System x (00AE916)     
            - Intel RSTe SATA Software RAID
            - ThinkSystem RAID 530-8i PCIe 12Gb Adapter
            - ThinkSystem RAID 530-4i Flex Adapter
            - ThinkSystem RAID 530-4i Flex Adapter
            - ThinkSystem RAID 530-8i Dense Adapter
            - ThinkSystem RAID 730-8i 1GB Cache PCIe 12Gb Adapter
            - ThinkSystem RAID 730-8i 2GB Flash PCIe 12Gb Adapter 
            - ThinkSystem RAID 930-8i  2GB Flash PCIe 12Gb
            - ThinkSystem RAID 930-16i 4GB Flash PCIe 12Gb
            - ThinkSystem RAID 930-24i 4GB Flash PCIe 12Gb
            - ThinkSystem RAID 930-8e  4GB Flash PCIe 12Gb
            - ThinkSystem RAID 930-4i 2GB Flash Flex Adapter
            - ThinkSystem RAID 930-4i 2GB Flash Flex Adapter
            - ThinkSystem RAID 930-16i 8GB Flash PCIe 12Gb Adapter
            - ThinkSystem 430-8i PCIe 12Gb  for ThinkSystem
            - ThinkSystem 430-16i PCIe 12Gb  for ThinkSystem
            - ThinkSystem 430-8e PCIe 12Gb  for ThinkSystem
            - ThinkSystem 430-16e PCIe 12Gb  for ThinkSystem
            - ThinkSystem 430-8i SAS/SATA 12Gb Dense HBA
            - ThinkSystem M.2 with Mirroing Enablement Kit for ThinkSystem
            - NVMe PCIe devices in the support list,Support list can be found in the Change History file
    1.2  Limitations:
        - Any SSD drives attached controllers not in the above list
           will not be supported by this utility

    1.3  Problems fixed:
        - See change history for details

    1.4 Level of Recommendations and Prerequisites for the update:
        - The SAS controller Firmware and Driver must be upgraded to latest version.
        - The SSD Firmware must be upgraded to latest version.
        - libstdc++.so 32 bit is required for the update run.
            Example:  RHEL 6 - install libstdc++-4.4.4.13.el6.i686.rpm

    1.5 Dependencies:
	    The SSDs must be upgraded with the latest fw 

    1.6 Update Contents
        o  lnvgy_utl_ssd_*_linux_x86-64.bin
             - The executable update package
        o  lnvgy_utl_ssd_*_linux_x86-64.chg
             - Change history
    1.7 Supported Drives List:
        For all Driver support list , you can find Supported SSD Data Base  At the end of the ChangeList. 
		And please pay attention to the  dependencies: The SSDs should be upgraded with the latest fw.


2.0  Installation and setup instructions
________________________________________

  This package can only be used as a standalone executable package.

  2.1 Standalone usage instructions
  ---------------------------------

  As a standalone package, this executable is used in the following way:
    - to display the current usage of the supported SSD Drives.

    1) Open a teminal window
    2) Type "./lnvgy_utl_ssd_*_linux_x86-64.bin -s" at a command prompt.
    3) The window will display the current usage of the detected SSD Drives
    4) Close the terminal window
   
   2.2 Output Example and definitions
    ------------------------
    This tool is intended to give a simple snapshot of the health of a SSD drive.
    The number of bytes written and compared to the warranty of the drive, the temperature
    of the drive and the useful life remaining of the drive

    Here is a sample output from the tool:
    --------------------------------------
    1   PN:00YK163-00LF386 SN:C2Y45045 FW:CF03
        Number bytes written to SSD: 109468.6GB
        Number bytes supported by warranty: 7008000GB
        Life Remaining Gauge: 100%
        SSD temperature:33(c)      Spec Max: 70(c)
        PFA trip: No
        Warranty Exceed:No

    Field Definitions:
    ------------------

    First Line identifies
       PN: The drive Part Number and FRU PN
       SN: The drive Serial Number
       FW: Version of drive Firmware

    Number of bytes written to SSD:     The raw number of bytes written to the drive.

    Number bytes supported by warranty: Te maximum number of allowable bytes written
                                        to the drIve while remaining under warranty.

    Life Remaining Gauge:               Percentage of usefule life remaining of the
                                        drive determined by an alorithm of the number
                                        of writes and the number of spares remaining,
                                        independent of the warranty.

    SSD temperature / Spec Max:         Current case temperature of the drive and the maximum
                                        allowable temperature per the drive specification.

    PFA trip:                           Indicates if the drive has reported a SMART/PFA alert.

    Warranty Exceed:                    Yes or No based on if the number of bytes written to the
                                        drive has exceeded the number of bytes supported by
                                        warranty.

  2.3 Troubleshooting tips
  ------------------------
        - None


3.0  Configuration information
______________________________

  - None


4.0  Unattended Mode
____________________

  To run this package in unattended mode, use the following command:

        ./lnvgy_utl_ssd_*_linux_x86-64.bin -s


5.0 Web Sites and Support Phone Number
______________________________________

  o  You can download new and updated files for Lenovo System x products from the IBM
     Support Web site:

      http://support.lenovo.com/us/en


6.0 Trademarks and Notices
__________________________

  Lenovo, the Lenovo logo, and ServeRAID  are trademarks of Lenovo in the United States,
  other countries, or both.

  IBM and are trademarks or registered trademarks of International
  Business Machines Corporation in the United States and other countries.

  LSI is a registered trademark of LSI Logic, Corp in the United States and
  other countries.

  Windows is a trademark or registered trademark of Microsoft Corporation in
  the United States and other countries.

  Other company, product, and service names may be trademarks or service marks
  of others.


7.0 Disclaimer
______________

  THIS DOCUMENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
  Lenovo DISCLAIMS ALL WARRANTIES, WHETHER EXPRESS OR IMPLIED,
  INCLUDING WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF FITNESS
  FOR A PARTICULAR PURPOSE AND MERCHANTABILITY WITH RESPECT TO THE
  INFORMATION IN THIS DOCUMENT.  BY FURNISHING THIS DOCUMENT, Lenovo
  GRANTS NO LICENSES TO ANY PATENTS OR COPYRIGHTS.OCUMENT, IBM
  GRANTS NO LICENSES TO ANY PATENTS OR COPYRIGHTS.

  Note to U.S. Government Users -- Documentation related to
  restricted rights -- Use, duplication or disclosure is subject
  to restrictions set forth in GSA ADP Schedule Contract with
  Lenovo Corporation.  IBM web site pages may contain other proprietary
  notices and copyright information which should be observed.
