Setup NVMe SSD Datastores

This section will walk you through setting up your NVMe datastores for VMs. This guide will also update the local datastore to make sure VMs cannot be stored there.

Note

In this example, the server is host22. This is also being completed on an older Lenovo High Performance Server specification from NDG with two NVMe SSD drives. Your system may vary.


Using your navigation panels, in the Resource Tree, navigate to Datacenter > your_server. In the Content Panel, select Disks.

Server > Disks

You should see a similar output below:

Disks
Example HDD Mapping Table

Device

Type

Datastore Name

Use

Content Tags

/dev/nvme0n1

nvme

NETLAB1

Primary drive

Disk Image, ISO Image, Container Template, Backup, Container, Import

/dev/nvme1n1

nvme

NETLAB2

Secondary drive (optional for older systems with two NVMe drives)

Disk Image, ISO Image, Container Template, Backup, Container, Import

/dev/sda

unknown (M.2 SATA SSD)

local

Proxmox Operating System Disk

Snippets


Confirm /dev/nvme0n1 has Usage of No. If you have additional nvme drives, confirm they also have a Usage of No.


Create Directory Partition

In the Content Panel, select Disks > Directory.

Disks > Directory

Click the Create: Directory button.

Create: Directory

In the Create: Directory window, select /dev/nvme0n1 in the Disk field.

Select ext4 in the Filesystem field.

Type NETLAB1 in the Name field.

Click the Create button.

Create: Directory Dialog

If you have an additional NVMe drive like /dev/nvme1n1, repeat this process. Confirm each device is listed now.

Directories

Adjust Storage Settings

Adjust NVMe Storage

Using your navigation panels, in the Resource Tree, navigate to Datacenter. In the Content Panel, select Storage.

Datacenter Storage

You should see a similar output below:

Storage

Select NETLAB1 and click the Edit button.

Edit Directory

In the Edit: Directory popup window, click the dropdown arrow for the Content field, select the following: Disk Image, ISO Image, Container Template, Backup, Container, Import.

Click the checkbox for Advanced.

Select Off in the Preallocation field.

Click the OK button.

Edit: NETLAB1 Directory Dialog

If you have an additional directory like NETLAB2, repeat this process.


Adjust local Storage

Select local and click the Edit button.

Edit Local

In the Edit: Directory popup window, click the dropdown arrow for the Content field, select only the Snippets tag.

Click the OK button.

Edit: local Directory Dialog

Final Result:

Datastores