I have a Raspberry Pi with a 2TB SSD on which I store all of my media. That media sits in a directory that is capable of being mounted on other computers via NFS.

I have that directory mounted on another computer via NFS in /mnt. I am able to create directories, create files, move files there, and they show up instantaneously on the Raspberry Pi (I do this without sudo because I gave my user write permissions via chown).

However, when I attempt to download a torrent via Transmission and have it automatically save to the NFS-mounted share, it does so for a few seconds, then gives me one of the two following errors:

Error:  Permission denied (/mnt/....)

or

Error: Read-only filesystem (/mnt/....)

My Transmission Daemon user is set up to be my normal user.

Anybody have any ideas? I followed these three tutorials to set it all up:

Thank you in advance for any help you can provide.

  • poVoq@slrpnk.net
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    20mbit/s per second is not so much, but it should work. In general you have to differentiate between three things with Lemmy:

    1. Users on your own instance directly utilizing the client api (medium bandwidth heavy, medium CPU)
    2. Users from other instances indirectly accessing communities (low bandwidth, but potentially high CPU)
    3. Either of the above directly loading images from your instance (potentially very bandwidth heavy)

    For 1: you can limit the number of people you allow to sign up on your instance (highly recommended)

    For 2: this is depends on the number of subscribers and the number or external servers but overall is relatively efficient as the remote servers take most of the load, but your server will still have a high database load if remote people comment and post a lot.

    For 3: Until Lemmy implements a fully image proxy, this will likely be your main problem with only 20mbit/s upload. But you can severely limit the size of images being uploaded and convert them to smaller sized webp images automatically. But if a lot of people try to download the same image from your instance, it’s going to be a problem.

    • animist@lemmy.oneOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I tried changing it just now to me and got this error:

      [username]@[hostname]:~$ sudo chown -R [username]:[username] /mnt
      chown: changing ownership of '/mnt': Read-only file system
      

      Is there a way to make it writeable? Is that something I even want to do?

    • animist@lemmy.oneOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Okay I managed to solve it with two things:

      • in settings.json, changed umask from 18 to 2.
      • in settings.json, changed incomplete dir from true to false (it didn’t seem to like ANYWHERE that i put this so I just said screw it, let’s not have one, it’s not that big of a deal)