[DRBD-user] Concurrent local write detected! [DISCARD L]

Alessandro Bono alessandro.bono at gmail.com
Wed Jan 18 12:39:56 CET 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi

installing a kvm virtual machine on a drbd disk cause these logs on host
machine

[2571736.830557] block drbd0: kvm[7083] Concurrent local write detected! [DISCARD L] new: 48981951s +32768; pending: 48981951s +32768
[2571736.857671] block drbd0: kvm[7083] Concurrent local write detected! [DISCARD L] new: 48982015s +512; pending: 48982015s +512
[2571736.884479] block drbd0: kvm[7083] Concurrent local write detected! [DISCARD L] new: 48982016s +3584; pending: 48982016s +3584
[2571736.911285] block drbd0: kvm[7083] Concurrent local write detected! [DISCARD L] new: 48982023s +28672; pending: 48982023s +28672
[2571798.062440] block drbd0: kvm[7080] Concurrent local write detected! [DISCARD L] new: 66639863s +4096; pending: 66639855s +8192
[2571798.089232] block drbd0: kvm[7080] Concurrent local write detected! [DISCARD L] new: 66639871s +512; pending: 66639871s +512
[2571798.116014] block drbd0: kvm[7080] Concurrent local write detected! [DISCARD L] new: 66639872s +3584; pending: 66639872s +3584
[2571798.143110] block drbd0: kvm[7080] Concurrent local write detected! [DISCARD L] new: 66639879s +57344; pending: 66639879s +53248
[2571932.144089] block drbd0: kvm[7080] Concurrent local write detected! [DISCARD L] new: 64914183s +24576; pending: 64914215s +65536
[2572014.253295] block drbd0: kvm[7083] Concurrent local write detected! [DISCARD L] new: 78267975s +65536; pending: 78267975s +65536
[2572317.294655] block drbd0: kvm[7083] Concurrent local write detected! [DISCARD L] new: 45901543s +12288; pending: 45901543s +12288
[2572346.510458] block drbd0: kvm[7080] Concurrent local write detected! [DISCARD L] new: 64619831s +65536; pending: 64619831s +65536
[2572402.322369] block drbd0: kvm[7082] Concurrent local write detected! [DISCARD L] new: 64818567s +61440; pending: 64818567s +61440
[2572402.349160] block drbd0: kvm[7082] Concurrent local write detected! [DISCARD L] new: 64818687s +512; pending: 64818687s +512
[2572402.376182] block drbd0: kvm[7082] Concurrent local write detected! [DISCARD L] new: 64818688s +3584; pending: 64818688s +3584
[2572403.429157] block drbd0: kvm[7082] Concurrent local write detected! [DISCARD L] new: 64896055s +65536; pending: 64896055s +65536
[2572422.493968] block drbd0: kvm[7080] Concurrent local write detected! [DISCARD L] new: 57422703s +65536; pending: 57422703s +65536
[2572889.505644] block drbd0: kvm[7080] Concurrent local write detected! [DISCARD L] new: 75415135s +65536; pending: 75415135s +65536

on mailing list I found some reference to iscsi not on a vm directly
installed on drbd

vm guest is a windows 2003 server r2 with virtio disk drivers
vm host is an ubuntu server with kernel 2.6.38-13 and drbd 8.3.12 from git
qemu-kvm 0.12.3+noroms-0ubuntu9.16

cat /proc/drbd
version: 8.3.12 (api:88/proto:86-96)
GIT-hash: 465da64362f0aece357e9015c50ed849e2458abd debian/changelog
debian/control build by root at nebbiolo-dev, 2011-12-29 16:00:53


cat /etc/drbd.d/r0.res
resource r0 {
 syncer {
    rate 25M;
    csums-alg sha1;
    verify-alg sha1;
  }

  net {
    cram-hmac-alg "sha1";
    shared-secret "xxxxxxxxxx";
  }

  disk {
    no-disk-flushes;
    no-md-flushes;
  }

  on ga1 {
    device     /dev/drbd0;
    disk       /dev/ga1/winsrv;
    address    10.12.24.242:7788;
    meta-disk  internal;
  }

  on ga2 {
    device    /dev/drbd0;
    disk      /dev/ga2/winsrv;
    address   10.12.24.243:7788;
    meta-disk internal;
  }

}


Is there a workaround/solution?

thanks

-- 
Cordiali saluti

Alessandro Bono




More information about the drbd-user mailing list