$ cat events2-device-create-destroy.msgs | drbdsetup_events2_instrumented; echo $?
exists -
create resource name:some-resource role:Secondary suspended:no force-io-failures:no may_promote:no promotion_score:0
create device name:some-resource volume:0 minor:1000 backing_dev:none disk:Diskless client:no quorum:yes
create device name:some-resource volume:1 minor:1001 backing_dev:none disk:Diskless client:no quorum:yes
destroy device name:some-resource volume:1
destroy device name:some-resource volume:0
create device name:some-resource volume:0 minor:1000 backing_dev:none disk:Diskless client:no quorum:yes
create device name:some-resource volume:1 minor:1001 backing_dev:none disk:Diskless client:no quorum:yes
destroy device name:some-resource volume:0
destroy device name:some-resource volume:1
create device name:some-resource volume:1 minor:1001 backing_dev:none disk:Diskless client:no quorum:yes
create device name:some-resource volume:0 minor:1000 backing_dev:none disk:Diskless client:no quorum:yes
destroy device name:some-resource volume:1
destroy device name:some-resource volume:0
create device name:some-resource volume:1 minor:1001 backing_dev:none disk:Diskless client:no quorum:yes
create device name:some-resource volume:0 minor:1000 backing_dev:none disk:Diskless client:no quorum:yes
destroy device name:some-resource volume:0
destroy device name:some-resource volume:1
destroy resource name:some-resource
0
