X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;ds=sidebyside;f=zfs-replicate;h=8b53d1fb0d4e7a53f4475778cb21c02fc4047251;hb=refs%2Fheads%2Fmaster;hp=83acdd13280e2cdb2ab99aa04c3796b0c18e4bed;hpb=8ad591aa738e0945f076a2ed28d3444177d202d4;p=zfs-nexenta%2F.git diff --git a/zfs-replicate b/zfs-replicate index 83acdd1..8b53d1f 100755 --- a/zfs-replicate +++ b/zfs-replicate @@ -1,4 +1,4 @@ -#/bin/bash +#!/bin/bash # Author: Carl Baldwin & Alan Pippin # Description: This script replicates a remote zfs filesystem to a local zfs pool. @@ -92,7 +92,7 @@ set -x # Create the remote lockdir before continuing with the replicate # Spinlock on creating the lock maxsleeptime=60 -maxattempts=400 +maxattempts=500 attempts=0 while true; do ssh $remote mkdir "$lockdir" >/dev/null 2>&1