1

実行中: Centos 6.2 VM 1Tb ディスクを接続しました (sdc1 と呼ばれます)

レプリケーションのスレーブになるように MySQL をインストールしました。

MySQL データ ファイルは、接続された 1Tb ディスクにあります。

問題は、スレーブがマスターに追いついていないことです。

「メッセージ」ファイルには、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
4

1 に答える 1

1

最近、ディスク上で実行fsckして、エラーを見つけて修正できるかどうかを確認しましたか?

また、スレーブにスワップドライブはありますか?

于 2012-07-02T17:52:54.500 に答える