Package: drbd
 Version: drbd0.7-utils  0.7.10-2

# uname -a
Linux srv1.polycnrs-gre.fr 2.6.11.5 #1 Fri Mar 25 15:16:57 CET 2005 i686 GNU/Linux


Sometime, when I launch '/etc/init.d/drbd stop' I got :
Stopping all DRBD resources
Can not exec Command './drbdsetup /dev/drbd0 down' terminated with exit code 20
drbdsetup exited with code 20
ERROR: Module drbd is in use


I suggest this modification :

# diff /etc/init.d/drbd_original  /etc/init.d/drbd_new
96c96
<               $DRBDADM down all
---
>               $DRBDADM -s /sbin/drbdsetup down all

best regards
daniel




-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to