[DRBD-user] Low.dev. smaller than requested DRBD-dev. size.

Lars Ellenberg Lars.Ellenberg at linbit.com
Tue Sep 5 11:52:52 CEST 2006

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


/ 2006-09-05 01:41:43 +0300
\ Cyril Bouthors:
> Hi,
> 
> I'm constantly having the same problem with DRBD:
> 
> 22:35 root at nfsb2:~# /etc/init.d/drbd  start
> Starting DRBD resources:    [ d0 ioctl(,SET_DISK_CONFIG,) failed: Invalid argument
> Low.dev. smaller than requested DRBD-dev. size.
> 
> cmd /sbin/drbdsetup /dev/drbd0 disk /dev/md0 internal -1  failed!
> 22:35 root at nfsb2:~#
> ==> /var/log/kern.log <==
> Sep  4 22:35:14 nfsb2 kernel: drbd: initialised. Version: 0.7.21 (api:79/proto:74)
> Sep  4 22:35:14 nfsb2 kernel: drbd: SVN Revision: 2326 build by root at sarge, 2006-08-31 20:37:19
> Sep  4 22:35:14 nfsb2 kernel: drbd: registered as block device major 147
> Sep  4 22:35:14 nfsb2 kernel: drbd0: Adjusting my ra_pages to backing device's (32 -> 64)
> Sep  4 22:35:14 nfsb2 kernel: klogd 1.4.1, ---------- state change ----------
> Sep  4 22:35:14 nfsb2 kernel: No module symbols loaded - kernel modules not enabled.

monolithic?
well, a matter of taste, anyways...

> Sep  4 22:35:14 nfsb2 kernel: drbd0: Lower device smaller than last agreed size!
> Sep  4 22:35:14 nfsb2 kernel: drbd0: drbdsetup [12507]: cstate Unconfigured --> Unconfigured
> 
> ==> /var/log/daemon.log <==
> Sep  4 22:35:14 nfsb2 udev[12494]: creating device node '/dev/drbd0'
> 
> 22:35 root at nfsb2:~# cat /etc/drbd.conf
> resource big {
>   protocol A;
> 
>   startup {
>     wfc-timeout 5;
>     degr-wfc-timeout 5;


it is a bad idea to have such short timeouts.
at least allow a minute or so.
unless you have a good reason why you do not care.

>   }
> 
>   syncer {
>     rate 10M;
>   }
> 
>   on nfsb2 {
>     device     /dev/drbd0;
>     disk       /dev/md0;
>     address    10.0.4.2:7788;
>     meta-disk  internal;
>   }
> 
>   on nfsa2 {
>     device     /dev/drbd0;
>     disk       /dev/md0;
>     address    10.0.3.2:7788;
>     meta-disk  internal;
>   }
> }
> 22:35 root at nfsb2:~# cat /proc/drbd
> version: 0.7.21 (api:79/proto:74)
> SVN Revision: 2326 build by root at sarge, 2006-08-31 20:37:19
>  0: cs:Unconfigured
> 22:37 root at nfsb2:~#
> 
> I tried to 'dd if=/dev/zero of=/dev/md0' with no more success.
> 
> There's nothing in the logs of the other DRBD node.
> 
> The same thing happens even if the ether node is down.
> 
> Any idea?

well, what _is_ the size of md0 ?

-- 
: 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