王健林 发表于 2017-6-29 23:48:00

17o如何查看硬盘时间 raid0

smartctl -a /dev/sg1
smartctl -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

这个也不行。

yc002t

Andy1999 发表于 2017-6-29 23:51:31

Eric.c 发表于 2017-6-30 00:07:27

smartctl -d ata -a /dev/sda

Eric.c 发表于 2017-6-30 00:08:22

smartctl -d ata -a /dev/sdb

王健林 发表于 2017-6-30 00:09:40

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

王健林 发表于 2017-6-30 00:10:00

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


不行啊!!!!!

Eric.c 发表于 2017-6-30 00:26:00

执行 fdisk -l 把结果贴上来

wen 发表于 2017-6-30 02:37:12

我幫樓主來貼的,我測試了很多方法後,直接用無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

王健林 发表于 2017-6-30 04:07:03

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

Eric.c 发表于 2017-6-30 15:05:04

王健林 发表于 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]
查看完整版本: 17o如何查看硬盘时间 raid0