We tried to run one of Win2k8 VM with cache=writeback to test its disk performance as with default cache=none we have very poor disk performance (io wait is about 20% with only one active VM). Host system had pve-kernel-2.6.32-29-pve. After several minutes of not very active write operations (files downloading over 100M network) host remounted / as RO, dmesg showed the following:
EXT4-fs error (device md0): ext4_ext_search_left: inode #27526386: (comm kvm) ix (4064983) != EXT_FIRST_INDEX (0) (depth 1)!
Aborting journal on device md0-8.
EXT4-fs error (device md0): ext4_journal_start_sb: Detected aborted journal
EXT4-fs (md0): Remounting filesystem read-only
EXT4-fs (md0): Remounting filesystem read-only
EXT4-fs (md0): delayed block allocation failed for inode 27526386 at logical offset 4064983 with max blocks 617 with error -5
This should not happen!! Data will be lost
EXT4-fs error (device md0) in ext4_da_writepages: IO failure
EXT4-fs (md0): ext4_da_writepages: jbd2_start: 9223372036854774198 pages, ino 27526386; err -30
Can this problem be caused by cache=writeback?
EXT4-fs error (device md0): ext4_ext_search_left: inode #27526386: (comm kvm) ix (4064983) != EXT_FIRST_INDEX (0) (depth 1)!
Aborting journal on device md0-8.
EXT4-fs error (device md0): ext4_journal_start_sb: Detected aborted journal
EXT4-fs (md0): Remounting filesystem read-only
EXT4-fs (md0): Remounting filesystem read-only
EXT4-fs (md0): delayed block allocation failed for inode 27526386 at logical offset 4064983 with max blocks 617 with error -5
This should not happen!! Data will be lost
EXT4-fs error (device md0) in ext4_da_writepages: IO failure
EXT4-fs (md0): ext4_da_writepages: jbd2_start: 9223372036854774198 pages, ino 27526386; err -30
Can this problem be caused by cache=writeback?