Skip to content

Commit 98febf2

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

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ az batch location list-skus --location <azure-region>
3434
> or [Azure CLI](/cli/azure/batch/location#az-batch-location-list-skus).
3535
> For more information, see the [Batch best practices guide](best-practices.md) regarding Batch pool VM SKU selection.
3636
37-
Batch **doesn't** support any VM SKU sizes that have only remote storage. A local temporary disk is required for Batch.
38-
For example, Batch supports [ddv4 and ddsv4](/azure/virtual-machines/ddv4-ddsv4-series), but does not support
39-
[dv4 and dsv4](/azure/virtual-machines/dv4-dsv4-series).
40-
4137
### Using Generation 2 VM Images
4238

4339
Some VM series, such as [FX](/azure/virtual-machines/fx-series) and [Mv2](/azure/virtual-machines/mv2-series), can only be used
@@ -93,6 +89,9 @@ az batch pool supported-images list
9389
> [PowerShell](/powershell/module/az.batch/get-azbatchsupportedimage), or [Azure CLI](/cli/azure/batch/pool/supported-images).
9490
> For more information, see the [Batch best practices guide](best-practices.md) regarding Batch pool VM image selection.
9591
92+
> [!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).
94+
9695
## Next steps
9796

9897
- Learn about the [Batch service workflow and primary resources](batch-service-workflow-features.md) such as pools, nodes, jobs, and tasks.

articles/batch/files-and-directories.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ 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
43+
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.
45+
4246
## Next steps
4347

4448
- Learn about [error handling and detection](error-handling.md) in Azure Batch.

0 commit comments

Comments
 (0)