FreeNAS & Plugins w/dual ZFS volumes

Status
Not open for further replies.

razloga

Cadet
Joined
Nov 28, 2014
Messages
9
Greetings..
I'm a bit stuck at this point- having spent the last few days searching for something that could help, I seem to be no closer to a solution..

I have 2 ZFS volumes (ZFS1 is 4x1tb drives and ZFS4 is 4x4tb drives) http://i.imgur.com/Gbl1qDr.png
I have the pluginjails set up on ZFS4, I was wanting to use ZFS1 to stage/store torrents/downloads before I transfer them (manually) to ZFS4

After installing Transmission, it runs fine if I keep the directories pointed to ZFS4, but as soon as I point to ZFS1 I get "Permission denied" in transmission.. http://i.imgur.com/hvLG3iE.png

Here is how I have Transmission currently set.. http://i.imgur.com/P2MZo6X.png

I've checked and rechecked to make sure ZFS1/storage/(all directories) are set to 775 as far as permissions go (I tried setting to 777 but they keep reverting for some reason..)

This is the "hardware"
http://i.imgur.com/h9nZA6g.png

Any help would be greatly appreciated..
 

razloga

Cadet
Joined
Nov 28, 2014
Messages
9
I can't seem to find much in the ways of help via search..

I take it this isn't a common issue?..
 

toadman

Guru
Joined
Jun 4, 2013
Messages
619
When you look at the permissions (gui > storage > volumes > view volumes > [select volume] > change permissions) for each of those volumes who are the user owner and group owner for each? I'm curious of they are the same for both. And what the permissions check boxes say.
 

toadman

Guru
Joined
Jun 4, 2013
Messages
619
Hmmm... ok, so those look ok. How are you adding the ZFS1 storage to the jail? Via the GUI? i.e. Jails > View Jails > [select jail] > Add Storage. Then mount it in the jail?
 

toadman

Guru
Joined
Jun 4, 2013
Messages
619
I would think that's right. (Though I haven't done it myself, so I can't say for sure.)

Seems to me then maybe the issue is the effective "user" as seen by freenas coming from the jail to the mounted ZFS1 (via the "media" folder inside the jail) is not root? (I'm speculating.) What happens if you change the permissions on ZFS1 to 777 (recursive)?
 

toadman

Guru
Joined
Jun 4, 2013
Messages
619
Oops, you said you tried that already. Still could be the issue. Can you create a folder inside a dataset in ZFS1 and change that folder to 777 recursive, then mount that folder to transmission via the "Add Storage" method? (thereby by passing whatever is not letting you set the top level to 777.)
 

razloga

Cadet
Joined
Nov 28, 2014
Messages
9
hmm.. curious..
Adding a new dataset then trying to give it 777 permissions doesn't seem to want to work.. http://i.imgur.com/CjXQJ83.png
I also checked permissions on the main ZFS4 and it also has 775 permissions..

(Also, I appreciate you helping- thank you..)
 

toadman

Guru
Joined
Jun 4, 2013
Messages
619
I was suggesting to mkdir a folder underneath a dataset. You should be able to chmod that to 777 from the command line. Then feed that folder to the jail. so say you do:
Code:
mkdir /mnt/ZFS1/Storage2/transmissiondata


Just thinking of how to get around what seems to be a GUI mandated 775 on the dataset permissions. I haven't been near my server all day or I would try it myself first.
 
Status
Not open for further replies.
Top