My FreeNAS setup at the moment is as follows, I've got two volumes;

1) "Storage" volume, consisting of 2x2x2 TB mirrors (so, 4 2TB disks, two by two in mirrors)

2) "FreeNAS" volume, 250GB SSD drive (stripe)



I've set my jail root on the FreeNAS volume, because I wanted to use that drive for all installs that I do (plugins, virtualbox, etc...).

When testing out my setup yesterday, I installed the OwnCloud plugin, and it installed in the FreeNAS volume as a jail (which is good!). I was however hoping that I could point it's storage to my "Storage" volume.



What I did was;

1) Add storage to the jail

2) Source: a Cloud folder (sorry, dataset) on my "Storage" volume

3) Destination: created a /data folder within the owncloud folder structure on the "FreeNAS" volume (not a subfolder of that default /media folder, maybe that's the issue?)



First of all, I'm not too sure what these two settings do, as it feels counter intuitive to use a certain folder as "Source" where I would actually want that folder to be the destination of the files that I'd put in OwnCloud.

And secondly, when testing it out (it worked), I added a 500 MB file to my OwnCloud via its web interface, and checked for "used space" changes accross my volume.

I noticed that those 500MB got added to my FreeNAS volume size, and my "Storage" volume size remained unchanged. So, my guess is, those files did not get put on my "Storage" volume, but directly inside the jail....



To clarify, the reason I want my files to be stored on another volume, is because that volume is a mirrored volume, intended for pure storage. So, understandably, I would want my cloud data to be mirrored as well. And on top of that, there a lot more room on my storage mirrors then there is on my SSD.



If there are certain resources I would best read before asking questions like these, feel free to point them out! I've read a lot about the volumes/datasets jails, storage stuff yesterday, but didn't really find what I was looking for.

Also, appologies for not adding screenshots here, I'm not phisically at my server at the moment so I can't show you the configuration I've set up (which is why I typed it out above, at the best of my knowledge).