Skip to content

Commit 8492ecd

Browse files
Merge pull request #220920 from alfpark/patch-3
Update best-practices.md
2 parents 1749993 + 434c83a commit 8492ecd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

articles/batch/best-practices.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,13 @@ isn't supported and can lead to instability. If you require more disk space, con
203203
disk space that meets your requirements or [attaching data disks](/rest/api/batchservice/pool/add#datadisk). For more information, see the next
204204
section about attaching and preparing data disks for compute nodes.
205205

206+
> [!TIP]
207+
> When mounting a data disk in Linux, if nesting the disk mountpoint under the Azure temporary mount points such as `/mnt` or `/mnt/resource`,
208+
> care should be taken such that no dependency races are introduced. For example, if these mounts are automatically performed by the OS, there
209+
> can be a race between the temporary disk being mounted and your data disk(s) being mounted under the parent. Steps should be taken to
210+
> ensure that appropriate dependencies are enforced by facilities available such as `systemd` or defer mounting of the data disk to the start
211+
> task as part of your idempotent data disk preparation script.
212+
206213
### Attaching and preparing data disks
207214

208215
Each individual compute node will have the exact same data disk specification attached if specified as part of the Batch pool instance. Only

0 commit comments

Comments
 (0)