Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3-Mount breaks after starting plex #1268

Open
moooep opened this issue Oct 21, 2023 · 4 comments
Open

S3-Mount breaks after starting plex #1268

moooep opened this issue Oct 21, 2023 · 4 comments

Comments

@moooep
Copy link

moooep commented Oct 21, 2023

Describe the bug

I use rclone to create a gdrive mount and an S3 mount. Both mounts are stable. I would like to merge both mounts using mergerfs. However, this only works until I start Plex; after that, the merge breaks.

before starting plex:
drwxrwxr-x 1 docker docker 0 Oct 21 22:14 mergerfs

after starting plex:
d????????? ? ? ? ? ? mergerfs

Please be sure to use latest release of mergerfs to ensure the issue still exists. Not your distro's latest but the latest official release.

The master branch is not to be considered production ready. Feel free to file bug reports but do so indicating clearly that you are testing unreleased code.

To Reproduce

[Unit]
Description=MergerFS Mount
After=network-online.target

[Service]
Type=forking
GuessMainPID=no
ExecStart=/usr/bin/mergerfs
/mnt/s3=RO:/mnt/gdrive=RO: /mnt/mergerfs

ExecStop=/bin/fusermount3 -uz /mnt/mergerfs
Restart=on-failure

[Install]
WantedBy=default.target

Expected behavior

Since I have only used it with gdrive mounts so far, and everything has worked very reliably, I expect the same from the S3 mount.

System information:

  • OS, kernel version: Linux Ubuntu-2004-focal-64-minimal-hwe 6.0.9-060009-generic
  • mergerfs version: mergerfs v2.37.1
  • mergerfs settings
  • List of drives, filesystems, & sizes:
    gdrive: 1.0P 0 1.0P 0% /mnt/gdrive
    s3: 1.0P 0 1.0P 0% /mnt/s3
@trapexit
Copy link
Owner

Please provide all the details as requested. I really can't help otherwise. It isn't clear what is even breaking. Is mergerfs still running? rclone?

@moooep
Copy link
Author

moooep commented Oct 21, 2023

rclone mounts are still stable. the only part that "breaks" ist mergerfs which is still running because the gdrive part is still in there. but whats missing is the "s3-part".

if i only added the s3-mount to the mergerfs pool it brakes aswell.

I'm happy to provide any further information, but unfortunately, I don't know what that information might be.

@moooep
Copy link
Author

moooep commented Oct 21, 2023

thats my rclone settings btw

`[Unit]
Description=rclone Daemon
After=multi-user.target

[Service]
Type=notify
ExecStart=/usr/bin/rclone mount s3:media "/mnt/s3"
--cache-dir=/mnt/rclone-cache/s3
--log-file=/mnt/rclone-logs/s3.log
--log-level DEBUG
--uid=1000
--gid=1000
--umask=002
--timeout=1h
--fast-list
--no-seek
--async-read
--dir-cache-time=8760h
--attr-timeout=8760h
--vfs-read-ahead=5M
--transfers=10
--s3-chunk-size=32M
--s3-disable-checksum
--multi-thread-streams=32
--vfs-cache-poll-interval=15s
--vfs-cache-mode=full
--vfs-cache-max-age=24h
--vfs-cache-max-size=180G
--vfs-read-chunk-size-limit=1024M
--vfs-read-chunk-size=32M
--buffer-size=16M

ExecStop=/bin/umount -lf "/mnt/s3" > /dev/null
TimeoutSec=60
User=0
Group=0
Restart=on-abort
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3

[Install]
WantedBy=multi-user.target`

@trapexit
Copy link
Owner

I don't know what that information might be.

I describe it in the docs and in the ticket template: https://github.com/trapexit/mergerfs#support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants