How CentOS can view specific information such as the hard drive brand model

Source: Internet
Author: User

First use the SMARTCTL--ALL/DEV/SDA directive to check the hard disk information, the command CentOS comes with, the results may be as follows:

sm Artctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-358.el6.x86_64] (local build)
Copyright (C) 2002-12 by Bruce Allen, H Ttp://smartmontools.sourceforge.net
= = = START of Information section = = =
Device Model:     WDC Wd20ezrx-00dc0b0
Serial Number:    wd-wmc301111333
LU WWN Device id:5 0014ee 601111622
Firmware VERSION:80.00A80
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     bytes s logical, 4096 bytes physical
Device is:        not on SMARTCTL database [for details use:-P Show ALL]
Ata Version are:   8
ATA standard are:  acs-2 (revision not indicated)
Local time is:    f RI Jul  3 16:04:20 CST
Smart support Is:available-device have smart capability.
SMART Support is:enabled

< Span style= "line-height:1.5" The information on the right side of the device model here is the specific model of the hard disk, the information on the right side of the User capacity is the actual size of the hard disk, and it also indicates that the machine does not have a disk array. If the machine has a disk array, the result of running the above command may be as follows:

< Span style= "line-height:1.5" >vendor:               DELL
Product:     &NBSP ;       &NBSP;PERC H310
Revision:             2.12
User Capacity:        999,653,638,144 bytes [999 GB]
Logical block Size:   bytes
Logical Unit ID:   &NBS P  0x6b083fe0e9aa11111cf094800440aee5
Serial Number:         00E5AE40048094F01C1111AAE9E03F08
Device Type:          disk
Local time is:     & nbsp  fri Jul  3 15:39:02 CST
Device does not support SMART
 
Error Counter Logging not supported< Br>device does not support self Test logging

The vendor and product here are actually information about the disk array card, not the disk information.

At this point, you can install the Smart tool, instructions for yum install smartmontools, enter the command and return. After entering the command: smartctl-a-D SAT+MEGARAID,0/DEV/SDA and enter, you can get the following results:

sm Artctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-431.el6.x86_64] (local build)
 
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
 
= = = START of Information section = = =
 
Device Model:st91000640ns
 
Serial number:9xg3xxxf
 
LU WWN Device id:5 000x50 04fxxxx06
& nbsp
Firmware version:aa02
 
User capacity:1,000,204,886,016 bytes [1.00 TB]
 
Sector size:512 Bytes logical/physical
 
Device is:not in Smartctl database [for details use:-P showall]
 
ATA Ver Sion Is:8
 
ATA Standard Is:ata-8-acs Revision 4
 
Local time Is:fri Jul 3 16:01:03 CST
& nbsp
Smart Support Is:available-device have smart capability.
 
SMART support is:enabled

The information on the right side of the device model here is the specific model of the hard drive, and the information on the right of User capacity is the actual size of the hard disk.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

How CentOS can view specific information such as the hard drive brand model

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.