I have a home server running Proxmox VE 4.5 on ZFS
the server has several ZFS pools where I store my data. i.e. custom user pools not connected to Proxmox except that the main machine hosts the disks.
I want to create a VM container (LXC) where I will run Emby and other apps.
Proxmox have a number of templates from TurnKey that I can use to create my container(s).
I have tried the turnkey Mediaserver which is a TurnKey fileserver plus Emby. it works for the most part and works nicely but as I tried to setup additional things on it I broke the config and it has issues now so i want to rebuild it.
in order to manage my existing data and media I bind-mount my data pools into container like
tank0/share0 ==> mediaserver /mnt/share0
tank1/share1 ==> mediaserver /mnt/share1
so my questions are :
#1. the TKMS has Emby configured that all media folders are in "/srv/storage/ "
@mfs /srv/storage# ls -l total 7 drwxrwxr-x 2 emby users 2 Jul 18 2017 Movies drwxrwxr-x 2 emby users 2 Jul 18 2017 Music drwxrwxr-x 2 emby users 2 Jul 18 2017 Photos -rw-r--r-- 1 root root 79 Jul 18 2017 README.txt drwxrwxr-x 2 emby users 2 Jul 18 2017 TVShows
"/srv/storage/ " is the default location that is also SAMBA share and WebDav share. standard config for TK fileserver the medisserver is based on.
now is it possible to move this folders into my storage?
that is I have a bind-mount in /mnt/share1 that has folder media.
I want to locally(within the VM) bind-mount that into "/srv/storage/media" and move all the folders inside.
can I ? and How?
#2. if I want to setup an NZBGet in separate VM and bind-mount the same pools there, how can I setup user NZBGet will use to run so when it downloads something it can be moved into appropriate folder and Emby will be able to see the new files and use it?
permissions issue was one of the more difficult issues with this setup so far. the current config, which I moved the folders with mv command and reconfigured Emby to use the new locations,
sees some movies but not one I downloaded with NZBGet or Transmission. it ignores any of my existing pictures and home videos that I copied with cp or rsynk from my local lib. not user how to set permissions on those properly.
please point me to some how-to and help that will work.
PS>> I already did the general search on many of the topics here and read the pin on this forum about file/folder permission. I will be setting up new container for test using that info but maybe there is something more I need/want to know.
PPS>> maybe some one can chime in on the best setup for my needs as well.
I want to have a basic VM server (already setup with Proxmox) that will run some special VMs.
but main config is a
1. File Server
3. Transmission for torrents (!! I do not do much torrenting or downloads but good to have when needed )
4. CoachPotato (again not much downloading but want to use that to automate organization of my existing collection)
6. Lazy Librarian
7 Calibre Server
8. MythTV or what ever to record LiveTV in the future. I do not have the tuner now and it may never come to live but plans are plans.
the question here is how to set all this apps so they will play well together nicely.
should I run each in it's own LXC to which I mount-bind my storage? if yes should I / can I create/clone Emby user to all of this containers and use that to run the services? if yes How?
what are my options here?