how to upload file in the azure page blob storage

Anonymous
2022-01-19T10:53:37.41+00:00

I have a student account. I am trying to upload the file into the azure page blob storage but It shows me an error
"The page blob size for IceCreamDataSet.csv file must be aligned to a 512-byte boundary. The current file size is 3693."

I am new in this domain so anyone guides me on how I will be able to upload this file.

Thank you in advance.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,420 questions
Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,529 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
668 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. KADIYALA, NAVEEN KUMAR 11 Reputation points
    2022-06-16T12:46:06.96+00:00

    How to fix the issue ""The page blob size for XXXXX.vhd.gz file must be aligned to a 512-byte boundary. The current file size is 6104023742."" Dont find an solution in your post.

    2 people found this answer helpful.
    0 comments No comments

  2. Sumarigo-MSFT 47,466 Reputation points Microsoft Employee Moderator
    2022-01-19T13:36:16.17+00:00

    @Anonymous Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    You are uploading the file more than 512 , It's not possible " to upload this file size(3693.)""
    Page blobs are made up of 512-byte pages up to 8 TB in total size and are designed for frequent random read/write operations. Page blobs are the foundation of Azure IaaS Disks. This article focuses on explaining the features and benefits of page blobs.

    Page blobs are a collection of 512-byte pages, which provide the ability to read/write arbitrary ranges of bytes. Hence, page blobs are ideal for storing index-based and sparse data structures like OS and data disks for Virtual Machines and Databases. For example, Azure SQL DB uses page blobs as the underlying persistent storage for its databases. Moreover, page blobs are also often used for files with Range-Based updates.

    In this quickstart, you learn how to use the Azure portal to create a container in Azure Storage, and to upload and download block blobs in that container.
    You can also upload using azcopy tool the easiest and fastest tool

    How to upload data to Azure - Upload to Page Blob

    Please let us know if you have any further queries. I’m happy to assist you further.

    ---------
    Please do not forget to 166395-screenshot-2021-12-10-121802.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.