Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a 10 disks RAID10 using EBS on AWS EC2 using mdadm on a ubuntu 12.04.2 LTS instance. Let's call this instance A. It works fine and I can create files and folders perfectly in the volume.

I want to share the volume via NFS to be accessible via another instance B. So, I installed the NFS server on instance A and the NFS client on instance B and I was able to mount the RAID10 Array from A on B using NFS. I can see the files via B.

The problem is that If I try to create anything (files or folders) in the mounted volume on B, I get a permission denied even if I'm root.

Am I forgeting something?

Thank you very much for any help.

share|improve this question
up vote 2 down vote accepted

Did you try with a normal user? According to GNU/Linux Desktop Survival Guide, By default root on a client is mapped to user nobody on an NFS server, so root user on B will have virtually no privilege on A.

share|improve this answer
That was exactly it!!! I simply added no_root_squash to the /etc/exports and all worked perfectly!! I was cracking my head for 2 days on this thing! Perfect answer. Thank you very much! – Daniel Ferreira Jorge Oct 2 '13 at 18:41

Your Answer


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.