-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Description
Either I cannot find out how to do it, or az storage blob download does not seem to take advantage of sparse files.
Downloading a vm os disk snapshot of 30GB, containing only about 1.7GB of data takes more than 60 minutes while azcopy downloads the same file in 7 minutes.
The only reference to something like this in the documentation is --max-connections:
--max-connections : ...
...
This may also be useful if many blobs are expected to be empty
as an extra request is required for empty blobs if
max_connections is greater than 1. Default: 2.
However, setting max-connections to 1 does not seem to make a difference to using the default of 2.
Am I doing something wrong?
Environment summary
Tried in two different environments, mac os:
$ echo $SHELL
zsh
$ brew install azure-cli
...
$ az --version
azure-cli (2.0.28)
...
Python location '/usr/local/opt/python/bin/python3.6'
Extensions directory '/Users/d064064/.azure/cliextensions'
Python (Darwin) 3.6.4 (default, Mar 1 2018, 18:36:50)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)]
Also using docker image (on linux)
docker run --rm -it microsoft/azure-cli:2.0.28 bash
Reactions are currently unavailable