Skip to content

Commit adb0043

Browse files
committed
Review team fixes
1 parent 68b67be commit adb0043

File tree

3 files changed

+55
-48
lines changed

3 files changed

+55
-48
lines changed

articles/virtual-machines/enable-nvme-faqs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ sections:
6161
How can I launch a VM with the NVMe interface?
6262
answer: |
6363
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
6565
6666
1. Add Disk Controller Filter. To find the NVMe eligible sizes, select **See All Sizes**, select the **Disk Controller** filter, and then select **NVMe**:
6767
@@ -75,7 +75,7 @@ sections:
7575
7676
:::image type="content" source="./media/enable-nvme/azure-portal-3.png" alt-text="Screenshot of instructions to review and verify features enablement.":::
7777
78-
- name: Azure Storage Performance with NVMe Disks
78+
- name: Azure storage performance with NVMe disks
7979
questions:
8080
- question: |
8181
What types of workloads benefit from NVMe disks?

articles/virtual-machines/enable-nvme-remote-faqs.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ sections:
7070
To tag an image that supports NVMe, follow the four steps below:
7171
1. Upload NVMe-supported vhd to your storage account. AzCopy is a fast way, but you can also use the portal to upload.
7272
- AzCopy Reference:
73-
[https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10]
73+
[https://docs.microsoft.com/azure/storage/common/storage-use-azcopy-v10]
7474
```
7575
`azcopy copy <local path to your vhd> <container in your storage account>`
7676
```
7777
2. Create your image gallery either using powershell/portal/cli:
78-
[https://docs.microsoft.com/en-us/azure/virtual-machines/create-gallery]
78+
[https://docs.microsoft.com/azure/virtual-machines/create-gallery]
7979
3. Create the image definition:
80-
[https://docs.microsoft.com/en-us/azure/virtual-machines/image-version]
80+
[https://docs.microsoft.com/azure/virtual-machines/image-version]
8181
**Please make sure to include --feature DiskControllerTypes=SCSI,NVMe**
8282
8383
CLI Example:
@@ -86,7 +86,7 @@ sections:
8686
```
8787
8888
4. Create the image version under the NVMe-tagged gallery with the NVMe-supported vhd: 
89-
[https://docs.microsoft.com/en-us/azure/virtual-machines/image-version]
89+
[https://docs.microsoft.com/azure/virtual-machines/image-version]
9090
9191
CLI Example:
9292
```
@@ -114,14 +114,21 @@ sections:
114114
- question: |
115115
How can I identify remote NVMe disks on a Linux VM?
116116
answer: |
117-
- Get nvme-cli package using the command =” sudo apt install nvme-cli”
118-
- Run NVMe list command =” sudo nvme list “to fetch NVMe disk details: 
117+
1. Get nvme-cli package
118+
```
119+
`sudo apt install nvme-cli`
120+
```
121+
2. Run NVMe list command to fetch NVMe disk details:
122+
123+
```
124+
`sudo nvme list`
125+
```
119126
120127
:::image type="content" source="./media/enable-nvme/nvme-faq-4.png" alt-text="Screenshot of instructions to identify NVMe disks on Linux VM.":::
121128
122129
:::image type="content" source="./media/enable-nvme/nvme-faq-5.png" alt-text="Screenshot of instructions to choose namespace ID in Linux portal.":::
123130
124-
Here's how the data shows in response to Azure PowerShell commands
131+
Here's how the data shows in response to Azure PowerShell commands:
125132
126133
:::image type="content" source="./media/enable-nvme/nvme-faq-6.png" alt-text="Screenshot of an example of response to Azure PowerShell command.":::
127134
- question: |

articles/virtual-machines/enable-nvme-temp-faqs.yml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,19 @@ sections:
6262
### GUI
6363
>[!TIP]
6464
> 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**.
6666
:::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.
6868
:::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.
7070
:::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.
7272
:::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.":::
7373
:::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.":::
7474
:::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.
7676
:::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.
7878
:::image type="content" source="./media/enable-nvme/nvme-temp-init-8.png" alt-text="Screenshot of Disk Management utility showing the New Volume (E:).":::
7979
8080
### PowerShell Script – Initialize, format, and assign drive letters
@@ -288,13 +288,13 @@ sections:
288288
### GUI
289289
>[!TIP]
290290
> 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**.
292292
:::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.
294294
:::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.
296296
:::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.
298298
:::image type="content" source="./media/enable-nvme/nvme-temp-pagefile-4.png" alt-text="Screenshot of Virtual Memory dialog box.":::
299299
300300
>[!TIP]
@@ -324,35 +324,35 @@ sections:
324324
- question: |
325325
How can I move the Linux swap file from OS disk to a temp NVMe disk?
326326
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
353-
```
354-
root@D2adsv6:/ # echo '/dev/nvme0n1 swap swap defaults 0 0' >> /etc/fstab
355-
```
327+
1. 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+
2. 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+
3. Enable the swap space
343+
```
344+
root@D2adsv6:/ # swapon /dev/nvme0n1
345+
```
346+
4. 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+
5. Append the swap space to /etc/fstab to make it persistent across reboots
353+
```
354+
root@D2adsv6:/ # echo '/dev/nvme0n1 swap swap defaults 0 0' >> /etc/fstab
355+
```
356356
- question: |
357357
What considerations do I need to be aware of for Maintenance Events, VM Redeploys, and VM Reboots?
358358
answer: |

0 commit comments

Comments
 (0)