如何挂载外部exfat硬盘驱动器,使其显示在我的plex服务器中?

我想在Docker容器中的Ubuntu计算机上运行自己的plex服务器。 媒体(电影)在我的外部exfat硬盘驱动器上,该硬盘驱动器通过usb连接到服务器。

First I pulled the official image from docker hub, then I followed the guide on the docker hub page. I created volume directories for the config- and transcode files inside /var/lib/plex on the host machine. Then I started the container with the following command:

sudo docker run \
> -d \
> --name plex \
> --network=host \
> -e TZ="Europe/Paris" \
> -e PLEX_CLAIM="claim-6XRtSSkkCQ4WWyGGrSSH" \
> -v /var/lib/plex/config:/config \
> -v /var/lib/plex/transcode:/transcode \
> -v /media/wd_external:/data \
> plexinc/pms-docker

然后,我在同一网络中的客户端上打开198.51.100.0:32400/web,并被熟悉的Plex界面打招呼。没有库,所以我打开了设置。设置库的文件夹时,我注意到/ media / wd_internal挂载不会出现在列表中。

After some research I found this step for step guide. I worked through it until Step C where you should set the permissions for the newly created /disks directory with chown -R chuck:chuck /disks. When using that command, I've got the error Operation not permitted. Then I used the command chattr -iR /disks because I've read the issue might be the immutable attribute set but got the error Inappropriate ioctl for device while reading flags on /disks/wd_external. To solve this error I tried to edit the /etc/fstab file and add the umask=022 option but it also did not work. How can I mount the hard drive or set its permissions so that it is visible for plex?

私人信息是随机的。

评论