diff --git a/zxfer b/zxfer index 12ee686..b4f6d92 100755 --- a/zxfer +++ b/zxfer @@ -411,7 +411,7 @@ copy_snap() { echo "Estimated size is: ${SIZE_EST}" PROGRESS_DIALOG=$( echo "$option_D" | sed "s#%%size%%#$SIZE_EST#g" | \ sed "s#%%title%%#$copysrc#g" ) - $LZFS send "$copysrc" | dd obs=1m | dd bs=1m | $PROGRESS_DIALOG | \ + $LZFS send "$copysrc" | dd obs=1048576 | dd bs=1048576 | $PROGRESS_DIALOG | \ $RZFS receive $option_F "$copydest" || \ { echo "Error when zfs send/receiving."; beep; exit 1; } else @@ -422,7 +422,7 @@ copy_snap() { PROGRESS_DIALOG=$( echo $option_D | sed "s#%%size%%#$SIZE_EST#g" | \ sed "s#%%title%%#$copysrc#g" ) $LZFS send -nv "$copysrc" - echo "$LZFS send $copysrc | dd obs=1m | dd bs=1m | $PROGRESS_DIALOG | + echo "$LZFS send $copysrc | dd obs=1048576 | dd bs=1048576 | $PROGRESS_DIALOG | $RZFS receive $option_F $copydest" fi else @@ -443,7 +443,7 @@ copy_snap() { echo "Estimated size is: ${SIZE_EST}" PROGRESS_DIALOG=$( echo $option_D | sed "s#%%size%%#$SIZE_EST#g" | \ sed "s#%%title%%#$copysrc#g" ) - $LZFS send -i "$copyprev" "$copysrc" | dd obs=1m | dd bs=1m | \ + $LZFS send -i "$copyprev" "$copysrc" | dd obs=1048576 | dd bs=1048576 | \ $PROGRESS_DIALOG | $RZFS receive $option_F "$copydest" || \ { echo "Error when zfs send/receiving."; beep; exit 1; } else @@ -454,7 +454,7 @@ copy_snap() { PROGRESS_DIALOG=$( echo $option_D | sed "s#%%size%%#$SIZE_EST#g" | \ sed "s#%%title%%#$copysrc#g" ) $LZFS send -nv -i "$copyprev" "$copysrc" - echo "$LZFS send -i $copyprev $copysrc | dd obs=1m | dd bs=1m | \ + echo "$LZFS send -i $copyprev $copysrc | dd obs=1048576 | dd bs=1048576 | \ $PROGRESS_DIALOG | $RZFS receive $option_F $copydest" fi else