exportfs error when trying to restart nfs-kernel-server

Hello,

I have installed a nfs server on ubuntu 8.10 server to map a nfs share to my vmware esx 3.x

the linked directory is /vm

It connected but i get a error when i try to copy big files from another datastore.

I also get an error wheb i try to restart the nfs-kernel-server
[code]
xx@xx:/$ sudo /etc/init.d/nfs-kernel-server restart
exportfs: /etc/exports [1]: Nether 'subtree' or 'no_subtree_check' specified for export '10.37.0.3/16:/mount/vm'.
assuming default behaviour ('no_subtree_check').
NOTE: this default has chaged since nfs-utils version 1.0.x
[/code]
but it still starts the demon!

my exports file:
/mount/vm/    10.37.0.3/16(rw,no_root_squash,async)

/mountvm/ is chmod 777

what should i do?
reza81Asked:
Who is Participating?
 
reza81Connect With a Mentor Author Commented:
solved:

Needed to chenge /etc/exports
to:
/mount/vm/ 10.37.0.3/16(rw,no_root_squash,no_subtree_check,async)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.