Rhel
如何理解dmesg
我們有redhat機器7.2版,每台機器都有磁碟
作為
sdb sdc sdd sde sdf
在 dmesg 報告中,我們得到以下資訊
[873080.996700] Buffer I/O error on device sdf, logical block 50575986 [873080.996702] Buffer I/O error on device sdf, logical block 50575987 [873080.996703] Buffer I/O error on device sdf, logical block 50575988 [873080.996705] Buffer I/O error on device sdf, logical block 50575989 [873080.996706] Buffer I/O error on device sdf, logical block 50575990 [873742.837309] sd 1:0:2:0: [sdf] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK [873742.837324] sd 1:0:2:0: [sdf] tag#0 CDB: Write(16) 8a 00 00 00 00 00 18 24 50 88 00 00 01 18 00 00 [873742.837329] blk_update_request: I/O error, dev sdf, sector 405033096 [873742.837338] EXT4-fs warning (device sdf): ext4_end_bio:332: I/O error -5 writing to inode 160908517 (offset 860160 size 139264 starting block 50629172) [873742.837342] Buffer I/O error on device sdf, logical block 50629137 [873742.837347] Buffer I/O error on device sdf, logical block 50629138 [873742.837350] Buffer I/O error on device sdf, logical block 50629139
我不確定磁碟 - sdf 是否是這裡的問題,需要更換它
是的,disk sdf 在多個塊上報告錯誤。儘早更換。您可能還想研究使用
smartctl
來獲取磁碟故障的統計資訊smartctl -a /dev/sdf