[DRBD-user] Invalidate

Stephan Rattai srattai at zmnh.uni-hamburg.de
Thu Aug 4 14:35:42 CEST 2005

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


Am Donnerstag, 4. August 2005 14:12 schrieb Lars Ellenberg:
> / 2005-08-04 12:12:39 +0200
>
> \ Stephan Rattai:
> > Now I know this isn't the best way- I just made both secondary,
> > invalidated them
>
> it does not make sense to invalidate both.

Even if I make a fool out of myself, I would really like to understand why it 
doesn't make any sense, doesn't invalidate mean 'Hey, forget about your 
metadata, you are inconsinstent, go get some good data' ? Or does it just 
mean 'go get good data and don't touch the metadata because you're already 
secondary and in the metadata there shouldn't be a single block marked as out 
of sync anyway' ? So if I had a crash and don't know about the state of it 
all and don't care about the filesystem that has been on it because it has 
been testing only, wouldn't it be consequent to start over ? 

> > and ended up with an oops on one of them. Shouldn't it just be 'I don't
> > have access to the good data' or so ?
>
> if you show me the oops, I might be able to tell.
> it may even be unrelated to (but still triggered by) drbd...
> it may be a bug that testing never triggered, because we never tried to
> invalidate both (though that is what we start from, initially).

I will attach it.
-------------- next part --------------
Aug  4 12:24:16 test2 kernel: Oops: 0002 [#3]
Aug  4 12:24:16 test2 kernel: SMP
Aug  4 12:24:16 test2 kernel: Modules linked in: drbd iptable_filter ehci_hcd uhci_hcd
Aug  4 12:24:16 test2 kernel: CPU:    2
Aug  4 12:24:16 test2 kernel: EIP:    0060:[_spin_lock_irqsave+5/29]    Not tainted VLI
Aug  4 12:24:16 test2 kernel: EIP:    0060:[<c035d683>]    Not tainted VLI
Aug  4 12:24:16 test2 kernel: EFLAGS: 00010006   (2.6.12.2)
Aug  4 12:24:16 test2 kernel: EIP is at _spin_lock_irqsave+0x5/0x1d
Aug  4 12:24:16 test2 kernel: eax: 00000206   ebx: 00000001   ecx: 00000001   edx: 65726d78
Aug  4 12:24:16 test2 drbd: Command '/sbin/drbdsetup /dev/drbd0 down' terminated with exit code -1
Aug  4 12:24:16 test2 kernel: esi: f6894a20   edi: f3fa3000   ebp: 00000001   esp: eea5de68
Aug  4 12:24:16 test2 drbd: drbdsetup exited with code -1
Aug  4 12:24:16 test2 kernel: ds: 007b   es: 007b   ss: 0068
Aug  4 12:24:16 test2 drbd: .
Aug  4 12:24:16 test2 kernel: Process drbdsetup (pid: 12388, threadinfo=eea5c000 task=eee3f520)
Aug  4 12:24:16 test2 drbd: ERROR: Module drbd is in use
Aug  4 12:24:16 test2 kernel: Stack: c0124548 00000046 f3fa33d0 42f1d434 00000002 f3fa3400 f3fa3000 c0124e5e
Aug  4 12:24:16 test2 kernel:        00000001 00000001 f6894a20 f8c71b57 00000001 f6894a20 f3fa33d0 f8c7007b
Aug  4 12:24:16 test2 kernel:        f8c7007b 00000282 f3fa33d0 42f1d434 f3fa3000 f8c63671 f3fa3400 00000000
Aug  4 12:24:16 test2 kernel: Call Trace:
Aug  4 12:24:16 test2 kernel:  [force_sig_info+39/165] force_sig_info+0x27/0xa5
Aug  4 12:24:16 test2 kernel:  [<c0124548>] force_sig_info+0x27/0xa5
Aug  4 12:24:16 test2 kernel:  [force_sig+31/35] force_sig+0x1f/0x23
Aug  4 12:24:16 test2 kernel:  [<c0124e5e>] force_sig+0x1f/0x23
Aug  4 12:24:16 test2 kernel:  [pg0+947690327/1068852224] _drbd_thread_stop+0x7d/0x1e9 [drbd]
Aug  4 12:24:16 test2 kernel:  [<f8c71b57>] _drbd_thread_stop+0x7d/0x1e9 [drbd]
Aug  4 12:24:16 test2 kernel:  [pg0+947683451/1068852224] drbd_rs_begin_io+0x8a/0x5ea [drbd]
Aug  4 12:24:16 test2 kernel:  [<f8c7007b>] drbd_rs_begin_io+0x8a/0x5ea [drbd]
Aug  4 12:24:16 test2 kernel:  [pg0+947683451/1068852224] drbd_rs_begin_io+0x8a/0x5ea [drbd]
Aug  4 12:24:16 test2 kernel:  [<f8c7007b>] drbd_rs_begin_io+0x8a/0x5ea [drbd]
Aug  4 12:24:16 test2 kernel:  [pg0+947631729/1068852224] drbd_ioctl+0xb7f/0xd2d [drbd]
Aug  4 12:24:16 test2 kernel:  [<f8c63671>] drbd_ioctl+0xb7f/0xd2d [drbd]
Aug  4 12:24:16 test2 kernel:  [do_ioctl+111/169] do_ioctl+0x6f/0xa9
Aug  4 12:24:16 test2 kernel:  [<c016c28f>] do_ioctl+0x6f/0xa9
Aug  4 12:24:16 test2 kernel:  [vfs_ioctl+101/481] vfs_ioctl+0x65/0x1e1
Aug  4 12:24:16 test2 kernel:  [<c016c478>] vfs_ioctl+0x65/0x1e1
Aug  4 12:24:16 test2 kernel:  [sys_ioctl+69/108] sys_ioctl+0x45/0x6c
Aug  4 12:24:16 test2 kernel:  [<c016c639>] sys_ioctl+0x45/0x6c
Aug  4 12:24:16 test2 kernel:  [sysenter_past_esp+84/117] sysenter_past_esp+0x54/0x75
Aug  4 12:24:16 test2 kernel:  [<c0102bf7>] sysenter_past_esp+0x54/0x75
Aug  4 12:24:16 test2 kernel: Code: 00 01 0f 94 c0 84 c0 b9 01 00 00 00 75 09 f0 81 02 00 00 00 01 30 c9 89 c8 c3 f0 83 28 01 79 05 e8 43 e5 ff ff c3 89 c2 9c 58 fa <f0> fe 0a 79 12 a9 00 02 00 00 74 01 fb f3 90 80 3a 00 7e f9 fa


More information about the drbd-user mailing list