Skip to contentSkip to conversation

Minor drbd 0.7 bugs

Drbd-dev Lars Marowsky-Bree 1 participant 1 message Jan 26, 2007 DRBD driver

lore
Share & tools
lore
#0 lore raw

Hi,

I played around with drbd0.7 and heartbeat on a lonely train ride yesterday ;-)

- drbdadm disconnect seems to also demote a primary; I'd expect it to just disconnect it from the secondary?

- freeze_io doesn't seem to work. It freezes the Xen guest completely, not just the IO. My expectation would have been for it to freeze io, until either reconnected or explicitly told to disconnect and go to standalone mode?

- drbdadm primary does not bubble up errors from drbdsetup.

ioctl(,SET_STATE,) failed: Permission denied
Partner is already primary
Command '/sbin/drbd setup /dev/drbd0 primary' terminated with exit code 20 drbdadm aborting

Still, drbdadm returned with exit code 0.

Sincerely,
Lars

Signature · 3 lines
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business	 -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge."