this.resourceInfo = resourceInfo;
this.blockDevInfos = Collections.unmodifiableList(blockDevInfos);
this.device = device;
hosts = getHostsFromBlockDevices(blockDevInfos);
setResource(new DrbdVolume(name));
getResource().setValue(DRBD_VOL_PARAM_DEV, new StringValue(device));
getResource().setNew(true);
}