一、查看硬盤類型linux
[root@localhost ~]# smartctl -i /dev/sdb smartctl 5.42 2011-10-20 r3458 [x86_64-linux-2.6.32-279.el6.x86_64] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net Vendor: LSI Product: LSI Revision: 3.19 User Capacity: 7,187,988,480,000 bytes [7.18 TB] Logical block size: 512 bytes Logical Unit id: 0x6234567890abcde01bd7ad5b16750cb2 Serial number: 00b20c75165badd71be0cdab90785634 Device type: disk Local Time is: Tue Oct 28 09:52:55 2014 CST Device does not support SMART
二、shell