2

I want to start using our home server as a media server for movies and shows, the question is where is the most appropriate place to store them?

The most appropriate places seems to be:

  • /var
  • My user directory
  • Create a new user specifically for media and store stuff there

Ideas or suggestions?

2 Answers 2

6

Its up to you really, I store all my media in /home/{name}/videos and share it with samba. No problems with that.

You can store it in /var; nothing wrong with that either.

There is only problems if you are working in a multi-user environment. If that was the case, I would suggest you store personal files in /home/{name} and shared files in /var/

Provided you don't have any extra partitions, it does not matter where you put the files.

3
  • Well, it's sort of a multi user environment but the other users doesn't have home directories as they are only for mounting shares. Currently I'm storing everything in my home directory. Sep 5, 2011 at 2:58
  • Then i would put the data in /var/samba/ or something. However if it works, dont fix it, its good practice to only have files in your home directory accessible and read by you otherwise you run into problems with file ownership but if that's not a problem then dont worry about it.
    – Silverfire
    Sep 5, 2011 at 3:03
  • I know, believe me :D /var/shared/ it is! Sep 5, 2011 at 3:54
5

In my understanding of LHS 2.3 I would place them in a subdirectory of /srv/. I tend to use a subdirectory in /srv/exports/ to store shared files, like in your case /srv/exports/media/. I name it "exports" so it is not related to Samba (as you can also want to share it in NFS, AFP,...).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .