|| (!dtd.isDisconnected(getHost(), volumeInfo.getDrbdResourceInfo().getName())
&& getBlockDevice().isConnectedOrWF());
}
public boolean isDiskless(final Application.RunMode runMode) {
final DRBDtestData dtd = getDRBDtestData();
final VolumeInfo dvi = volumeInfo;
if (dtd != null && dvi != null && Application.isTest(runMode)) {
return dtd.isDiskless(getHost(), volumeInfo.getDevice())
|| (!dtd.isAttached(getHost(), volumeInfo.getDevice()) && getBlockDevice().isDiskless());
} else {
return getBlockDevice().isDiskless();
}
}