"local disk flush failed with status -5" with drbd8 over LVM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
drbd8 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is a known issue with versions of drbd 8.0.x prior to 8.0.12 (or 8.2.6, in the unstable branch). It's related to some kernel I/O modules in pre-2.6.25 kernels failing to return correct error codes from flushes (LVM being the one that I'm using, although some buggy SCSI controllers could also experience this same problem). Example discussion on the matter in DRBD-user mailing list: http://
Releasing either drbd 8.0.12 or backporting the appropriate changes to 8.0.11 (8.0.11-0ubuntu4 maybe?) is probably the easiest fix for the problem.
Release of Ubuntu we're using: 8.04
Current version of drbdr8-utils we're using: 8.0.11-0ubuntu3
What I expected to happen: no error messages
What happened instead:
May 30 13:49:20 tron kernel: [162444.168016] drbd0: local disk flush failed with status -5
May 30 13:49:22 tron kernel: [162446.169329] drbd0: local disk flush failed with status -5
May 30 13:49:24 tron kernel: [162448.169875] drbd0: local disk flush failed with status -5
etc., every 2-5 seconds.
I have this error once every millisecond in my logs during IO testing.
This patch is really important for Hardy in HA configurations using DRBD. Please backport or upgrade packages.