Datastore creation

bea

Active Member
Dec 25, 2020
68
7
28
25
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