已安装 SSD,但在命令输出中显示为 HDD

已安装 SSD,但在命令输出中显示为 HDD

这里有奇怪的问题。

我在这台服务器上安装了 480GB SSD 驱动器。我自己安装的。我看到它了,它就在那里。但是,我在确定它是 HDD 还是 SSD 的常用命令上得到了错误的输出。

[root@localhost ~]# cat /sys/block/sda/queue/rotational
1

[root@localhost ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: ATA      Model: SanDisk SDSSDHII Rev: 00RL
Type:   Direct-Access   

为什么会显示“1”而不是0? SanDisk SDSSDHII 是正确的,因为这是我从亚马逊订购并自己安装的。就在那里,但显示为 0。

我运行的是 Centos 6.6

[root@localhost ~]# cat /etc/redhat-release
CentOS release 6.6 (Final)

[root@localhost ~]# uname -r
2.6.32-504.el6.x86_64

更多信息

/dev/sda:
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

ATA device, with non-removable media
Standards:
        Likely used: 1
Configuration:
        Logical         max     current
        cylinders       0       0
        heads           0       0
        sectors/track   0       0
        --
        Logical/Physical Sector size:           512 bytes
        device size with M = 1024*1024:           0 MBytes
        device size with M = 1000*1000:           0 MBytes 
        cache/buffer size  = unknown
Capabilities:
        IORDY not likely
        Cannot perform double-word IO
        R/W multiple sector transfer: not supported
        DMA: not supported
        PIO: pio0 



[root@localhost ~]# dmesg|grep sda
sd 2:0:0:0: [sda] 937703088 512-byte logical blocks: (480 GB/447 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 67 00 00 08
sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2
sd 2:0:0:0: [sda] Attached SCSI disk
dracut: Scanning devices sda2 sdb2  for LVM logical volumes Primary/lv_swap VolGroup/lv_swap Primary/lv_root 
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: 
SELinux: initialized (dev sda1, type ext4), uses xattr

输出智能控制

[root@localhost ~]# smartctl -a /dev/sda smartctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-504.el6.x86_64](本地构建)版权所有 (C) 2002-12 by Bruce艾伦,http://smartmontools.sourceforge.net

SAT 层后面可能的 ATA 设备

相关内容