[Gluster-devel] Re-exporting NFS to vmware
Gordan Bobic
gordan at bobich.net
Thu Jan 6 12:14:45 UTC 2011
沈允中 wrote:
> Hi,
> Thanks for the advice.
> My problem is just like you said.
> But is there any alternative way that I can solve my problem?
> Because vmware really doesn't have the glusterfs protocol to mount.
> I know that the Gluster.com may publish their VMStor product to improve this.
> However, to tell the truth, I don't want to spend money.......:p
>
> If the problem cannot be solved now, does anyone know other file systems which are similar to Gluster so that I can mount by nfs protocol without losing performance?
> Thanks in advance.
>
>
> Best Regards,
> Sylar Shen
> ________________________________________
>
>
> Sylar wrote:
>> Hi All:
>>
>> I wanted to use GlusterFS as a share storage to connect with vmware.
>>
>> But the nfs protocol had a poor performance when the scalability got
>> larger.(I have 20 servers as a GlusterFS)
>>
>> So I figured out a way when I saw the wiki of Ceph
>>
>> http://ceph.newdream.net/wiki/Re-exporting_NFS
>>
>>
>>
>> I think that I can add a middle-converter between vmware and GlusterFS.
>>
>> It can connect with vmware by nfs and mount GlusterFS by glusterfs.
>>
>> Here is the architecture I thought.......
>>
>> And then I had a problem. The middle-tier is OK to connect with
>> GlusterFS by glusterfs protocol.
>>
>> But the errors happened when vmware connects with middle-tier by nfs
>> protocol.
>>
>> The vmware cannot mount middle-tier by nfs at the first time.
>>
>> Even if vmware can mount the middle-tier by nfs, it cannot see the data
>> in the GlusterFS.
>>
>> It can only see the data(directory) in the middle-tier
>>
>>
>>
>> Does anyone have the same problem as I ?
>>
>> How do you solve this thorny problem?
>
> Are you saying you are mounting GlusterFS on an interim node, and then
> re-exporting that via NFS? What are you using for the NFS export? Last I
> checked kernel nfsd didn't work with fuse based file systems, so you'd
> have to use something like unfsd (user-space) instead. You may, however,
> find that if you do that, the extra performance hit from unfsd will undo
> most of the speed-up you are hoping to achieve.
If the only problem you have is providing an NFS share to the client,
then you could either use unfsd (google it, I'm sure you'll find it), or
use the GlusterFS's NFS interface that is supposed to be more efficient
than unfsd. Both of these were discussed here a while back, check the
archives.
Gordan
More information about the Gluster-devel
mailing list