Hello, I have a small distributed setup trying to test NFS. Volume Name: test-vol Type: Distribute Status: Started Number of Bricks: 2 Transport-type: tcp Bricks: Brick1: ubuntu3:/ssdpool/gluster Brick2: ubuntu:/ssdpool/gluster Options Reconfigured: nfs.disable: off auth.allow: 192.* I am trying to mount via NFS from my CentOS 5.7 box using the following command. mount -t nfs 192.168.1.100:/test-vol /mnt/glusterssd and I get the following mount: 192.168.1.100:/test-vol failed, reason given by server: Permission denied How do I allow my client permission to mount via NFS? Bryan McGuire Senior Network Engineer NewNet 66 918.231.8063 bmcguire at newnet66.org
Hi Bryan, You have disabled nfs volume export. So it is failing. -Anush On Mon, Dec 26, 2011 at 10:24 PM, Bryan McGuire <bmcguire at newnet66.org> wrote:> Hello, > > I have a small distributed setup trying to test NFS. > Volume Name: test-vol > Type: Distribute > Status: Started > Number of Bricks: 2 > Transport-type: tcp > Bricks: > Brick1: ubuntu3:/ssdpool/gluster > Brick2: ubuntu:/ssdpool/gluster > Options Reconfigured: > nfs.disable: off > auth.allow: 192.* > > I am trying to mount via NFS from my CentOS 5.7 box using the following command. > mount -t nfs 192.168.1.100:/test-vol /mnt/glusterssd > > and I get the following > mount: 192.168.1.100:/test-vol failed, reason given by server: Permission denied > > How do I allow my client permission to mount via NFS? > > Bryan McGuire > Senior Network Engineer > NewNet 66 > > 918.231.8063 > bmcguire at newnet66.org > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
Bryan, If your mount command is resorting to version 4 of the nfs protocol by default, you need to force version 3. Try this: mount -t nfs -o vers=3,tcp 192.168.1.100:/test-vol /mnt/glusterssd -- Adam On Mon, Dec 26, 2011 at 10:54, Bryan McGuire <bmcguire at newnet66.org> wrote:> Hello, > > I have a small distributed setup trying to test NFS. > Volume Name: test-vol > Type: Distribute > Status: Started > Number of Bricks: 2 > Transport-type: tcp > Bricks: > Brick1: ubuntu3:/ssdpool/gluster > Brick2: ubuntu:/ssdpool/gluster > Options Reconfigured: > nfs.disable: off > auth.allow: 192.* > > I am trying to mount via NFS from my CentOS 5.7 box using the following command. > mount -t nfs 192.168.1.100:/test-vol /mnt/glusterssd > > and I get the following > mount: 192.168.1.100:/test-vol failed, reason given by server: Permission denied > > How do I allow my client permission to mount via NFS? > > Bryan McGuire > Senior Network Engineer > NewNet 66 > > 918.231.8063 > bmcguire at newnet66.org > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
Problem was solved by turning off the NFS server installed on my Ubuntu boxes. Just forgot to do that. Bryan McGuire Senior Network Engineer NewNet 66 918.231.8063 bmcguire at newnet66.org On Dec 27, 2011, at 8:01 AM, Adam Tygart wrote:> Bryan, > > If your mount command is resorting to version 4 of the nfs protocol by > default, you need to force version 3. > > Try this: mount -t nfs -o vers=3,tcp 192.168.1.100:/test-vol /mnt/glusterssd > > -- > Adam > > On Mon, Dec 26, 2011 at 10:54, Bryan McGuire <bmcguire at newnet66.org> wrote: >> Hello, >> >> I have a small distributed setup trying to test NFS. >> Volume Name: test-vol >> Type: Distribute >> Status: Started >> Number of Bricks: 2 >> Transport-type: tcp >> Bricks: >> Brick1: ubuntu3:/ssdpool/gluster >> Brick2: ubuntu:/ssdpool/gluster >> Options Reconfigured: >> nfs.disable: off >> auth.allow: 192.* >> >> I am trying to mount via NFS from my CentOS 5.7 box using the following command. >> mount -t nfs 192.168.1.100:/test-vol /mnt/glusterssd >> >> and I get the following >> mount: 192.168.1.100:/test-vol failed, reason given by server: Permission denied >> >> How do I allow my client permission to mount via NFS? >> >> Bryan McGuire >> Senior Network Engineer >> NewNet 66 >> >> 918.231.8063 >> bmcguire at newnet66.org >> >> >> >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users