Method and system for testing Expander backboard hard disk indicator light based on Linux system
An indicator light and backplane technology, applied in the field of testing Expander backplane hard disk indicator light based on Linux system, can solve problems such as affecting test efficiency and non-uniform test methods, improve reliability, facilitate collocation of test environment, and reflect universal Effects of Sex and Flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] A system based on the Linux system for testing the indicator light on the Expander backplane hard disk, including the Expander backplane, a storage controller and a hard disk; and a detection module, a data acquisition module and a judgment module;
[0041] The detection module is used to detect whether the system has installed the sg3_utils toolkit; detect the corresponding state of the Expander backplane hard disk indicator;
[0042] The data acquisition module is used to obtain the following information: obtain the name of the Expander device under the system; obtain the indicator light flag position of each slot number;
[0043] The judging module is used to judge whether the indicator bit of each slot number is 1 or 0.
[0044] The method for testing the Expander backplane hard disk indicator light based on the Linux system includes, based on the SES theory, utilizing a toolkit to carry out state setting and status inspection to the Expander backplane hard disk ind...
Embodiment 2
[0062] Take the Locate LED test as an example
[0063] 1) Build a test environment:
[0064] Linux operating system is installed on the Sata interface of the main board, the hard disk of the storage subsystem is fully configured, and the storage controller driver is installed under the system;
[0065] 2) Define the file directory:
[0066]
[0067] 3) Before testing, install the sg3_utils toolkit:
[0068] rpm-qa|grep sg3_utils-libs-1.41-1.x86_64>$FILE_DIR / sg3_utils_lib_package.txt
[0069] rpm-qa|grep sg3_utils-1.41-1.x86_64>$FILE_DIR / sg3_utils_package.txt
[0070] / / Query whether to install the sg3_utils-libs-1.41-1.x86_64 and grep sg3_utils-1.41-1.x86_64 installation packages, and write the query results into the sg3_utils_lib_package.txt and sg3_utils_package.txt files respectively
[0071] if[-s$FILE_DIR / sg3_utils_lib_package.txt];then
[0072] echo "sg3_utils_lib package has been installed already!"
[0073] else
[0074] rpm-ivh --force --nodeps sg3_utils-lib...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com