How to "expand" filesystem

Hi there,

I have a quite simple question.
I have a Nextcloud instance on a jail.
Now my main pool is full.
So I have created a mirror and wanted to add it under the data directory and I wanted to know if there are best practices.
Spontaneously I can think of simply setting a link to the other pool.
Alternatively, I would probably set a mountpoint.
Does zfs offer better options?
Or am I missing something obvious?

many thanks
KBB

Don’t use the top level dataset of the pool but create a dedicated dataset at least one level below.

Then configure a mount point for the jail.

1 Like

Thanks for the quick response.
Until now I only mkdir a folder in the new dataset.
And cp the files ~ 2,7TiB to the new directory.
So if I get it right I should run zfs create /mnt/PoolName/FolderName.
Then mv /mnt/PoolName/OldFolderName /mnt/PoolName/FolderName
After That I am going to delete the old folder to free up disk Space of the Main Pool?
Then edit over the GUI a mountpoint in the jail.

Yes. Exactly like that if I did not miss anything.