[Gluster-users] Gluster 3.1 newbe question

Daniel Müller mueller at tropenklinik.de
Tue Dec 21 15:06:47 UTC 2010


Even started it is the same, perhaps I missed a thing:
[root at ctdb1 ~]# gluster volume info

Volume Name: samba-vol
Type: Replicate
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 192.168.132.56:/glusterfs/export
Brick2: 192.168.132.57:/glusterfs/export

I created the volumes like:
gluster volume create samba-vol  replica 2 transport tcp 192.168.132.56:/glusterfs/export 192.168.132.57:/glusterfs/export

Both are mounted:

# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
glusterfs#192.168.132.56:/samba-vol on /mnt/glusterfs type fuse (rw,allow_other,default_permissions,max_read=131072)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)



-----------------------------------------------
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------

-----Ursprüngliche Nachricht-----
Von: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] Im Auftrag von Daniel Maher
Gesendet: Dienstag, 21. Dezember 2010 15:21
An: gluster-users at gluster.org
Betreff: Re: [Gluster-users] Gluster 3.1 newbe question

On 12/21/2010 02:54 PM, Daniel Müller wrote:

> I have build up a two peer gluster on centos 5.5 x64
> My Version:
> glusterfs --version
> glusterfs 3.1.0 built on Oct 13 2010 10:06:10
> Repository revision: v3.1.0
> Copyright (c) 2006-2010 Gluster Inc.<http://www.gluster.com>
> GlusterFS comes with ABSOLUTELY NO WARRANTY.
> You may redistribute copies of GlusterFS under the terms of the GNU Affero
> General Public License.
>
> I set up my bricks and vols with success:
> [root at ctdb1 peers]# gluster volume info
>
> Volume Name: samba-vol
> Type: Replicate
> Status: Created
> Number of Bricks: 2
> Transport-type: tcp
> Bricks:
> Brick1: 192.168.132.56:/glusterfs/export
> Brick2: 192.168.132.57:/glusterfs/export
>
> And mounted them everything great.
> But when testing: Writing on one peer-server while the other is restarted or
> down gluster is hanging until the second
> Is online again.
> How do I manage to get around this. Users should work without interruption
> or waiting  and the files should be replicated
> Again after the peers are online again!??

Hello,

I have exactly the same set up and am (literally) testing it as i type 
this, and i can bring one of the nodes and up and down as much as i like 
without causing an interruption on the other.

I notice that your output says "Status: Created" instead of "Status: 
Started".  I don't know if that has anything to do with it, but it is 
notable.

-- 
Daniel Maher <dma+gluster AT witbe DOT net>
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users




More information about the Gluster-users mailing list