can the path of source files be the same as the volume's location path?

Huang, Winston-HR 300 Reputation points
2024-12-20T03:33:25.1933333+00:00

hi friend,

I currently have multiple source files stored on SA (Storage Account) in a directory called /raw/, which also contains a subdirectory /raw/sub1/. When I create a volume, the location is also pointing to SA. Can this location path point to /raw/?

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,292 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,284 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Keshavulu Dasari 2,420 Reputation points Microsoft Vendor
    2024-12-20T04:18:48.9666667+00:00

    Hi Huang, Winston-HR ,
    Greetings & Welcome to Microsoft Q&A forum! Thanks for posting your query!
    Yes, the path of source files can be the same as the volume's location path. In your case, since you have multiple source files stored on your Storage Account in the /raw/ directory and its subdirectory /raw/sub1/, you can create a volume that points to the /raw/ path on the torage Account. This setup allows you to access the files in both /raw/ and /raw/sub1/ through the volume.
    To configure this, you need to ensure that the volume mount path is correctly set to /raw/ when you create the volume. This way, the volume will include all files and subdirectories within /raw/, including /raw/sub1/.


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members. 
    User's image
    If you have any other questions or are still running into more issues, let me know in the "comments" and I would be happy to help you


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.