VMware Cloud Community
alinik
Contributor
Contributor
Jump to solution

shared NFS on ubuntu

Hi,

I am using an ubuntu 10.04 for hosting the shared NFS for my ESXi nodes.

I've done all the configurations of the NFS in ubuntu and added the NFS to the storage section of the hosts in vCenter server.

when I try to create a new VM on one of NFS storages, or migrate the data storage of a VM to it, I face an error which says "unable to access file ... "

I can browse the NFS contents but it seems that it can not write to it.

In ubuntu I've given the write authority to that NFS.

Does anybody know the solution?

Thanks,

Ali

0 Kudos
1 Solution

Accepted Solutions
mcowger
Immortal
Immortal
Jump to solution

you need no_root_squash, not root_squash (which is the default).

--Matt VCDX #52 blog.cowger.us

View solution in original post

0 Kudos
3 Replies
mcowger
Immortal
Immortal
Jump to solution

Did you enable trusted root access? (e.g. its usually called root_squash = no)?

--Matt VCDX #52 blog.cowger.us
alinik
Contributor
Contributor
Jump to solution

I didn't enable it before so I changed the exports file in ubuntu to :

/home/NFS1 192.168.1.0/24(rw,root_squash)

and redefined the NFS in vCenter. but it still doesn't work.

0 Kudos
mcowger
Immortal
Immortal
Jump to solution

you need no_root_squash, not root_squash (which is the default).

--Matt VCDX #52 blog.cowger.us
0 Kudos