美文网首页
message log中出现ata后如何定位具体硬盘位置

message log中出现ata后如何定位具体硬盘位置

作者: 鸟它鸟 | 来源:发表于2019-04-08 14:15 被阅读0次
Feb 22 14:11:52 localhost kernel: [11573578.325759] ata2: hard resetting link
Feb 22 14:15:11 localhost kernel: [11573776.854976] ata2: hard resetting link
Mar  7 08:00:17 localhost kernel: [12674479.592709] ata1: hard resetting link
Mar 23 18:53:39 localhost kernel: [14096076.032012] ata3: hard resetting link
Mar 23 18:53:45 localhost kernel: [14096081.753507] ata3: hard resetting link
Mar 23 18:53:49 localhost kernel: [14096086.461822] ata3: hard resetting link

可以去ll /sys/block/中查看

root@localhost:/var/log# ll /sys/block/
total 0
lrwxrwxrwx 1 root root 0 Apr  8 14:12 sda -> ../devices/pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0/block/sda
lrwxrwxrwx 1 root root 0 Apr  8 14:12 sdb -> ../devices/pci0000:00/0000:00:17.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb
...

相关文章

网友评论

      本文标题:message log中出现ata后如何定位具体硬盘位置

      本文链接:https://www.haomeiwen.com/subject/ujiuiqtx.html