[DRBD-user] drbd-0.7.6-3 drbdsetup does not accept on-disconnect=freeze_io

Christian Kowarzik ckowarzik at email.de
Tue Dec 14 11:34:32 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.


Hi all

I am using drbd-0.7.6-3 on
kernel-2.4.21-20.EL (RedHat Enterprise Linux ES3).

I am building a cluster with heartbeat and drbd.

In the case the net-link between my two drbd-nodes fail, I want to do a 
failover.
The application on the secondary node then should see the same data than 
the primary did before.

So I configured net { on-disconnect freeze_io; } in my /etc/drbd.conf.

But, when I do 'drbdadm up all' I get the following error:

drbdsetup: 'freeze_io' is an invalid on-disconnect handler.
Command '/sbin/drbdsetup /dev/drbd0 net 192.168.4.22:7789 
192.168.4.21:7789 C --on-disconnect=freeze_io' terminated with exit code 20
drbdsetup exited with code 20

Whats the reason? Any typos? Wrong way to archieve this?

Thanks for your help.

Chris



More information about the drbd-user mailing list