Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question

migrated from serverfault.com Sep 5 '11 at 2:53

This question came from our site for professional system and network administrators.

add comment

2 Answers

up vote 5 down vote accepted

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 dont have any extra partitions it does not matter where you put the files.

share|improve this answer
    
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. –  Nicklas Ansman Sep 5 '11 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 '11 at 3:03
    
I know, believe me :D /var/shared/ it is! –  Nicklas Ansman Sep 5 '11 at 3:54
add comment

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,...).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.