Here's my /etc/mtab file on the server (the important parts):

/dev/sda1 / ext4 rw,errors=remount-ro 0 0
/dev/sda5 /home ext4 rw 0 0
/dev/sdb1 /data ext3 rw 0 0
/dev/sdc /data/video ext3 rw 0 0

Here's my /etc/exports:


The problem is: within /data is a music and books folder, as well as video..

when i mount the NFS drive on any other machine, I can see the contents of /data/books and /data/music but /data/video is empty.

I can't seem to figure out why.



Any device mounted separately needs to have its own export entry. So if you have an export /exp and mount some devices on /exp/mnt1, /exp/mnt2, etc., then each of those directories need to be exported, and mounted on the client. So your /etc/exports will look like:


And you will have to add entries to the client /etc/fstab for both exports. There's also a typo in your /etc/fstab, where /dev/sdc should be /dev/sdc1 (or whatever the partition actually is). Have a look at this Unix & Linux question for more information.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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