-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue porting page-blob to blockblob #116
Comments
For your information: I've worked around the issue using "azcopy" instead of blobporter. |
Hi all! And i got same error
|
I've also had a similar issue, but in my case it's documentation related. Long story-short, it appears converting from page blobs to block blobs is only possible within the same storage account and for a whole container from one container to another: Example - this works:
Example - this fails:
|
Scenario:
(later I want to do that on several TB of VHDX that I've uploaded)
The command I tried (with some confidential info removed):
blobporter -f "https://saMyAccount.blob.core.windows.net/system20211012/Part1/Backup%202021-10-12%20073026/complexID.vhdx" -n Part1/Backup%202021-10-12%20073026/complexID.vhdx.removeExtension -c system20211012 -t blob-blockblob
Issue (with some confidential info removed):
Files to Transfer (blob-blockblob) :
Source: saMyAccount.blob.core.windows.net/system20211012/Part1/Backup 2021-10-12 073026/complexID.vhdx Size:306184192
2021/11/12 16:08:13 -> github.com/Azure/azure-storage-blob-go/azblob.NewResponseError, /home/travis/gopath/pkg/mod/github.com/!azure/[email protected]/azblob/zz_generated_response_error.go:29
= RESPONSE ERROR (ServiceCode=InvalidBlobType) =
Description=The blob type is invalid for this operation.
RequestId:975a66aa-301e-015d-40d7-d72bfe000000
Time:2021-11-12T15:08:13.1203140Z, Details:
Code: InvalidBlobType
PUT https://saMyAccount.blob.core.windows.net/system20211012/Part1/Backup 2021-10-12 073026/complexID.vhdx?blockid=MD...someid...3D&comp=block&timeout=61
Authorization: REDACTED
Content-Length: [0]
User-Agent: [BlobPorter/0.6.20/amd64/Azure-SDK-For-Go/0.0.0 azblob/2018-03-28 Azure-Storage/0.5 (go1.11; Windows_NT)]
X-Ms-Client-Request-Id: [ad501250-2412-481d-6b73-cdcc3ddcc887]
X-Ms-Copy-Source: [saMyAccount.blob.core.windows.net/system20211012/Part1/Backup 2021-10-12 073026/complexID.vhdx?se=2021-11-12t21%3A08%3A12z&sig=REDACTED&sp=r&sr=b&sv=2018-03-28]
X-Ms-Date: [Fri, 12 Nov 2021 15:08:12 GMT]
X-Ms-Source-Range: [bytes=260046848-268435455]
X-Ms-Version: [2018-03-28]
RESPONSE Status: 409 The blob type is invalid for this operation.
Content-Length: [228]
Content-Type: [application/xml]
Date: [Fri, 12 Nov 2021 15:08:12 GMT]
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
X-Ms-Error-Code: [InvalidBlobType]
X-Ms-Request-Id: [975a66aa-301e-015d-40d7-d72bfe000000]
X-Ms-Version: [2018-03-28]
Analysis:
Any suggestions?
Thanks,
Johan
The text was updated successfully, but these errors were encountered: