Configure Storage

In the installation, we already configured the RAID1 system pool, now it's time to take care of our data disks.

Creating the ZFS Pool

It's really simple and straight forward :

  • Select your node on the left pane, then select the ZFS submenu inside the Disks menu

  • If this is a fresh install, you only have "rpool" in there

  • Click on "Create ZFS" on the top and indicate the pool name that you want (data1 for me)

  • Unselect "Add storage" for the moment unless you install proxmox only for virtualization and not for NAS, as we will separate usecases with datasets below.

  • Select the RAID Level you want, for my case I choose "Mirror"

  • Select the disks you have and click on create

circle-exclamation

Creating Datasets

Now you will have to open a shell as creating dataset is not a functionnality offered by the Proxmox Web Interface. That is because proxmox is only a virtualization software, not a nas software as Truenas can be for example.

For my case, I will create two datasets :

  • one called "backup" used by Proxmox for storing VM backups (VM are stored on my NVMe, so backups will be stored on another pool which is more secure)

  • one called "nas" which will be only handled by my LXC container for SMB sharing, you can find more about that in Sharing Storage.

To create a dataset, execute this command :

Mount Dataset into Proxmox

That that you have 2 datasets, one for you nas system, and one for proxmox, time to mount it into proxmox web interface.

Storage menu

Select "Datacenter" on the left, then "Storage". Then this will differ depending of your objective :

  • If your dataset on you data pool will be used for backups, isos and VM templates, click on Add>Directory, then type a name and in the "Directory" case, indicate the path to your pool, by default on Proxmox VE7, it's /<pool_name>/<dataset> (for me /data1/backup) and select all the categories you want the dataset to be used for.

  • If your dataset will be used for VMs and LXC, then select Add>ZFS, type a name and choose your dataset.

circle-info

You can do the two options at the same time as it's the case with you primary pool

circle-check

Last updated