TrueNAS to Proxmox to LXC

Setting Up Jellyfin in an LXC on Proxmox

To save time, I highly recommend using this community helper script to install Jellyfin. It shaved off 30 minutes compared to my first setup.

Mount a TrueNAS Shared Folder to Your Jellyfin LXC

  1. Access your Proxmox node’s shell.

  2. Create a mount point for your shared media folder:

    mkdir /mnt/media
    
  3. Install cifs-utils to enable SMB/CIFS mounting:

    apt-get install cifs-utils
    
  4. Mount your TrueNAS shared folder to /mnt/media:

    mount -t cifs -o user=<yourUsername> //<TrueNAS_IP>/<SharedFolderName> /mnt/media
    
    • Replace <yourUsername>, <TrueNAS_IP>, and <SharedFolderName> accordingly.
    • Example: mount -t cifs -o user=john //192.168.1.100/media /mnt/media
  5. Enter your password when prompted.

  6. Bind the mounted directory to your LXC container:

    pct set <LXC_ID> -mp0 /mnt/media,mp=/shared
    
    • Replace <LXC_ID> with the ID of your Jellyfin container.
  7. Reboot the LXC container:

    pct reboot <LXC_ID>
    
  8. Log into Jellyfin.

    • When adding a media folder, you should now see /shared available.