[DRBD-user] Error execution in drbddisk

Joao Paulo jpsb at femanet.com.br
Thu Nov 13 02:47:27 CET 2008

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


Hi
When I try to execute drbd through heartbeat using script 
/usr/local/etc/ha.d/ha.d\resource.d/drbddisk I got the following message:
 
modprobe drbd
/usr/local/etc/ha.d/ha.d\resource.d/drbddisk all start
/dev/drbd0: Failure: (127) Device minor not allocated
Command '/sbin/drbdsetup /dev/drbd0 primary' terminated with exit code 10
/dev/drbd1: Failure: (127) Device minor not allocated
Command '/sbin/drbdsetup /dev/drbd1 primary' terminated with exit code 10
 
Why is that?
 
My haresources is:
 
servidor1 IPaddr::192.168.100.5 drbddisk
Filesystem::/dev/drbd0::/home::reiserfs Filesystem::/dev/drbd1::/u::reiserfs
apache samba
 
What should I do to execute drbd if when I use the commands below it works. 
 
modprobe drbd
/sbin/drbdadm up all
/usr/local/etc/ha.d/ha.d\resource.d/drbddisk all start
 
Should I add: /sbin/drbdadm up all in my script drbddisk ?
 
thanks
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20081112/2ec27498/attachment.htm>


More information about the drbd-user mailing list