From: youngcow <you...@gm...> - 2011-02-13 01:38:12
|
Hi I build a moosefs storage to my application. Now I meet a problem about it. I have a vmware ESXi 4 system and I want ESXi use the moosefs storage. I found ESXi support nfs. Then I build a file server which mount moosefs file system. But Linux kernel nfs server can't export no-local file system. I install unfs which is a user space nfs server. But I find a problem , Unfs dosen't support nfs feature "readdirplus" and ESXi 4 uses it. It's very big problem for me. Anyone can help me ? Thanks. |
From: youngcow <you...@gm...> - 2011-02-14 07:20:56
|
Thanks. That's a good idea. I will try it later. But I wonder the performance of the big file on mfs. Today I find the GlusterFS implement native NFS. I think they have find this problem of unfsd (it used unfsd before). I hope MFS can have native NFS support. > Hi, > > You can try the ISCSI software. > Dd a big file in the mfs mounted dir ,and share the file like a block > in the ISCSI (iscisi-target can finish the work). > Use the ESXi manage client(Vsphere? I forgot it's name) mount the > iscsi disk. > |
From: youngcow <you...@gm...> - 2011-02-14 07:23:05
|
I have test the solution of iscsi. I use iscsitarget-1.4.20.2 and install on rhel 5.5 x64. I make a file(size 80G on mfs) and share with 2 node ESXi4 but only one ESXi4 can use it (VMFS) another ESXi4 can see the lun but it can't use it. Then I make another file (size 4G) on normal filesystem(ext3 local) and share to these machines and two ESXi4 nodes can use it. I can;t understand these, anyone know the reason ? Thanks. the config file is cat /etc/iet/ietd.conf User userid superpassword Target iqn.2011-02.cn.thcic.storage:storage.vmiso Lun 0 Path=/data/iscsi/vmiso,Type=fileio Lun 1 Path=/home/data/myiso,Type=fileio vmiso(lun 0) is on mfs and myiso(lun 1) on ext3. > Hi, > > You can try the ISCSI software. > Dd a big file in the mfs mounted dir ,and share the file like a block > in the ISCSI (iscisi-target can finish the work). > Use the ESXi manage client(Vsphere? I forgot it's name) mount the > iscsi disk. > |
From: Davies L. <dav...@gm...> - 2011-04-22 02:05:51
|
MFS has chunk lock when writing, may be it's the reason. You could use NFS server over iSCSI, then export it to ESXi4 VM. 在 2011-2-14,下午3:22, youngcow 写道: > I have test the solution of iscsi. > I use iscsitarget-1.4.20.2 and install on rhel 5.5 x64. I make a > file(size 80G on mfs) and share with 2 node ESXi4 but only one ESXi4 can > use it (VMFS) another ESXi4 can see the lun but it can't use it. > > Then I make another file (size 4G) on normal filesystem(ext3 local) and > share to these machines and two ESXi4 nodes can use it. > > I can;t understand these, anyone know the reason ? > > Thanks. > > the config file is > > cat /etc/iet/ietd.conf > User userid superpassword > Target iqn.2011-02.cn.thcic.storage:storage.vmiso > Lun 0 Path=/data/iscsi/vmiso,Type=fileio > Lun 1 Path=/home/data/myiso,Type=fileio > > > vmiso(lun 0) is on mfs and myiso(lun 1) on ext3. > >> Hi, >> >> You can try the ISCSI software. >> Dd a big file in the mfs mounted dir ,and share the file like a block >> in the ISCSI (iscisi-target can finish the work). >> Use the ESXi manage client(Vsphere? I forgot it's name) mount the >> iscsi disk. >> > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > moosefs-users mailing list > moo...@li... > https://lists.sourceforge.net/lists/listinfo/moosefs-users |
From: youngcow <you...@gm...> - 2011-02-14 10:33:05
|
Hi When I use one file on ext3 file system, It worked very well. So I think it's a problem of moosefs. But I don't know the reason. > HI, > > I'm sorry you can't do that. > A file must be used by one at the same time > > You can do this : HA + DRBD > > ------------------------ >> But I want exsi see the same content and build HA cluster.So I must use >> one file. >> >>> Hi, >>> >>> You can create two file in mfs mounted dir,and share the two file by >>> iscsi >>> ------------------------------------ >>>> Hi, >>>> Yes.I have two ESXi host will share this one storage. >>>> >>>> >>>>> Hi, >>>>> >>>>> I'm sorry that I don't understand your meaning. >>>>> Do you mean that you hope two ESXis use one same iscsi target ? >>>>> >>>>> Regards >>>> >>> >>> >> > > |