Currently getting my first media server set up, and I’m wondering what the best directory would be for all the stored files. For reference, I’m working with Ubuntu server to follow the guide I’m using.

Mainly, I’m wondering if I should migrate /home/ to my RAID array, or leave /home/ where it is and create a new directory on the RAID array. Currently the server will just be for my use, but might expand it for others to use

  • MangoPenguin
    link
    fedilink
    English
    arrow-up
    20
    ·
    23 hours ago

    I mount extra storage under /mnt/ and store stuff like media in there.

      • MangoPenguin
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        22 hours ago

        Interesting, are you accessing files directly on the NAS or something like that where the symlink makes sense?

        • deegeese@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          3
          ·
          20 hours ago

          You want the big files to live on the NAS, but be navigable from your home dir for convenience and to discourage saving to the local disk.

          • MangoPenguin
            link
            fedilink
            English
            arrow-up
            1
            ·
            19 hours ago

            Oh I see, you mean you mount the NAS storage into /home?

            • jws_shadotak@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              5
              ·
              17 hours ago

              Not quite - He’s saying to mount the NAS under /mnt/ and to create a symlink under /home/ to go directly to /mnt/nas/photos

              If you’re on KDE Plasma / Dolphin, this can be done here:

              and put something like this in there

              This will create a folder that goes directly to /mnt/nas/pictures, but you can put it anywhere.

    • SpikesOtherDog@ani.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      20 hours ago

      /mnt/ is where I would put this. Only exception would be if I had a service I was providing, like a media player server, and then I might mount it at /srv/