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

        • deegeese@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          3
          ·
          24 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.

            • jws_shadotak@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              5
              ·
              20 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
      23 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/

  • MNByChoice@midwest.social
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 day ago

    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.

    Leave home where it is. Symlink to important directories on RAID.

    Makes it easier to mess with the RAID if it doesn’t make logging in hard.

  • normalexit@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    Personally I wouldn’t worry too much about where you mount the volume, I use /storage on my boxes because I is easy to remember and sounds good to me. I also typically make a storage group that I give access to manage the files in the volume vs having my user own everything.

    I wouldn’t put it in home just because you are considering sharing with others.

  • ocean@lemmy.selfhostcat.com
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    1 day ago

    I checked my local backup server and I have two directories:

    /home/share for backup files

    /home/app data for backup appdata

    My main server which unfortunately runs unraid is structured like

    /mnt/user/array/media

    /mnt/user/array/Nextcloud

    /mnt/cache_ssd/appdata