Accessing Multiple Pools

knightjp

Dabbler
Joined
Jun 9, 2020
Messages
17
I am having difficulty is setting up a user to be able to access mulitple pools or shares on the FreeNAS system.

Screen Shot 2020-06-09 at 9.29.37 PM.png

Apparently it seems that I need to set a home folder for the user. But it also means that I have to select one or the other of the pools. What do I do?

The pools are two separate drives which I have set to house two kinds of data. I will be adding a 3rd one for Music, etc.
Screen Shot 2020-06-09 at 9.28.32 PM.png

I am trying to follow the documentation, but I suppose it is just too much of an advanced level for me.

What should I do?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
What do I do?
Give the user a home directory. It doesn't much matter where, and it doesn't control which pool(s) the user will have access to through whatever sharing protocol you want to use.
The pools are two separate drives which I have set to house two kinds of data. I will be adding a 3rd one for Music,
Why not put all the disks into one pool? ZFS really anticipates that all your storage will be in one pool, unless there's a very strong reason (like wildly different performance characteristics or requirements, very different redundancy requirements, etc.) to do otherwise.
 

knightjp

Dabbler
Joined
Jun 9, 2020
Messages
17
Give the user a home directory. It doesn't much matter where, and it doesn't control which pool(s) the user will have access to through whatever sharing protocol you want to use.
I did that.. but the user is able to write to one directory, but not the other.

Why not put all the disks into one pool? ZFS really anticipates that all your storage will be in one pool, unless there's a very strong reason (like wildly different performance characteristics or requirements, very different redundancy requirements, etc.) to do otherwise.
Are you talking about some kind of RAID? I don't want them to be in RAID. I want to store one kind of data in disk and the other in another disk. Plus both disks are not of the same size.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
but the user is able to write to one directory, but not the other.
Then you need to fix your permissions.
Are you talking about some kind of RAID?
No, I'm talking about a ZFS pool. I think you have some reading to do about how ZFS works. But if you don't want any type of RAID, FreeNAS may well not be the best solution for you.
 

knightjp

Dabbler
Joined
Jun 9, 2020
Messages
17
Then you need to fix your permissions.
How do I fix the permissions user permissions when the permissions are only set for the user's home directory. Sorry if I am being a pain.

No, I'm talking about a ZFS pool. I think you have some reading to do about how ZFS works. But if you don't want any type of RAID, FreeNAS may well not be the best solution for you.
So the pool operates as some kind of RAID.. Correct?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
The pool consists of vdevs. If one vdev fails, the entire pool is toast.
Vdevs can provide a particular level of redundancy by using more that one disk to construct a vdev.
Topologies available are n-way mirror, RAIDZ1, RAIDZ2 and RAIDZ3.
In terms of redundancy and failure of complete disks RAIDZ1 is comparable to RAID5, RAIDZ2 to RAID6. Otherwise RAIDZn is quite different from traditional RAID.
 

knightjp

Dabbler
Joined
Jun 9, 2020
Messages
17
The pool consists of vdevs. If one vdev fails, the entire pool is toast.
Vdevs can provide a particular level of redundancy by using more that one disk to construct a vdev.
Topologies available are n-way mirror, RAIDZ1, RAIDZ2 and RAIDZ3.
In terms of redundancy and failure of complete disks RAIDZ1 is comparable to RAID5, RAIDZ2 to RAID6. Otherwise RAIDZn is quite different from traditional RAID.
So what you are saying is that I have to use my disks in a RAID.
I am coming from a Linux file server for my home, where I had one disk for TV Series, one disk for Movies and one disk for other data. A total of 3 disks.
I was hoping to have the same here.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
You don't have to. You can build single disk vdevs and single vdev pools. Do you have an additional backup? Disks do fail, you know? What is your plan for that scenario?
FreeNAS and ZFS are just tools to set that plan into action. Although the main focus of ZFS is to guarantee the availability and integrity of your data, nothing is forcing you to use the redundancy features.
What made you switch from your Linux server to FreeNAS?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Top