Is it possible to use a ZFS dataset on an external harddisk as removable PBS datastore?
The disk contains a zpool that holds a PBS datastore, say
Adding the datastore to PBS as a local datastore with the 'use existing datastore' option is working fine.
This however requires fully readding and removing the entire datastore and sync task(s) everytime the disk is connected.
The mountpoint of the zfs dataset can obviously be set to
The GUI (PBS 4.2.2) currently cannot create a removable datastore because it wants a Device/UUID, which in this case should be the zfs dataset, not an entire disk.
Is this something that can be done using the datastore.cfg configuration file instead of the GUI maybe?
The disk contains a zpool that holds a PBS datastore, say
zpool/pbs-ds. The zpool also holds other zfs datasets, say zpool/data1, zpool/data2, etc.Adding the datastore to PBS as a local datastore with the 'use existing datastore' option is working fine.
This however requires fully readding and removing the entire datastore and sync task(s) everytime the disk is connected.
The mountpoint of the zfs dataset can obviously be set to
/mnt/datastores/pbs-ds, like PBS expects for removable datastores.The GUI (PBS 4.2.2) currently cannot create a removable datastore because it wants a Device/UUID, which in this case should be the zfs dataset, not an entire disk.
Is this something that can be done using the datastore.cfg configuration file instead of the GUI maybe?
Last edited: