Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Bit of an outline: basically I'm running a Raspberry Pi to save videos from a webcam, but naturally the Pi doesn't have too much space, so I've set up a NFS server. Does the directory on the Raspberry Pi (the client) keep the files stored locally if I save the video files to that directory, or does it simply save them to the hard drive of the NFS server?

Naturally, I'm hoping it's not saving them locally on the Pi. Otherwise it will very quickly run out of space!

share|improve this question

1 Answer 1

If you have created an NFS share on the NFS server and mounted it on the client, of course the files will be stored in the server's hard disk although it might look from a perceptual point of view that they are stored in a directory of the client's hard disk. In any case make sure that the share is properly mounted by issuing a mount comand at the clients command line or by simply checking the files are indeed being stored in the server's hard disk from the server's command line.

share|improve this answer
    
Just to confirm, if the files are saved to the NFS server, via the client, they won't be stored locally as well on the client-side? (I always thought that it would be on the server hard disk, but needed to make sure as I'm writing a little script that would be utterly pointless if it did store the files locally too!) –  Elliot Sep 3 '13 at 11:32
    
Interesting thing about Linux, you can mount an external or remote server as if it is a directory on the local server (the raspberry pi). So if you had your NFS server mounted on the /mnt/cam, then as far as linux (or pi) is concerned, it is simply saving all videos to a local folder /mnt/cam while it is actually pointing to a remote host. So in this case, Daniel answer above is accurate. –  Darius Sep 3 '13 at 12:24

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.