You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -145,15 +145,15 @@ You can mount an Azure file share on a Batch pool using [Azure PowerShell](/powe
145
145
146
146
When you mount an Azure file share to a Batch pool with PowerShell or Cloud Shell, you might receive the following error:
147
147
148
-
```text
148
+
```output
149
149
Mount Configuration Error | An error was encountered while configuring specified mount(s)
150
150
Message: System error (out of memory, cannot fork, no more loop devices)
151
151
MountConfigurationPath: S
152
152
```
153
153
154
154
If you receive this error, RDP or SSH to the node to check the related log files. The Batch agent implements mounting differently on Windows and Linux. On Linux, Batch installs the package `cifs-utils`. Then, Batch issues the mount command. On Windows, Batch uses `cmdkey` to add your Batch account credentials. Then, Batch issues the mount command through `net use`. For example:
155
155
156
-
```powershell
156
+
```powershell-interactive
157
157
net use S: \\<storage-account-name>.file.core.windows.net\<fileshare> /u:AZURE\<storage-account-name> <storage-account-key>
158
158
```
159
159
@@ -165,7 +165,7 @@ net use S: \\<storage-account-name>.file.core.windows.net\<fileshare> /u:AZURE\<
165
165
166
166
1. Review the error messages. For example:
167
167
168
-
```text
168
+
```output
169
169
CMDKEY: Credential added successfully.
170
170
171
171
System error 86 has occurred.
@@ -213,7 +213,7 @@ If you can't use RDP or SSH to check the log files on the node, check the Batch
213
213
214
214
1. Review the error messages. For example:
215
215
216
-
```text
216
+
```output
217
217
..20210322T113107.448Z.00000000-0000-0000-0000-000000000000.ERROR.agent.mount.filesystems.basefilesystem.basefilesystem.py.run_cmd_persist_output_async.59.2912.MainThread.3580.Mount command failed with exit code: 2, output:
218
218
219
219
CMDKEY: Credential added successfully.
@@ -235,7 +235,7 @@ If you're unable to diagnose or fix mounting errors with PowerShell, you can mou
235
235
236
236
1. Create a pool without a mounting configuration. For example:
0 commit comments