search for: clonedir

Displaying 1 result from an estimated 1 matches for "clonedir".

2024 Feb 15
1
tests for clone-dest
...chdir/mnt/1/a bs=4K count=1 status=none # sometimes the extents get cached, sycn helps write them to disk sync $scratchdir/mnt/1/a cp --reflink=never $scratchdir/mnt/1/a $scratchdir/mnt/1/b sync $scratchdir/mnt/1/b cp --reflink=never $scratchdir/mnt/1/a $scratchdir/mnt/3/a sync $scratchdir/mnt/3/a clonedir=$(realpath $scratchdir/mnt/3) checkit "$RSYNC -a --clone-dest='$clonedir' '$scratchdir/mnt/1/' '$scratchdir/mnt/2/'" "$scratchdir/mnt/1/" "$scratchdir/mnt/2/" sync $scratchdir/mnt/2/a sync $scratchdir/mnt/2/b # check the extents are the same...