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

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

@deegeese@sopuli.xyz
link
fedilink
English
1011d

And make symlinks for large collections, like ~/photos -> /mnt/nas/photos

@MangoPenguin@lemmy.blahaj.zone
link
fedilink
English
1
edit-2
11d

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

@deegeese@sopuli.xyz
link
fedilink
English
311d

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.

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

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.

@needanke@feddit.org
link
fedilink
English
29d

A bit offtopic: What theme is that? I was woundering why you would put windows screenshots under a comment about dolphin for a second.

Haha, it’s PlasmaXDark - https://store.kde.org/p/1367172

I genuinely like the look and feel of Windows.

Gosh FINALLY this is starting to make sense. Thanks for your effort!

@SpikesOtherDog@ani.social
link
fedilink
English
2
edit-2
11d

/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/

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 194 users / day
  • 532 users / week
  • 1.38K users / month
  • 3.87K users / 6 months
  • 1 subscriber
  • 4K Posts
  • 82.2K Comments
  • Modlog