[DRBD-user] Invalidate

Lars Ellenberg Lars.Ellenberg at linbit.com
Thu Aug 4 11:32:31 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.


/ 2005-08-04 11:18:12 +0200
\ Stephan Rattai:
> Hi everybody,
> 
> first things first: 
> 
> 2X dual Xeon connected via Gbe (Intel), each 1Gig Ram, Highmem supp. off, 
> Kernel 2.6.12.2, Raid 10 on 3ware S-ATA controllers.
> 
> I got a nice little problem which I think is a bit uncommon. I've been using 
> drbd for a while now with reiserfs on top. Yesterday the filesystem suddenly 
> went crazy: 
> 
> Aug  3 09:17:11 test1 kernel: ReiserFS: drbd0: warning: vs-4080: 
> reiserfs_free_block: free_block (drbd0:32939)[dev:blocknr]: bit already 
> cleared


you are very sure that you did not create a DRBD with internel meta data
over an existing file system without shrinking the fs first, thus
destroying the last 128 MB of the fs, and corrupting it badly?

you are very sure you don't have bad ram or a bad southbridge or
some other kaputt hardware ?

> After this the machine locked up. Fscking it didn't help. Now I thougt I'd try 
> Ext3 and see how it performs. Mkfs stuck.

stuck? or just very slow? (mke2fs is _very_ slow on large devices).

> Now I tried to invalidate my one 
> and only resource r0:
> 
> Machine1:
> 
> version: 0.7.11 (api:77/proto:74)
> SVN Revision: 1799 build by pete at test1, 2005-08-03 18:24:38
>  0: cs:Connected st:Primary/Secondary ld:Consistent
>     ns:7451187 nr:0 dw:6398519 dr:1651619 al:3082 bm:981 lo:0 pe:0 ua:0 ap:0
> 
> drbdadm invalidate r0
> ioctl(,INVALIDATE,) failed: Operation now in progress

we disallow invalidation of a Primary for obvious reasons.
you only can invalidate a Secondary.
you can invalidate the Secondary from the Primary by saying
"invalidate_remote".

but why would you want to invalidate?
what do you expect this to solve?

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list