File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
support/azure/virtual-machines/linux Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 11---
22title : Create a SWAP file for an Azure Linux VM
33description : Describes how to create a SWAP file for an Azure Linux VM.
4- ms.date : 09/15 /2025
4+ ms.date : 10/22 /2025
55ms.service : azure-virtual-machines
6- ms.custom : sap:VM Admin - Linux (Guest OS) , linux-related-content
6+ ms.custom : sap:Assistance with disk operations , linux-related-content
77ms.collection : linux
8- ms.author : mabicca
9- author : mabicca
10- ms.reviewer : v-weizhu
8+ ms.author : jarrettr
9+ author : JarrettRenshaw
10+ ms.reviewer : mabicca
1111---
1212
1313# Create a SWAP partition for an Azure Linux VM
@@ -87,7 +87,7 @@ You can create a SWAP partition by using one of the following options.
87871. Make the script executable:
8888
8989 ```bash
90- chmod +x /var/lib/cloud/scripts/per-boot/swap.sh
90+ sudo chmod +x /var/lib/cloud/scripts/per-boot/swap.sh
9191 ```
9292
93931. Stop and start the VM. Stopping and starting the VM is only necessary the first time after you create the SWAP file.
Original file line number Diff line number Diff line change 1+ items :
12- name : Welcome
23 href : welcome-virtual-machines-linux.yml
34
262263 href : convert-mbr-partition-to-gpt.md
263264 - name : VHD is not supported when you create a VM in Azure
264265 href : ../windows/vhd-not-supported-vm-azure.md?context=/troubleshoot/azure/virtual-machines/linux/context/context
266+ - name : Create a SWAP file
267+ href : create-swap-file-linux-vm.md
265268
266269- name : Linux administration
267270 items :
268271 - name : Configure multiple NICs
269272 href : linux-vm-multiple-virtual-network-interfaces-configuration.md
270- - name : Create a SWAP file
271- href : create-swap-file-linux-vm.md
272273 - name : Maximum RAM memory of Linux VM
273274 href : max-linux-ram-limited-64-gb.md
274275 - name : Configure custom DNS servers
You can’t perform that action at this time.
0 commit comments