Understanding NTFS mount options for docker usage

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

I recently ran into permission issues with a docker container running Plex. I got it fixed, but I have some questions on why these changes were needed. My docker-compose is: plex: container_name: plex network_mode: host image: linuxserver/plex:latest restart: unless-stopped volumes: – /mnt/easystore/Plex/:/config – /mnt/easystore/shared/tv/:/tv – /mnt/easystore/shared/movies/:/movies – /etc/localtime/:/etc/localtime:ro – /opt/vc:/opt/vc:ro environment: – PUID=1000 – PGID=1000 – VERSION=docker where /mnt/easystore is a mounted USB ntfs HDD. In the /etc/fstab, I have it automounted with the following line: UUID=2EA0DEFAA0DEC78B /mnt/easystore ntfs defaults,auto,users,rw,nofail,exec,umask=000,fmask=000,uid=1000,gid=1000,x-systemd.device-timeout=30 0 0 So for my main issue, I needed to add fmask=000,uid=000,gid=000 and exec to make Plex work. Here are my questions for each one: * uid/gid * issue: Plex could download and write a zipped transcoder file, but couldn’t extract the results of the file. * question: Why would this be needed when umask=000 was in the mount options? I thought all users would be able to write and read to the drive. * fmask * issue: This was an odd issue. Plex could play and transcode, but refused to play the original file, and would only transcode to super low quality (1 Mbps). * question: The mount was already using umask, and I thought that was a superset of fmask, so why would fmask be needed? * exec * issue: The video file would simply never play. There would be no errors, just would hang indefinitely trying to buffer. * question: I’m not sure why this one is needed in general, but also I thought it was included with defaults? submitted by /u/LegendaryLightz [link] [comments]

X ITM Cloud News

Patricia

Leave a Reply

Next Post

Can you ignore specific annotations with kubectl diff or other k8s library?

Fri Jul 31 , 2020
Spread the love          I’ve been trying to figure out if you can ignore specific annotations with the kubectl diff command. Say I have a manifest `svc.yaml` containing a service definition. If there’s an operator that adds a label or annotation to the manifest once it’s in the cluster, I was wondering […]
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM