question

SimonMing avatar image
0 Votes"
SimonMing asked SumanthMarigowda-MSFT commented

Azure Storage Account & Container size

Hi

We created a standard general purpose v2 - hot tier storage account, with a container.
When mapped the blob to linux VM, its showing that it has only 40224552 in size.

Reading Microsoft article, Azure storage account / container should have a much larger size by default.
Please shed some light why not seeing the block blob size of 4.75TB?

Thank you


azure-storage-accounts
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@SimonMing For better understating the issue: Can you share the screenshot where are you seeing 40224552 in size.
137274-image.png

You can also Calculate the size/capacity of storage account and it services (Blob/Table)

You can use Get Azure Storage Size using PowerShell | Get Azure Storage Capacity using PowerShell

There's a Calculate size on Azure portal, right click on our container and click Container properties, we can see panel as below.

137149-image.png


Scale targets for Blob storage


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


Please do not forget to 137303-image.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


0 Votes 0 ·
image.png (28.3 KiB)
image.png (40.3 KiB)
image.png (1.1 KiB)

Hi Sumarigo-MSFT, thanks for the info.

When mount the blob container to a VM, this is what's showing:

df -k
blobfuse 40223552 7035324 33188228 18% /xx/co_azure_private

May i know if 40223552, Is this in KB, or MB?

thank you


0 Votes 0 ·

1 Answer

SumanthMarigowda-MSFT avatar image
0 Votes"
SumanthMarigowda-MSFT answered SumanthMarigowda-MSFT commented

@SimonMing Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

Azure Blob fuse : df command for mounted directory does not tell the total amount of data stored in your storage container, rather it just tells the disk usage where the temp directory resides i.e. your local disk or ramdisk. Temp directory in case of blobfuse is just a caching directory where files are cached for some time and then wiped out.

Does Blob fuse provide the r total size of my azure storage mounted ?

Sorry but blobfuse can not help in that. Blobfuse only mounts a container from your storage account. Azure Portal has some option for this. You can follow below link if it helps answering your query -
https://techcommunity.microsoft.com/t5/azure-paas-blog/calculate-the-size-capacity-of-storage-account-and-it-services/ba-p/1064046

Additional information: --cache-size-mb=1000 : option to setup the cache-size in MB. Default will be 80% of the available memory, eviction will happen beyond that. Use this option to lower the cache size or increase it. This option is only available after version 1.3.1.

-block-size-mb=16 : Size (in MB) of a block to be downloaded during streaming. If configured block-size is <= 64MB then block will be downloaded in a single thread. For higher block size parts of it will be downloaded in parallel. "--max-concurrency" parameter can be used to control parallelism factor. When higher block size is configured, memory usage of blobfuse will be high as these blocks are cached in memory only.


Please do not forget to 140540-image.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.



image.png (1.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.