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

Cyril Bouthors cyril at bouthors.org
Tue Sep 5 00:41:43 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.


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.
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;
  }

  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?
-- 
Cyril Bouthors
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20060905/88b0ee34/attachment.pgp>


More information about the drbd-user mailing list