Page 1 of 1

dataset vs (sub-)directory

Posted: 30 Jul 2016 12:43
by mjw
i create my pool

Code: Select all

zpool create mypool raidz1 /dev/ada0 /dev/ada1 /dev/ada2
then i create 1 dataset and 1 subdirectory

Code: Select all

zfs create mypool/mydataset
mkdir mypool/mysubdir
for a noob like me what is the difference between the two? both appear to work like subdirectories :roll: and i was wondering what the pros and cons are? of one vs the other

Re: dataset vs (sub-)directory

Posted: 30 Jul 2016 21:11
by tony1
personally I would use nested datasets instead of a sub directory.
you will have greater control with things like snapshots and other options.
you can also create datasets and nested datasets in the GUI.
I use both methods, it all depends on how you want to lay out your data.

Re: dataset vs (sub-)directory

Posted: 30 Jul 2016 22:13
by mjw
go it. is for a addon directory (plex)