[DRBD-user] LVM crash maybe due to a drbd issue

Maxence DUNNEWIND maxence at dunnewind.net
Mon Dec 7 22:17:10 CET 2009

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


Hi,

> > Anyway, the drbddevice using this lv is down, so it shouldn't block the lvchange
> > (I checked with drbdsetup /dev/drbdXX show, only the syncer part is shown).
> 
> care to _show_ us?
z2-3:~# drbdsetup /dev/drbd12 show
syncer {
        rate                    61440k; # bytes/second
        after                   -1 _is_default;
        al-extents              257;
}

> /proc/drbd,
z2-3:~# cat /proc/drbd 
version: 8.3.2 (api:88/proto:86-90)
GIT-hash: dd7985327f146f33b86d4bff5ca8c94234ce840e build by phil at fat-tyre, 2009-07-03 15:35:39
 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----
    ns:11757884 nr:0 dw:10895920 dr:11435868 al:721 bm:1041 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 1: cs:Unconfigured
 2: cs:Unconfigured
 3: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----
    ns:0 nr:38583600 dw:38583600 dr:0 al:0 bm:137 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 4: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r---n
    ns:102552 nr:0 dw:93880 dr:119844 al:82 bm:61 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 5: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----
    ns:0 nr:11102060 dw:11102060 dr:0 al:0 bm:1106 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 6: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----
    ns:0 nr:69368384 dw:69368384 dr:0 al:0 bm:101 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 7: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----
    ns:105802780 nr:0 dw:58886008 dr:54262644 al:3809 bm:3042 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 8: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----
    ns:0 nr:17275476 dw:17275476 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 9: cs:Unconfigured
10: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----
    ns:13891496 nr:0 dw:261480 dr:13806248 al:89 bm:832 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
11: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----
    ns:0 nr:452080 dw:452080 dr:0 al:0 bm:52 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
12: cs:Unconfigured
13: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r---d
    ns:35266952 nr:0 dw:96587488 dr:5229256 al:2971 bm:2973 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:277024
14: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----
    ns:337508 nr:0 dw:526348 dr:192624 al:231 bm:210 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
15: cs:StandAlone ro:Secondary/Unknown ds:UpToDate/DUnknown   r----
    ns:0 nr:56956 dw:56956 dr:0 al:0 bm:46 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
16: cs:NetworkFailure ro:Primary/Unknown ds:UpToDate/DUnknown C r---d
    ns:24777340 nr:0 dw:87720268 dr:12029753 al:1082 bm:1582 lo:0 pe:23 ua:0 ap:23 ep:1 wo:b oos:0
17: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----
    ns:877464 nr:0 dw:877704 dr:1671832 al:301 bm:43 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
18: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----
    ns:0 nr:18218056 dw:18218056 dr:0 al:0 bm:671 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
19: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----
    ns:0 nr:13785200 dw:13785200 dr:0 al:0 bm:696 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
20: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----
    ns:82172 nr:0 dw:82172 dr:40668 al:74 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0

> , or the LVM config
I can't, when I try to do a "lvs", I get : 
  /dev/drbd12: open failed: Wrong medium type

(yes, /dev/drd12 is supposed to be down )

> , or the drbd config,
I don't have it, since ganeti (which is used on top of kvm/drbd/lvm) directly use drbdsetup.

> show us some logs?
There is no more log that what I detailled previously, and a hanging lvchange -ay process (a strace also hangs).
> tell us which _version_ you use?
Sorry, forget them :
 - drbd : 8.3.2-3
 - lvm : 2.02.44-3

Maxence

-- 
Maxence DUNNEWIND
Contact : maxence at dunnewind.net
Site : http://www.dunnewind.net
06 32 39 39 93
GPG : 18AE 61E4 D0B0 1C7C AAC9  E40D 4D39 68DB 0D2E B533
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20091207/abbd107c/attachment.pgp>


More information about the drbd-user mailing list