Re: Testing Gluster 3.2.4 in VMware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, Daniel.
I am also testing gluster on vmware; in my application, it will be a secondary datastore for VM images.

So far, I've hit a couple of brick walls, like, for instance, VMware not reading volumes created as striped, or striped + replicated. It simply sits there, trying, four hours, without errors on either sides.

But your current configuration WILL work.

As a suggestion, to begin with your troubleshooting, try disabling firewall and SElinux. nothing to do with your current problem, BUT will matter in the near future. After you are sure all works, go back an re-enable/ fine tune them.

Now to your problem...

Your first syntax seem to be a bit off,unless it is a typo; 

sudo mount.glusterfs 192.168.100.170:gv0 /mnt/export

you see, there is a slash missing after. It should read

sudo mount.glusterfs 192.168.100.170:/gv0 /mnt/export

For the second case, you did not post the error message, so I can only suggest you try copying/pasting this:

sudo mount -t glusterfs 192.168.100.170:/gv0 /mnt/export

Now, here is another trick: try mounting wit nfs:

First, make sure your NFS share is really being shared:

# showmount -e 192.168.100.170

Alternatively, if you are on one of the gluster servers, just for testing, you may try:

# showmount -e localhost

Make sure your gluster volume is REALLY called gv0.

Now you can try mounting with:

sudo mount -t nfs 192.168.100.170:/gv0 /mnt/export

Again, if you are on one of the servers, try 

sudo mount -t nfs localhost:/gv0 /mnt/export

You might want to "sudo su" to run everything all commands as root, without the hassle of sudoing everything.

Give it a try. If nfs works, go for it anyway; It is your only option for VMware/esxi anyway.

There are a few more advanced steps on esxi and on gluster, but let's get it to work first, right ?

Cheers, 

On Fri, Mar 7, 2014 at 9:15 AM, Daniel Baker <info@xxxxxxxxxxxxxxxxxxxxxx> wrote:

Hi,

I have followed your tutorial to set up glusterfs 3.4.2 in vmware.
http://www.gluster.org/community/documentation/index.php/Getting_started_configure

My  gluster volume info is the same as this:


Volume Name: gv0
Type: Replicate
Volume ID: 8bc3e96b-a1b6-457d-8f7a-a91d1d4dc019
Status: Created
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: node01.yourdomain.net:/export/sdb1/brick
Brick2: node02.yourdomain.net:/export/sdb1/brick

In order to test replication I have installed the glusterfs-client on my
ubuntu 12.04  laptop.

I issue this command:

sudo mount.glusterfs 192.168.100.170:gv0 /mnt/export

but I receive this  error :

Usage:  mount.glusterfs <volumeserver>:<volumeid/volumeport> -o
<options> <mountpoint>
Options:
man 8 mount.glusterfs

To display the version number of the mount helper:
mount.glusterfs --version



I have also tried this variant :

 # mount -t glusterfs HOSTNAME-OR-IPADDRESS:/VOLNAME MOUNTDIR



So how do I mount the volumes and test the replication. Your getting
started tutorial doesn’t detail that ?

Thanks for your help

Dan

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux