diff --git a/plugins/volume/org.xen.xapi.storage.zfs-vol/sr.py b/plugins/volume/org.xen.xapi.storage.zfs-vol/sr.py index 90615d7..63b74cd 100755 --- a/plugins/volume/org.xen.xapi.storage.zfs-vol/sr.py +++ b/plugins/volume/org.xen.xapi.storage.zfs-vol/sr.py @@ -135,8 +135,8 @@ def ls(self, dbg, sr): if is_snapshot: vol_name = zfsutils.zvol_find_snap_path(dbg, pool_name, vdi.volume.id) if vol_name is None: - # FIXME is there a way to return an error entry instead? - raise Exception("snapshot volume %s not found on disk" % (vdi.volume.id)) + log.error("snapshot volume %s not found on disk", vdi.volume.id) + continue else: vol_name = zfsutils.zvol_path(pool_name, vdi.volume.id) psize = zfsutils.vol_get_used(dbg, vol_name)