question

Soni-9294 avatar image
0 Votes"
Soni-9294 asked prmanhas-MSFT answered

Mount Azure File share on Azure Batch

Hello Team,

As part of startup task in Azure Batch pool, trying to mount Azure File Share through PowerShell scripts. As shown in below screen, stdout file of startup task shows successfully mounting the file

103921-image.png


However, When i try to access Z: driver in the application, it fails and also when i navigate to fsmounts, it empty

103798-image.png

Any inputs to debug the issue. On other hand, when i RDP to node, i could see only command prompt console, not any GUI.

Regards,
Soni


azure-batch
image.png (34.0 KiB)
image.png (18.4 KiB)
· 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.

@Soni-9294 Apologies for the delay in response and for the inconvenience caused because of the issue.

I have reached out to our team internally and will keep you posted once I have an update.

Thank you for your patience over the matter.

Thanks

1 Vote 1 ·

@prmanhas-MSFT - Thanks for attending this. Expecting some inputs by today. Thanks

0 Votes 0 ·

1 Answer

prmanhas-MSFT avatar image
0 Votes"
prmanhas-MSFT answered

@Soni-9294 Thank you for your patience over the matter.

I had discussion internally and below is the response I got from our internal team:

Are you manually mounting the share with a PowerShell file vs the built in support for azure file share in batch? https://docs.microsoft.com/en-us/azure/batch/pool-file-shares

If yes, I would try the built in support. If that isn’t working for you, my guess would be that the PowerShell is mounting the drive for the user/session that the start task is running but then your executable is running in a different session where the file share isn’t mounted.

Hope it helps!!!

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

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.