Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

is it possible to export more than one nfs share for a single client? in my /etc/export i have:

 /share/dir1  client1_hostname*(rw,fsid=0,sync,no_root_squash)
 /share/dir2  client1_hostname*(rw,fsid=0,sync,no_root_squash)

on the client side when i mount the directries

 mount -t  nfs server_ip:/share/dir1 /client/dir1
 mount -t  nfs server_ip:/share/dir2 /client/dir2

the mount is successfuly, but both mounts end up looking at the first exported directory from the server.

is what i am trying to do possible?

Regards and thanks.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

The method is valid but I believe the issue is that you've got fsid=0 set on both. You do not need to set fsid. Remove it, and rexport with exportfs -r -a

share|improve this answer
    
thanks Fuzzyfelt, it worked like a charme. –  Vladimir Oct 12 '12 at 8:46

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.