Skip to content

Commit f2f1a23

Browse files
authored
Update swap file creation notes for large VMs
Added recommendations for creating smaller swap files on VMs with large temporary disks.
1 parent fd61ea3 commit f2f1a23

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

support/azure/virtual-machines/linux/create-swap-file-linux-vm.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ If the SWAP creation is configured in */etc/waagent.conf*, you must disable it.
4343
You can create a SWAP partition by using one of the following options.
4444
4545
> [!NOTE]
46-
> When a SWAP partition is created, a swap file is also created on it.
46+
> [A] On VM SKU's that have large temporary disks, it is highly recommended to change the variables below as an example to create a smaller files/swap partitions. In the examples below they can be very large for certain sizes, for example VM's that come with 2TB+ temporary disks.
47+
>
48+
> [B] When a SWAP partition is created, a swap file is also created on it.
4749
4850
<details>
4951
<summary>Option 1: Create a SWAP partition under the resource or custom disk path by using scripts</summary>

0 commit comments

Comments
 (0)