Closed rutsky closed 7 years ago
I tested those changes with creating and uploading 512 GiB VHD to Premium Storage Account: it took about 27 minutes (most of the time took "Uploading" step):
--- Create raw disk ---
Formatting 'image.raw', fmt=raw size=549755813888
--- Format disk ---
meta-data=./image.raw isize=512 agcount=4, agsize=33554432 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=0
data = bsize=4096 blocks=134217728, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal log bsize=4096 blocks=65536, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
--- Convert to vhd ---
--- Upload ---
Computing MD5 Checksum..
Completed: 99% RemainingTime: 00h:00m:00s Throughput: 4153 MB/sec
Detecting empty ranges..
Empty ranges : 262140/262145
Effective upload size: 8.00 MB (from 524288.00 MB originally)
Uploading the VHD..
Completed: 100% [ 8.00 MB] RemainingTime: 00h:00m:00s Throughput: 0 Mb/sec
Upload completed
I pushed prebuilt version to rutsky/azure-create-vhd if anyone wants to test it before merging.
oooh, thanks for the PR @rutsky. I'll take a look over the weekend :)
and... with updated image: https://hub.docker.com/r/jpoon/azure-create-vhd/
Fixes #1
In addition to xfs support I bumped alpine base image version in order to fix following error during Docker image building:
and update Azure dependencies in order to fix following error during Docker image building:
Looks like MS splitted/renamed/moved depended packages and utilities.