X-Git-Url: http://git.datanom.net/omvzfs.git/blobdiff_plain/4b7ce26629a9ab67bef9eb41513a5b08bd833cd9..67b3738d3d9a7cd2befda8b695411383015a481d:/src/Zvol.php diff --git a/src/Zvol.php b/src/Zvol.php index aea0ca2..fb86eeb 100644 --- a/src/Zvol.php +++ b/src/Zvol.php @@ -69,7 +69,7 @@ class OMVModuleZFSZvol { $zvol_exists = false; } if ($zvol_exists) { - $cmd = "zfs list -r -o name -H -t snapshot " . $name . " 2>&1"; + $cmd = "zfs list -r -d 1 -o name -H -t snapshot " . $name . " 2>&1"; $this->exec($cmd, $out2, $res2); foreach ($out2 as $line2) { $this->snapshots[$line2] = new OMVModuleZFSSnapshot($line2);