You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/enable-nvme-faqs.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ sections:
61
61
How can I launch a VM with the NVMe interface?
62
62
answer: |
63
63
NVMe can be enabled during VM creation using various methods such as: Azure portal, CLI, PowerShell, and ARM templates. To create an NVMe VM, you must first enable the NVMe option on a VM and select the NVMe controller disk type for the VM. Note that the NVMe diskcontrollertype can be enabled during creation or updated to NVMe when the VM is stopped and deallocated, provided that the VM size supports NVMe.
64
-
### Azure portal View
64
+
### Azure portal view
65
65
66
66
1. Add Disk Controller Filter. To find the NVMe eligible sizes, select **See All Sizes**, select the **Disk Controller** filter, and then select **NVMe**:
67
67
@@ -75,7 +75,7 @@ sections:
75
75
76
76
:::image type="content" source="./media/enable-nvme/azure-portal-3.png" alt-text="Screenshot of instructions to review and verify features enablement.":::
Copy file name to clipboardExpand all lines: articles/virtual-machines/enable-nvme-temp-faqs.yml
+39-39Lines changed: 39 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -62,19 +62,19 @@ sections:
62
62
### GUI
63
63
>[!TIP]
64
64
> Note: The GUI example below is meant for illustrative purposes. It is recommended that scripts be created to automate this workflow for production deployments.
65
-
- Press the **Windows key + R** to open the Run dialog box. Type **diskmgmt.msc** and press **Enter**.
65
+
1. Press the **Windows key + R** to open the Run dialog box. Type **diskmgmt.msc** and press **Enter**.
66
66
:::image type="content" source="./media/enable-nvme/nvme-temp-init-1.png" alt-text="Screenshot of the Run dialog box opening diskmgmt.msc.":::
67
-
- Select partition style (MBR or GPT) and the disks to be initialized and click on **OK** button.
67
+
2. Select partition style (MBR or GPT) and the disks to be initialized and click on **OK** button.
68
68
:::image type="content" source="./media/enable-nvme/nvme-temp-init-2.png" alt-text="Screenshot of the Disk Management Initialize Disk dialog box.":::
69
-
- Right click on the disk to be partitioned and select **New Simple Volume** menu item.
69
+
3. Right click on the disk to be partitioned and select **New Simple Volume** menu item.
70
70
:::image type="content" source="./media/enable-nvme/nvme-temp-init-3.png" alt-text="Screenshot of the menu for selecting new volume types.":::
71
-
- Follow the **New Simple Volume Wizard** in the next few steps to specify items such as Volume size, Drive letter, File system, Volume label, etc. by clicking on the **Next** button to advance through the wizard.
71
+
4. Follow the **New Simple Volume Wizard** in the next few steps to specify items such as Volume size, Drive letter, File system, Volume label, etc. by clicking on the **Next** button to advance through the wizard.
72
72
:::image type="content" source="./media/enable-nvme/nvme-temp-init-4.png" alt-text="Screenshot of specifying the volume size in the New Simple Volume Wizard.":::
73
73
:::image type="content" source="./media/enable-nvme/nvme-temp-init-5.png" alt-text="Screenshot of specifying the drive letter in the New Simple Volume Wizard.":::
74
74
:::image type="content" source="./media/enable-nvme/nvme-temp-init-6.png" alt-text="Screenshot of specifying how to format the partition in the New Simple Volume Wizard.":::
75
-
- Review your settings and click the **Finish** button to complete the partition and format.
75
+
5. Review your settings and click the **Finish** button to complete the partition and format.
76
76
:::image type="content" source="./media/enable-nvme/nvme-temp-init-7.png" alt-text="Screenshot of completing the New Simple Volume Wizard.":::
77
-
- The formatted and initialized NVMe disks will show in the Windows Disk Management utility similar to how the “New Volume (E:)” does in this example.
77
+
6. The formatted and initialized NVMe disks will show in the Windows Disk Management utility similar to how the “New Volume (E:)” does in this example.
78
78
:::image type="content" source="./media/enable-nvme/nvme-temp-init-8.png" alt-text="Screenshot of Disk Management utility showing the New Volume (E:).":::
79
79
80
80
### PowerShell Script – Initialize, format, and assign drive letters
@@ -288,13 +288,13 @@ sections:
288
288
### GUI
289
289
>[!TIP]
290
290
> Note: The GUI example below is meant for illustrative purposes. It is recommended that scripts be created to automate this workflow for production deployments.be created to automate this workflow for production deployments.
291
-
- Press the **Windows key + R** to open the Run dialog box. Type **sysdm.cpl** and press **Enter**.
291
+
1. Press the **Windows key + R** to open the Run dialog box. Type **sysdm.cpl** and press **Enter**.
292
292
:::image type="content" source="./media/enable-nvme/nvme-temp-pagefile-1.png" alt-text="Screenshot of the Run dialog box opening sysdm.cpl.":::
293
-
- Click on the **Advanced** tab and then click on the **Settings** button under the **Performance** section.
293
+
2. Click on the **Advanced** tab and then click on the **Settings** button under the **Performance** section.
294
294
:::image type="content" source="./media/enable-nvme/nvme-temp-pagefile-2.png" alt-text="Screenshot of the Performance Settings button highlighted on the Advanced tab of System Properties.":::
295
-
- In the Performance Options window, click on the **Advanced** tab and then click on the **Change** button under the **Virtual memory** section.
295
+
3. In the Performance Options window, click on the **Advanced** tab and then click on the **Change** button under the **Virtual memory** section.
296
296
:::image type="content" source="./media/enable-nvme/nvme-temp-pagefile-3.png" alt-text="Screenshot of the Advanced tab of the Performance Options.":::
297
-
- Uncheck the option that says **“Automatically manage paging file size for all drives”**. If there’s a paging file set to your OS disk, select your OS disk and click on the **No paging file** radio button, and then click on the **Set** button. Select your local temp NVMe drive and click on the **System managed size** radio button, and then click on the **Set** button. Click on **OK** to close all windows.
297
+
4. Uncheck the option that says **“Automatically manage paging file size for all drives”**. If there’s a paging file set to your OS disk, select your OS disk and click on the **No paging file** radio button, and then click on the **Set** button. Select your local temp NVMe drive and click on the **System managed size** radio button, and then click on the **Set** button. Click on **OK** to close all windows.
298
298
:::image type="content" source="./media/enable-nvme/nvme-temp-pagefile-4.png" alt-text="Screenshot of Virtual Memory dialog box.":::
299
299
300
300
>[!TIP]
@@ -324,35 +324,35 @@ sections:
324
324
- question: |
325
325
How can I move the Linux swap file from OS disk to a temp NVMe disk?
326
326
answer: |
327
-
- Select NVMe disk used for swap space
328
-
```
329
-
root@D2adsv6:/ # lsblk -p
330
-
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
331
-
/dev/nvme1n1 259:0 0 30G 0 disk
332
-
├─/dev/nvme1n1p1 259:1 0 29.9G 0 part /
333
-
└─/dev/nvme1n1p15 259:3 0 106M 0 part /boot/efi
334
-
/dev/nvme0n1 259:4 0 75G 0 disk
335
-
```
336
-
- Create swap space on the disk
337
-
```
338
-
root@D2adsv6:/ # mkswap /dev/nvme0n1
339
-
Setting up swapspace version 1, size = 75 GiB (80530632704 bytes)
340
-
no label, UUID=064bdcfb-86ae-49f3-bf9d-b956493e2a1d
341
-
```
342
-
- Enable the swap space
343
-
```
344
-
root@D2adsv6:/ # swapon /dev/nvme0n1
345
-
```
346
-
- Check the swap space being set up properly
347
-
```
348
-
root@D2adsv6:/ # swapon -s
349
-
Filename Type Size Used Priority
350
-
/dev/nvme0n1 partition 78643196 0 -2
351
-
```
352
-
- Append the swap space to /etc/fstab to make it persistent across reboots
0 commit comments