[DRBD-user] DRBD EXT4 LVM partition mount failed(bad geometry: block count)

Florian Haas florian.haas at linbit.com
Thu Mar 24 15:42:13 CET 2011

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


On 2011-03-23 11:03, Balaji wrote:
> Dear All,
> 
> Currently using RHEL6 Linux and Kernel Version is 2.6.32-71.el6.i686 and DRBD Version is 8.3.10 
> 
> DRBD is build from source and Configured DRBD with 2 Node testing with Simplex Setup
> Server 1 : 192.168.13.131 IP Address and hostname is primary
> Server 2 : 192.168.13.132 IP Address and hostname is secondary
> 
> Finally found that drbd0, drbd1 mount failed problem
> 
> *Found some error messages in "dmesg"*
> 
> block drbd0: role( Secondary -> Primary )
> block drbd1: role( Secondary -> Primary )
> EXT4-fs (drbd0): bad geometry: block count 5242880 exceeds size of device (5242711 blocks)
> EXT4-fs (drbd1): bad geometry: block count 2621440 exceeds size of device (2621351 blocks)

I guess you created your ext4 on your backing device, not on DRBD.
Presumably _after_ you created your DRBD metadata; otherwise "drbdadm
create-md" would have complained.

> 
> The drbd is output as below
> 
> [root at primary ~]# cat /proc/drbd
> version: 8.3.10 (api:88/proto:86-96)
> GIT-hash: 5c0b0469666682443d4785d90a2c603378f9017b build by root at primary.mydomain.com, 2011-03-22 11:27:11
>  0: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r----s
>     ns:0 nr:0 dw:0 dr:677 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:20970844
>  1: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r----s
>     ns:0 nr:0 dw:0 dr:1009 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:10485404
> [root at primary ~]#
>      
> I have search and findout the same problem and its solved (links as below)
> http://lists.linbit.com/pipermail/drbd-user/2009-October/012812.html
> 
> But in my case the problem is not solved (changed the meta-disk internal as flexible-meta-disk internal and tested)
> 
> Please find attached primary.zip file contains message log files and drbd configuration file for more analysis.
> 
> I don't know what is the problem and Can some one throw light on this peculiar problem
> 
> Please replay me ASAP.

If you need ASAP replies, perhaps buying support might not be a bad idea.

Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110324/d093fec7/attachment.pgp>


More information about the drbd-user mailing list