cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Mounting an Azure Storage Account in a cluster init script?

GoldenTuna
New Contributor II

We are trying to configure our environment so when our cluster starts up, it checks to see if we have mounted our Azure storage account container and if is not, mount it. We can do this fine in a notebook however have no luck doing this through an init script. Does anyone have any direction here on how to perform this? Does having this as a global or cluster specific matter? Also, does anyone have any knowledge on if we mount a directory, regardless of through a notebook or init script, how long it stays mounted for? Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

Anonymous
Not applicable

A mounted directory should stay there until you unmount it or delete the workspace. They don't have an expiration.

View solution in original post

5 REPLIES 5

Anonymous
Not applicable

A mounted directory should stay there until you unmount it or delete the workspace. They don't have an expiration.

They don't get unmounted when turning off the cluster?

Anonymous
Not applicable

No, they are part of the workspace and file system. The clusters are ephemeral

Thanks so much for your help!!!!

Anonymous
Not applicable

@David Kruetzkamp​ - Would you be happy to mark whichever answer helped the most as best? That will help other members find the solution more quickly. 🙂

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.