Skip to content

Commit cb70dd4

Browse files
author
Xiyao Dong
committed
update comments
1 parent 98febf2 commit cb70dd4

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

articles/batch/batch-pool-vm-sizes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ az batch pool supported-images list
9090
> For more information, see the [Batch best practices guide](best-practices.md) regarding Batch pool VM image selection.
9191
9292
> [!TIP]
93-
> Batch Nodes' `AZ_BATCH_NODE_ROOT_DIR` depends on if VMSize support local temporary disk or not. To check the detail, see [Root directory location](files-and-directories.md#root-directory-location).
93+
> Batch Nodes' `AZ_BATCH_NODE_ROOT_DIR` depends on if VMSize support local temporary disk or not. To check the detail, see [Batch root directory location](files-and-directories.md#batch-root-directory-location).
9494
9595
## Next steps
9696

articles/batch/files-and-directories.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,16 @@ The root directory contains the following directory structure:
3939
> [!IMPORTANT]
4040
> When a node is removed from the pool, all of the files that are stored on the node are removed.
4141
42-
## Root directory location
42+
## Batch root directory location
4343

44-
Batch root directory location is different between different VMSizes. For VMSize which supports local temporary disk, `AZ_BATCH_NODE_ROOT_DIR` will be `D:\batch` in Windows and `/mnt/batch` or `/mnt/resource/batch` in Linux, for VMSize which doesn't support local temporary disk, `AZ_BATCH_NODE_ROOT_DIR` will be `C:\batch\data` in Windows and `/opt/batch/data` in Linux.
44+
The value of the `AZ_BATCH_NODE_ROOT_DIR` compute node environment variable will be determined by the VM size and the presence of a local temporary disk.
45+
46+
|Local Temporary Disk Present|Operating System Type|`AZ_BATCH_NODE_ROOT_DIR` Value|
47+
|:---|:---|:---|
48+
|No|Linux|`/opt/batch/data`|
49+
|Yes|Linux|`/mnt/batch` or `/mnt/resource/batch`|
50+
|No|Windows|`C:\batch\data`|
51+
|Yes|Windows|`D:\batch`|
4552

4653
## Next steps
4754

0 commit comments

Comments
 (0)