[DRBD-user] # /etc/init.d/drbd restart * Stopping DRBD ... [ ok ] * Starting DRBD ... ioctl(, SET_DISK_CONFIG, ) failed: Invalid argument Meta device too small. Command '/sbin/drbdsetup /dev/drbd0 disk /dev/hda3 internal -1' terminated with exit code 20 [ ok ]

Casey Allen Shobe lists at seattleserver.com
Sat Mar 4 14:07:25 CET 2006

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


# /etc/init.d/drbd start
 * Starting DRBD ...
ioctl(,SET_DISK_CONFIG,) failed: Invalid argument
Meta device too small.
Command '/sbin/drbdsetup /dev/drbd0 disk /dev/hda3 internal -1' terminated 
with exit code 20

Well, a glance at the man page tells me that meta-disk needs to be 128mb, but 
I partitioned these boxes intentionally to have a 100mb drbd partition to use 
just for config files and the like (mounted at /etc/cluster) that should be 
used for config files that need to be consistant between all machines in the 
cluster.

I'd really rather not pull out all 8 machines I set up this way and 
repartition them again, and as most of these only have 10GB disks, I'd rather 
not allocate any more space to a partition which will probably never hold 
more than 1MB anyways.

Is there a way I can reduce the size of the meta disk in drbd.conf?

Cheers,
-- 
Casey Allen Shobe | cshobe at seattleserver.com | 206-381-2800
SeattleServer.com, Inc. | http://www.seattleserver.com



More information about the drbd-user mailing list