[DRBD-user] datadisk: ... : resynchronizing, NOT de-activated

Lars Ellenberg Lars.Ellenberg at linbit.com
Wed May 19 01:13:11 CEST 2004

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


/ 2004-05-18 17:50:51 -0500
\ Todd Denniston:
> Have I just missed something, or in the 6.10 version of datadisk is 
> 'datadisk: ... : resynchronizing, NOT de-activated'
> just the fallback something is wrong message???
> /proc/drbd looks to be showing that they are synced.
> 
> I know my first problem is to figure out how to make umount unmount the
> device, but the message at the end about resynchronizing worries me. I am
> trying to fallover from one machine to the other so I can update the packages
> including the kernel and drbd (to 6.12), and am now asking myself if it would
> be safe to issue the shutdown (forcing the unmount) and then let the other
> machine pick up (via heartbeat).  At least heartbeat on the other node stopped
> when it got to this device and I was able to fall it back the other way until
> I figure out what's up.
> 
> Any help understanding would be nice.
> 
> 
> #grep -e version -e ^1 /proc/drbd ;/etc/ha.d/resource.d/datadisk disk0 stop
> version: 0.6.10 (api:64/proto:62)
> 1: cs:Connected st:Primary/Secondary ns:818114288 nr:0 dw:102600808
> dr:1683356862 pe:0 ua:0
> datadisk: 'disk0' /dev/nb1 is mounted on /disk0, trying to unmount
> datadisk: 'disk0' trying to kill users of /dev/nb1
> datadisk: ERROR: fuser -k -m /dev/nb1 [1]:
> datadisk: ERROR: NO OUTPUT
> datadisk: ERROR: umount -v /dev/nb1 [1]:
> datadisk: ERROR: umount: /disk0: device is busy
> datadisk: ERROR: umount -v /dev/nb1 FAILED
> datadisk: 'disk0[/dev/nb1]': resynchronizing, NOT de-activated

iirc, we (I) got the message or error code wrong in 0.6.10.
you should use 0.6.12 anyways.
if 0.6.12 gives the same odd message, and you are sure that module, user
level tools and script are all up-to-date, report again.

if you want to try really hard, you can do something similar to
MNT=/disk0
retry=10
while (( --retry )); do
	grep -q " $MNT " /proc/mounts || break
	umount $MNT && break
	fuser -vm $MNT/
	fuser -skm $MNT/
	sleep 1
done
(( retry )) || exit 111 # SORRY... :(
# caution, this is may-or-may-not-do-what-I-mean-code,
# it is very late here in germany now ...

	Lars Ellenberg



More information about the drbd-user mailing list