I just installed distributed gluster FS on 2 CentOS 5 boxes. install and configuration seemed to go fine. gluterd is running. firewalls/ iptables are off. however for the life of me i cannot nfs mount the main gluster server from either a OSX or a CentOS 5 box. I use NFS often and have a fair amount of experience with it so i've reviewed most of the common pitfalls. here's the command that fails from centos: $ sudo mount -v -t nfs 172.16.1.76:/gs-test /mnt/gluster/ mount: trying 172.16.1.76 prog 100003 vers 3 prot tcp port 2049 mount: trying 172.16.1.76 prog 100005 vers 3 prot udp port 909 mount: 172.16.1.76:/gs-test failed, reason given by server: No such file or directory and the same one from OSX 10.5 sudo mount -v -t nfs 172.16.1.76:/gs-test /gluster/ mount_nfs: can't access /gs-test: No such file or directory what's weird is that i can mount actual dirs on the gluster server, just not the gluster VOLNMAE. in other words, this command works fine because it's mounting an actual dir. $sudo mount -v -t nfs 172.16.1.76:/ /mnt/gluster/ help? thanks, -matt ------- Matt Hodson Scientific Customer Support, Geospiza (206) 633-4403, Ext. 111 http://www.geospiza.com
Matt - I talked to engineering, is it possible another NFS service is running on the servers? Can you send us a ps -ef? Thanks, Craig --> Craig Carl Gluster, Inc. Cell - (408) 829-9953 (California, USA) Gtalk - craig.carl at gmail.com From: "Matt Hodson" <matth at geospiza.com> To: gluster-users at gluster.org Sent: Wednesday, November 3, 2010 11:18:42 AM Subject: [Gluster-users] cannot nfs mount glusterFS I just installed distributed gluster FS on 2 CentOS 5 boxes. install and configuration seemed to go fine. gluterd is running. firewalls/ iptables are off. however for the life of me i cannot nfs mount the main gluster server from either a OSX or a CentOS 5 box. I use NFS often and have a fair amount of experience with it so i've reviewed most of the common pitfalls. here's the command that fails from centos: $ sudo mount -v -t nfs 172.16.1.76:/gs-test /mnt/gluster/ mount: trying 172.16.1.76 prog 100003 vers 3 prot tcp port 2049 mount: trying 172.16.1.76 prog 100005 vers 3 prot udp port 909 mount: 172.16.1.76:/gs-test failed, reason given by server: No such file or directory and the same one from OSX 10.5 sudo mount -v -t nfs 172.16.1.76:/gs-test /gluster/ mount_nfs: can't access /gs-test: No such file or directory what's weird is that i can mount actual dirs on the gluster server, just not the gluster VOLNMAE. in other words, this command works fine because it's mounting an actual dir. $sudo mount -v -t nfs 172.16.1.76:/ /mnt/gluster/ help? thanks, -matt ------- Matt Hodson Scientific Customer Support, Geospiza (206) 633-4403, Ext. 111 http://www.geospiza.com _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
On Nov 3, 2010, at 11:18 AM, Matt Hodson wrote:> I just installed distributed gluster FS on 2 CentOS 5 boxes. install and configuration seemed to go fine. gluterd is running. firewalls/iptables are off. however for the life of me i cannot nfs mount the main gluster server from either a OSX or a CentOS 5 box. I use NFS often and have a fair amount of experience with it so i've reviewed most of the common pitfalls. > > here's the command that fails from centos: > $ sudo mount -v -t nfs 172.16.1.76:/gs-test /mnt/gluster/ > mount: trying 172.16.1.76 prog 100003 vers 3 prot tcp port 2049 > mount: trying 172.16.1.76 prog 100005 vers 3 prot udp port 909 > mount: 172.16.1.76:/gs-test failed, reason given by server: No such file or directory > > and the same one from OSX 10.5 > sudo mount -v -t nfs 172.16.1.76:/gs-test /gluster/ > mount_nfs: can't access /gs-test: No such file or directory > > what's weird is that i can mount actual dirs on the gluster server, just not the gluster VOLNMAE. in other words, this command works fine because it's mounting an actual dir. > $sudo mount -v -t nfs 172.16.1.76:/ /mnt/gluster/You have the kernel NFS service running. That is why you can mount regular directories on the gluster server. When you try to mount Gluster the kernel NFS server is actually looking for a directory called /gs-test, which ofcourse does not exist. You need to stop the kernel NFS service and stop and start the gluster volume. ------------------------------ Vikas Gorur Engineer - Gluster, Inc. ------------------------------