[DRBD-user] Error when trying to mount drbd partition : 'Bad geometry: block count xxx exceeds size of device'

clipclop clipclopnz at gmail.com
Sat Oct 10 11:29:06 CEST 2009

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



>> After changing the meta-disk option to "flexible-meta-disk" , issues now
>> resolved.
>>
>> As storage in the Terabytes becomes more common perhaps DRBD in the
>> future
>> could warn about meta-data size if a large partition is detected. 

>Unfortunately, that is not easily possible at meta data creation.
>We _do_ warn, however, on _attach_.
>You should find a message like
>"truncating very big lower level device to currently
> maximum possible <some large number> sectors"
>
>If not, please tell me, and I double check that warning.


I didn't see the message you describe; following is the full log during DRBD
startup for your reference :

Sep 30 01:20:32 localhost kernel: drbd: initialized. Version: 8.3.3rc2
(api:88/proto:86-91)
Sep 30 01:20:32 localhost kernel: drbd: GIT-hash:
04b2f175d7076ef2e0dd7d5ba6f6843357a041ed build by root at NOIR, 2009-09-29
09:41:48
Sep 30 01:20:32 localhost kernel: drbd: registered as block device major 147
Sep 30 01:20:32 localhost kernel: drbd: minor_table @ 0xffff88011b47d000
Sep 30 01:20:32 localhost kernel: block drbd0: Starting worker thread (from
cqueue [7392])
Sep 30 01:20:32 localhost kernel: block drbd0: disk( Diskless -> Attaching )
Sep 30 01:20:32 localhost kernel: block drbd0: No usable activity log found.
Sep 30 01:20:32 localhost kernel: block drbd0: Method to ensure write
ordering: barrier
Sep 30 01:20:32 localhost kernel: block drbd0: Backing device's
merge_bvec_fn() = ffffffff813a1616
Sep 30 01:20:32 localhost kernel: block drbd0: max_segment_size ( = BIO size
) = 4096
Sep 30 01:20:32 localhost kernel: block drbd0: drbd_bm_resize called with
capacity == 8587575296
Sep 30 01:20:32 localhost kernel: block drbd0: resync bitmap:
bits=1073446912 words=16772608
Sep 30 01:20:32 localhost kernel: block drbd0: size = 4095 GB (4293787648
KB)
Sep 30 01:20:32 localhost kernel: block drbd0: Writing the whole bitmap,
size changed
Sep 30 01:20:33 localhost kernel: block drbd0: 4095 GB (1073446912 bits)
marked out-of-sync by on disk bit-map.
Sep 30 01:20:34 localhost kernel: block drbd0: recounting of set bits took
additional 170 jiffies
Sep 30 01:20:34 localhost kernel: block drbd0: 4095 GB (1073446912 bits)
marked out-of-sync by on disk bit-map.
Sep 30 01:20:34 localhost kernel: block drbd0: disk( Attaching ->
Inconsistent )
Sep 30 01:20:34 localhost kernel: block drbd0: conn( StandAlone ->
Unconnected )
Sep 30 01:20:34 localhost kernel: block drbd0: Starting receiver thread
(from drbd0_worker [26212])
Sep 30 01:20:34 localhost kernel: block drbd0: receiver (re)started
Sep 30 01:20:34 localhost kernel: block drbd0: conn( Unconnected ->
WFConnection )
Sep 30 01:20:45 localhost kernel: block drbd0: conn( WFConnection ->
Disconnecting )
Sep 30 01:20:45 localhost kernel: block drbd0: Discarding network
configuration.
Sep 30 01:20:45 localhost kernel: block drbd0: Connection closed
Sep 30 01:20:45 localhost kernel: block drbd0: conn( Disconnecting ->
StandAlone )
Sep 30 01:20:45 localhost kernel: block drbd0: receiver terminated
Sep 30 01:20:45 localhost kernel: block drbd0: Terminating receiver thread
Sep 30 01:21:25 localhost kernel: block drbd0: role( Secondary -> Primary )
disk( Inconsistent -> UpToDate )
Sep 30 01:21:25 localhost kernel: block drbd0: Forced to consider local data
as UpToDate!
Sep 30 01:21:25 localhost kernel: block drbd0: Creating new current UUID
Sep 30 01:22:22 localhost kernel: EXT4-fs: bad geometry: block count
1451919360 exceeds size of device (1073446912 blocks)
Sep 30 01:22:42 localhost kernel: block drbd0: role( Primary -> Secondary )
Sep 30 01:22:42 localhost kernel: block drbd0: disk( UpToDate -> Diskless )
Sep 30 01:22:42 localhost kernel: block drbd0: drbd_bm_resize called with
capacity == 0
Sep 30 01:22:42 localhost kernel: block drbd0: worker terminated
Sep 30 01:22:42 localhost kernel: block drbd0: Terminating worker thread
Sep 30 01:22:42 localhost kernel: drbd: module cleanup done.


Cheers
Simon Carey-Smith
CCIF France

-- 
View this message in context: http://www.nabble.com/Error-when-trying-to-mount-drbd-partition-%3A-%27Bad-geometry%3A-block-count-xxx-exceeds-size-of-device%27-tp25779479p25832487.html
Sent from the DRBD - User mailing list archive at Nabble.com.




More information about the drbd-user mailing list