'Create a volume on given Quobyte volume.
:param volume: volume reference'

def _do_create_volume(self, volume):

    volume_path = self.local_path(volume)
    volume_size = volume.size
    if self.configuration.quobyte_qcow2_volumes:
        self._create_qcow2_file(volume_path, volume_size)
    elif self.configuration.quobyte_sparsed_volumes:
        self._create_sparsed_file(volume_path, volume_size)
    else:
        self._create_regular_file(volume_path, volume_size)
    self._set_rw_permissions_for_all(volume_path)
