正在运行:Centos 6.2 VM 附加1Tb磁盘(称为sdc1)
在其上安装MySQL作为复制的奴隶。
MySQL数据文件位于附加的1Tb磁盘上。
问题是:奴隶没有跟上主人。
“messages”文件列出了I / O错误(附在下面)。
有谁知道如何解决这个问题?
错误如下:
sd 4:0:0:0: [sdc] Sense Key : Illegal Request [current]
sd 4:0:0:0: [sdc] Add. Sense: Invalid command operation code
sd 4:0:0:0: [sdc] CDB: Write(6): 0a 02 a1 ff 08 00
Buffer I/O error on device sdc1, logical block 21560
lost page write due to I/O error on sdc1
hv_storvsc vmbus_0_7: cmd 0xa scsi status 0x2 srb status 0x86
hv_storvsc vmbus_0_7: stor pkt ffff880086431e00 autosense data valid - len 18
storvsc: Sense Key : Illegal Request [current]
storvsc: Add. Sense: Invalid command operation code
sd 4:0:0:0: [sdc] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 4:0:0:0: [sdc] Sense Key : Illegal Request [current]
sd 4:0:0:0: [sdc] Add. Sense: Invalid command operation code
sd 4:0:0:0: [sdc] CDB: Write(6): 0a 02 a1 ff 08 00
Buffer I/O error on device sdc1, logical block 21560
lost page write due to I/O error on sdc1
hv_storvsc vmbus_0_7: cmd 0x2a scsi status 0x2 srb status 0x86
hv_storvsc vmbus_0_7: stor pkt ffff880086431e00 autosense data valid - len 18
storvsc: Sense Key : Illegal Request [current]
storvsc: Add. Sense: Invalid command operation code
sd 4:0:0:0: [sdc] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 4:0:0:0: [sdc] Sense Key : Illegal Request [current]
sd 4:0:0:0: [sdc] Add. Sense: Invalid command operation code
sd 4:0:0:0: [sdc] CDB: Write(10): 2a 00 0c e0 10 4f 00 00 08 00
Buffer I/O error on device sdc1, logical block 27001346
lost page write due to I/O error on sdc1
hv_storvsc vmbus_0_7: cmd 0x2a scsi status 0x2 srb status 0x86
hv_storvsc vmbus_0_7: stor pkt ffff880100c72980 autosense data valid - len 18
storvsc: Sense Key : Illegal Request [current]
storvsc: Add. Sense: Invalid command operation code
sd 4:0:0:0: [sdc] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 4:0:0:0: [sdc] Sense Key : Illegal Request [current]
sd 4:0:0:0: [sdc] Add. Sense: Invalid command operation code
sd 4:0:0:0: [sdc] CDB: Write(10): 2a 00 0f 2a 08 c7 00 00 10 00
Buffer I/O error on device sdc1, logical block 31801617
lost page write due to I/O error on sdc1
Buffer I/O error on device sdc1, logical block 31801618
lost page write due to I/O error on sdc1
hv_storvsc vmbus_0_7: cmd 0xa scsi status 0x2 srb status 0x86
hv_storvsc vmbus_0_7: stor pkt ffff8803f576b140 autosense data valid - len 18
storvsc: Sense Key : Illegal Request [current]
storvsc: Add. Sense: Invalid command operation code
sd 4:0:0:0: [sdc] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 4:0:0:0: [sdc] Sense Key : Illegal Request [current]
sd 4:0:0:0: [sdc] Add. Sense: Invalid command operation code
sd 4:0:0:0: [sdc] CDB: Write(6): 0a 02 a2 3f 08 00
Buffer I/O error on device sdc1, logical block 21568
lost page write due to I/O error on sdc1
hv_storvsc vmbus_0_7: cmd 0xa scsi status 0x2 srb status 0x86
hv_storvsc vmbus_0_7: stor pkt ffff8800ab42e440 autosense data valid - len 18
storvsc: Sense Key : Illegal Request [current]
storvsc: Add. Sense: Invalid command operation code
sd 4:0:0:0: [sdc] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 4:0:0:0: [sdc] Sense Key : Illegal Request [current]
sd 4:0:0:0: [sdc] Add. Sense: Invalid command operation code
sd 4:0:0:0: [sdc] CDB: Write(6): 0a 02 a1 ff 08 00
Buffer I/O error on device sdc1, logical block 21560
lost page write due to I/O error on sdc1
答案 0 :(得分:1)
您最近是否在磁盘上运行fsck
以查看它是否可以找到并修复您的错误?
另外,你有奴隶的交换驱动器吗?