Plex: Mounting USB

  • Hi All,


    So i'm trying to install Plex on Docker in Debian 11 (no OMV) but for the life of me i cant figure out what i need to put so the volume is my external USB drive


    Code
    sudo docker create \
    --name=plex \
    --net=host \
    --restart=always \
    -e VERSION=latest \
    -e PUID=1001 -e PGID=1001 \
    -e TZ=Europe/London \
    -v /home/docker/plex/config:/config \
    -v /media/liton/01D881B80A7ADFA0
    linuxserver/plex

    From the picture i need to mount sdb1 as the volume location


    I thought it was either /dev/sdb1 or

    Code
    /media/liton/01D881B80A7ADFA0

    but they didn't work, what am i doing wrong?

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

  • In line 9 the destination of the volume is missing and a back slash (line continuation)

    Code
    -v /home/docker/plex/config:/config \
    -v /media/liton/01D881B80A7ADFA0

    /home/docker/plex/config most likely is on you os disk

    This should work and point to the usb stick

    Code
    -v /media/liton/01D881B80A7ADFA0:/movies \

    But how are you mounting the USB-stick? Looky like some automatically generated mount.


    If it is for something permanant, you should add it to /etc/fstab, so it is mounted after a reboot (or use a systemd unit).


    I do not know how plex writes data, but this max wear out your usb stick.


    Next time post commands and error messages. This will help to diagnose.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!