Datastore creation

bea

Member
Dec 25, 2020
23
0
6
24
Hello.

I have just installed PBS for the first time. I have done it in a 2-disk physical computer. During the installation I chose to mirror the two disks (ZFS-RAIS1). Everything looks good.

On the GUI I see I have:
/dev/sda, /dev/sdb (Storage/Disks > Disks)
No directory (Storage/Disks > Directories)
rpool (Storage/Disks > ZFS)
No Datastore (Datastore)

Now I think I should create a Datastore in order to start using my PBS. But when clicking on "Add Datastore" I don't know how to fill in the empty field of "Backing Path".

I tried to create a "directory" but I can't because I have "No disks unused". I also tried to create another ZFS (not sure if I should do so) but again I can't because I have "No disks unused".

How should I create a datastore?
Should I use rpool as the Backing Path?

Thank you!
 
First I would create a ZFS dataset. Something like zfs create rpool/datastores, zfs set relatime=on rpool/datastores, zfs create rpool/datastores/ds1. Then to get the mountpoint you can use zfs get mountpoint rpool/datastores/ds1. This mountpoint you could use as the "Backing Path".
 
  • Like
Reactions: bea

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!