This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

dataset vs (sub-)directory

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
mjw
Starter
Starter
Posts: 15
Joined: 17 Aug 2014 18:59
Status: Offline

dataset vs (sub-)directory

Post 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

User avatar
tony1
Moderator
Moderator
Posts: 169
Joined: 14 Jul 2016 19:04
Status: Offline

Re: dataset vs (sub-)directory

Post 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.

mjw
Starter
Starter
Posts: 15
Joined: 17 Aug 2014 18:59
Status: Offline

Re: dataset vs (sub-)directory

Post by mjw »

go it. is for a addon directory (plex)

Post Reply

Return to “ZFS (only!)”