Forum archive
[Closed]need help setting up File Server container on Proxmox VE 5.1 with ZFS
[EDIT] I am going to close this thread as I already figure out all things I asked here.
I will open a new thread with more questions :-)
thanks everyone.
Hello everybody.
let me ellaborate what my problem(s) are :-)
I want to use FileServer appliance on my Proxmox host to be able to sharte and manage local storage on the host.
Why? whell I only have a single machine. it needs to run Proxmox and also provide space from local store for my own needs.
the server is configured as follows:
a SupperMicro server with dual CPU (12 core total) and 48 GB RAM.
2xSSD in ZFS mirror for system(by default named "rpool").
Proxmox VE 5.1 installed and booting from above ssds.
I have all the local storage for the system needs setuped no problems.
no I have 2 ZFS pools (tank0 and tank0) configured on host that are not part of system data store. they exist and avalalbe but Proxmox have no hold on them.
I have download the FileServer template via Proxmox webUI and created a container.
the file server is up and running and all is good except I want to connect my data pools (tank0 and tank1) into the file server and manage all access through there.
using ZFS create /tank0/share0
tank0 800K 5.27T 96K /tank0
tank0/share0 296K 5.27T 104K /tank0/share0tank1 600K 2.63T 96K /tank1
tank1/share1 96K 2.63T 96K /tank1/share1
I can bind mount "tank0/share0" and "tank1/share1" into the container.
but is it the proper way of doing this.
ultimatly I want to be able to do all ahring and data managing from this file server.
and use same subvolumes in second container dedicated to run downloading apps like transmition , blue beard and coach potato to download and organize my media.
speed is not an issue as I am not loading much from internet but rather reaping my cd/dvd collection into a folder and use apps like coach potato, blue beard and headphones to rename and organaize it into my media folder.
is this a proper way of setting up all this?
thanks. VL
[EDIT] I just found an MediaServer template in the list. all together being equils can it do everything that FileServer can plus media management?
if yes I may set that up instead.
I've been having one of the those weeks... Running flat out to stay in the same place...
Anyway, to explicitly answer your questions:
1. As I'm guessing you're aware, TurnKey is built on top of Debian. v14.x = Debian Jessie/8.x. We are currently working on v15.0 which will be based on Debian Stretch. In theory, you should be able to do an "in place" OS update as you would with vanilla Debian. However, please be aware, we haven't yet released our Stretch based packages, so you will likely have troubles updating any of the TurnKey specific software and it may even make the whole OS upgrade fail (I'm not sure, I haven't tested it). You may be able to hack around that by leaving the TurnKey repo at Jessie, but obviously it may get a little bit messy?
If you wish to try that, I suggest you install another separate instance and test on that. Another option would be to do a full backup of your server before you try. If you go the backup path, I suggest you test your backup first though. An untested backup is barely better than no backup at all!
Either way, please report back on how you go with it. OTOH, unless you have a specific need to upgrade, perhaps you're better just sticking with Jessie for now? It will get security updates until 2020 so unless you have specific need, it should continue to work fine for ages into the future.
2. You certainly can install additional software. Although I can't guarantee that nothing you do will negatively impact the current setup. In theory I would expect it to be fine, but in practice there are likely many things you could do to break stuff.
Again, if you do a trial run in a separate instance as per above suggestion is one way to go. Or you could do a backup (again as per above).
Although personally, I really like the redundancy that having lots of separate containers allows. I often have separate servers running that provide separate functions. Although I'm not sure how you'd go having the ZFS filesystem mounts mounted in 2 containers at the same time? That may be problematic? Especially if you had both systems trying to edit files at the same time. Having said that, you may still have those sort of issues with the software all installed on the one system...
Sorry I'm not providing and hard and fast answers, but hopefully it at least gives you some insight. Also, so long as all your data is safe and you don't risk losing anything which is irreplaceable, I urge you to approach it like play, or a fun science experiment. That way you can't lose, you can only learn! Worst case scenario, you'll learn a ton by a process of elimination (i.e. what not to do!). I recall when I first started learning Linux, I was told "if you don't break things, you're not playing hard enough!" I took it to heart and haven't looked back.
Good luck! :)