[SOLVED] Additional Datastore on same ZFS Pool?

itNGO

Renowned Member
Jun 12, 2020
980
289
88
46
Germany
it-ngo.com
Hi,
it it possible to create a 2nd Datastore on an existing ZFS-Pool?

We want to separate Backupstorage for a tenant. How can this be done when the ZFS-Pool is already created and first Datastore is filled with 3000 Backups?

Thanks for advice....

Regards
 
you can do that with 'zfs create' (see the manpage: 'man zfs-create')

just make sure you set a path that is not nested in your other datastore (otherwise it'll confuse the garbage collection)
 
  • Like
Reactions: itNGO
you can do that with 'zfs create' (see the manpage: 'man zfs-create')

just make sure you set a path that is not nested in your other datastore (otherwise it'll confuse the garbage collection)
Ok, with
Code:
zfs create -o mountpoint=/mnt/datastore/BackupStoreB -o sharenfs=on -o compression=on BackupStoreA/SHOUT
I created my pool and added it to PBS with the Webinterface.

Looks like it is working.....