[DRBD-user] [PATCH][drbd-0.7.6] check for proc-fs entry on rc script shutdown

Roberto Nibali ratz at tac.ch
Wed Dec 22 14:16:35 CET 2004

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


> Well, you patch would apply to 0.7.5 . Since 0.7.6 it
> looks like this:
> 
>     stop)
>  echo -n "Stopping all DRBD resources"
>  if [ -e $PROC_DRBD ] ; then
>   $DRBDADM down all
>   $RMMOD drbd
>  fi
>  [ -f /var/lock/subsys/drbd ] && rm /var/lock/subsys/drbd
>  echo "."
>  ;;
> 
> ...which makes the stop command idempotent.

Indeed.

When I created our internal package 0.7.5 was the released version and I patched 
it on top of it. We are now using the 0.7.6 version of the kernel module and the 
user space binaries but we still take the 0.7.5 version of drbddisk plus this 
patch on top. I'll change now.

Thanks for your time,
Roberto Nibali, ratz
-- 
-------------------------------------------------------------
addr://Rathausgasse 31, CH-5001 Aarau  tel://++41 62 823 9355
http://www.terreactive.com             fax://++41 62 823 9356
-------------------------------------------------------------
terreActive AG                       Wir sichern Ihren Erfolg
-------------------------------------------------------------



More information about the drbd-user mailing list