So I started recently with VE 7.0, created LXC and installed ubuntu + Plex. Idea is to use a USB drive connected to the machine to read media files through to Plex
For USB passthrough I followed this guide here
Then followed this guide to change cgroup
What I cannot figure out, is when I go into Plex --> Add Library I just cant figure out where my usb files would be stored? I must be missing a crucial step here
I did a bit more research and followed this guide to mount my usb on the host which worked perfectly and I can read the media file on the Proxmox host via ssh :
This is what I receive on the Plex LXC via console: It cant see the usb mount or read contents of the usb-drive?
Also rechecked my passthrough of USB to LXC correctly:
For USB passthrough I followed this guide here
Then followed this guide to change cgroup
What I cannot figure out, is when I go into Plex --> Add Library I just cant figure out where my usb files would be stored? I must be missing a crucial step here
I did a bit more research and followed this guide to mount my usb on the host which worked perfectly and I can read the media file on the Proxmox host via ssh :
Code:
root@pve:/media/usb-drive# mount | grep sdd1
/dev/sdd1 on /media/usb-drive type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
root@pve:/media/usb-drive# cd /media/usb-drive
root@pve:/media/usb-drive# dir Android Cruella.2021.1080p.DSNP.WEBRip.DDP5.1.Atmos.x264-TOMMY\ (1) Scam\ 1992\ -\ The\ Harshad\ Mehta\ Story\ (2020)\ S01\ Hindi\ (1080p\ WEBRip\ x265\ 10bit)\ -\ [Musafirboy]
This is what I receive on the Plex LXC via console: It cant see the usb mount or read contents of the usb-drive?
Code:
Ubuntu 20.04.2 LTS Plex tty1
Plex login: root Password: Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.11.22-1-pve x86_64)
Documentation: https://help.ubuntu.com
Management: https://landscape.canonical.com
Support: https://ubuntu.com/advantage Last login: Fri Aug 20 23:32:01 UTC 2021 on tty1
root@Plex:~# fdisk -l root@Plex:~# mkdir /media/usb-drive mkdir: cannot create directory '/media/usb-drive': File exists
root@Plex:~# mount /dev/sdd1 /media/usb-drive/ mount: /media/usb-drive: special device /dev/sdd1 does not exist.
root@Plex:~# cd /media/usb-drive
root@Plex:/media/usb-drive# dir root@Plex:/media/usb-drive#
Also rechecked my passthrough of USB to LXC correctly:
Code:
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/bus/usb/004 dev/bus/usb/004 none bind,optional,create=dir