How to view the hard drive brand model and other details of CentOS

Source: Internet
Author: User

How to view the hard drive brand model and other details of CentOS

First, use the smartctl -- all/dev/sda command to check the hard disk information. This command comes with CentOS. The result may be as follows:

Smartctl 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, http://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: 512 bytes logical, 4096 bytes physical
Device is: Not in smartctl database [for details use:-P showall]
ATA Version is: 8
ATA Standard is: ACS-2 (revision not indicated)
Local Time is: Fri Jul 3 16:04:20 2015 CST
SMART support is: Available-device has SMART capability.
SMART support is: Enabled

The information on the right side of the Device Model here is the specific Model of the hard disk, and the information on the right side of the User Capacity is the actual size of the hard disk. It also indicates that the machine has no disk array. If the machine has a disk array, run the preceding command to obtain the following results:

Vendor: DELL
Product: PERC H310
Revision: 2.12
User Capacity: 999,653,638,144 bytes [999 GB]
Logical block size: 512 bytes
Logical Unit id: 0x6b083fe0e9aa11111cf09480020.aee5
Serial number: 00e5ae40048094f01c1111aae9e03f08
Device type: disk
Local Time is: Fri Jul 3 15:39:02 2015 CST
Device does not support SMART

Error Counter logging not supported
Device does not support Self Test logging

Here, the Vendor and Product are actually the information of the disk array card, rather than the disk information.

Install the smart tool with the command yum install smartmontools. Enter the command and press Enter. Enter the command: smartctl-a-d sat + megaraid, 0/dev/sda, and press Enter. the following result is displayed:

Smartctl 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

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 Version is: 8

ATA Standard is: ATA-8-ACS revision 4

Local Time is: Fri Jul 3 16:01:03 2015 CST

SMART support is: Available-device has SMART capability.

SMART support is: Enabled

The information on the right side of the Device Model here is the specific hard disk Model, and the information on the right side of the User Capacity is the actual size of the hard disk.

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.