17o如何查看硬盘时间 raid0
smartctl -a /dev/sg1smartctl -a /dev/sg2
这个失败
smartctl -A /dev/sda
失败
Disk A
smartctl -a -d cciss,0 /dev/sda
Disk B
smartctl -a -d cciss,1 /dev/sda
这个也不行。
static/image/smiley/yct/002.gif
smartctl -d ata -a /dev/sda smartctl -d ata -a /dev/sdb smartctl 6.4 2014-10-07 r4002 (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdb failed: No such device
Eric.c 发表于 2017-6-30 00:08
smartctl -d ata -a /dev/sdb
smartctl 6.4 2014-10-07 r4002 (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdb failed: No such device
不行啊!!!!! 执行 fdisk -l 把结果贴上来 我幫樓主來貼的,我測試了很多方法後,直接用無RAID模式下去看
Disk /dev/sda: 1.8 TiB, 1999307276288 bytes, 3904897024 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x62a68e0a
Device BootStart End SectorsSize Id Type
/dev/sda1* 2048 409599 407552199M 83 Linux
/dev/sda2 409600 3904894975 39044853761.8T 83 Linux
Eric.c 发表于 2017-6-30 00:26
执行 fdisk -l 把结果贴上来
Disk /dev/sda: 1.8 TiB, 1999307276288 bytes, 3904897024 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x80ac4ec8
Device Boot Start End SectorsSize Id Type
/dev/sda1* 2048 409599 407552199M 83 Linux
/dev/sda2 409600 3891302399 38908928001.8T 83 Linux
/dev/sda3 3891302400 3904894975 135925766.5G 82 Linux swap / Solaris
王健林 发表于 2017-6-30 04:07
Disk /dev/sda: 1.8 TiB, 1999307276288 bytes, 3904897024 sectors
Units: sectors of 1 * 512 = 512 by ...
试试这三个:
sudo smartctl -d ata -i /dev/sda
sudo smartctl -d scsi -i /dev/sda
sudo smartctl -d sat -i /dev/sda
页:
[1]