cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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. 🙂

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group