From 5fa92fa8cb98c93099ea7d19cee20ab8b2bd562f Mon Sep 17 00:00:00 2001 From: Jim Salter Date: Wed, 3 May 2017 15:02:10 -0400 Subject: [PATCH] don't accidentally pick up snapshots when getting child datasets --- syncoid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncoid b/syncoid index 35161e8..2d7ea16 100755 --- a/syncoid +++ b/syncoid @@ -105,7 +105,7 @@ sub getchilddatasets { if ($isroot) { $mysudocmd = ''; } else { $mysudocmd = $sudocmd; } if ($rhost ne '') { $rhost = "$sshcmd $rhost"; } - my $getchildrencmd = "$rhost $mysudocmd $zfscmd list -o name -t filesystem -Hr $fs |"; + my $getchildrencmd = "$rhost $mysudocmd $zfscmd list -o name -t filesystem,volume -Hr $fs |"; if ($debug) { print "DEBUG: getting list of child datasets on $fs using $getchildrencmd...\n"; } open FH, $getchildrencmd; my @children = ;