From: harrylogin <har...@16...> - 2010-12-30 02:05:14
|
Message: 1 Date: Thu, 23 Dec 2010 14:25:14 -0700 From: Jun Cheol Park <jun...@gm...> Subject: [Moosefs-users] nfs export of mfs mount point To: moosefs-users <moo...@li...> Message-ID: <AANLkTinUhcnc4=MqOOnZMTFf_VUYeuCa=szk...@ma...> Content-Type: text/plain; charset=ISO-8859-1 Hi, Using nfs (v4 on CentOS 5.5) on top of mfs is definitely silly. However, some applications that I plan to use can run only with nfs, so I tried to export mfs mount point as an nfs export. For easiness, right now I am not using any iptables rules on any node. On the nfs server (10.1.2.22, at the same time, as a mfs client): # cat /etc/exports /mnt/mfs 10.*(rw,no_root_squash) # df | grep mfs mfs#10.1.2.22:9421 on /mnt/mfs type fuse (rw,allow_other,default_permissions) On the nfs client (10.1.2.24): I got the following error. # mount -t nfs 10.1.2.22:/mnt/mfs /mnt/nfs_mfs/ mount: 10.1.2.22:/mnt/mfs failed, reason given by server: Permission denied # tail /var/log/messages Dec 23 14:23:23 host1a mountd[17279]: authenticated mount request from 10.1.2.24:805 for /mnt/mfs (/mnt/mfs) Dec 23 14:23:23 host1a mountd[17279]: Cannot export /mnt/mfs, possibly unsupported filesystem or fsid= required Is there anyone who knows a workaround? Thanks, -Jun --------------------------------- hi,may be you can change /etc/exports like this /mnt/mfs/test *(rw,fsid=10) Thanks, -harryzhang 2010-12-30 |