How to create a folder in a blob container by using linux commands ?`

Roy 46 Reputation points
2022-03-25T22:13:10.373+00:00

Hi Team,

I have mounted a blobfuse container in one of ubuntu 18 VM

i would like to create a directory in /mycontainer mounted in a VM, i am unable to create a folder.

i tried using a command mkdir test folder , but unfortunately in the azure portal, I cant able see a file called test folder, not have a folder or directory.

for reference link:
https://learn.microsoft.com/en-us/azure/storage/blobs/storage-how-to-mount-container-linux

Any suggestion here will be helpful to achieve here.

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
771 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
System Center Operations Manager
System Center Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,603 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,192 questions
Microsoft 365 and Office Skype for Business Linux
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Roy 46 Reputation points
    2022-04-01T17:56:32.633+00:00

    Hi

    I have enabled the ADLS hierarchal namespace for the storage account, post that I am able to create a directory/folder in a blob container by using a commands Linux in VM.

    And able to see the created folder in the blob container.

    1 person found this answer helpful.
    0 comments No comments

  2. Vidya Narasimhan 2,126 Reputation points Microsoft Employee
    2022-03-26T07:23:59.43+00:00

    @Roy can you please download the storage explorer and check the directory structure there? https://azure.microsoft.com/en-us/features/storage-explorer/
    Assuming you are not using ADLS storage, the virtual directory structure in portal is visible only when a file has been added/uploaded. You can also try adding a file to the directory you created and then check if the portal shows the directory and the file.


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.