Re: [Gluster-users] [ovirt-users] Raid-5 like gluster method?

2014-09-28 Thread Demeter Tibor
Hi, 
Do you recommend this featrue for productive environment? 
Tibor 

- Eredeti üzenet -

> use 3.6 disperse feature, but it is beta2 now, you could use it when it is GA

> On Wed, Sep 24, 2014 at 2:55 PM, Sahina Bose < sab...@redhat.com > wrote:

> > [+gluster-users]
> 

> > On 09/24/2014 11:59 AM, Demeter Tibor wrote:
> 

> > > Hi,
> > 
> 

> > > Is there any method in glusterfs, like raid-5?
> > 
> 

> > > I have three node, each node has 5 TB of disk. I would like utilize all
> > > of
> > > space with redundancy, like raid-5.
> > 
> 
> > > If it not possible, can I make raid-6 like redundanci within three node?
> > > (two
> > > brick/node?).
> > 
> 
> > > Thanks in advance,
> > 
> 

> > > Tibor
> > 
> 

> > > ___
> > 
> 
> > > Users mailing list us...@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > 
> 

> > ___
> 
> > Gluster-users mailing list
> 
> > Gluster-users@gluster.org
> 
> > http://supercolony.gluster.org/mailman/listinfo/gluster-users
> 
___
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] [ovirt-users] Raid-5 like gluster method?

2014-09-28 Thread Mingfan Lu
use 3.6 disperse feature, but it is beta2 now, you could use it when it is
GA

On Wed, Sep 24, 2014 at 2:55 PM, Sahina Bose  wrote:

>  [+gluster-users]
>
> On 09/24/2014 11:59 AM, Demeter Tibor wrote:
>
>  Hi,
>
>  Is there any method in glusterfs, like raid-5?
>
>  I have three node, each node has 5 TB of disk. I would like utilize all
> of space with redundancy, like raid-5.
> If it not possible, can I make raid-6 like redundanci within three node?
> (two brick/node?).
> Thanks in advance,
>
>  Tibor
>
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
>
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>
___
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] cannot write file when gluster 3.6 client mount volume of gluster 3.3

2014-09-28 Thread panpan feng
hi  , maybe I need to comment some more infomation of the situation.

->  version of client and server  <-

client version :  glusterfs 3.6.0 beta1
server version:   glusterfs 3.3.0


-- volume info <-

Volume Name: myvol
Type: Distributed-Replicate
Volume ID: c36dfe1c-3f95-4d64-9dae-1b5916b56b19
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.10.10.10:/mnt/xfsd/myvol-0
Brick2: 10.10.10.10:/mnt/xfsd/myvol-1
Brick3: 10.10.10.10:/mnt/xfsd/myvol-2
Brick4: 10.10.10.10:/mnt/xfsd/myvol-3

-- mount with --debug   <---
/usr/sbin/glusterfs --volfile-server=10.10.10.10 --volfile-id=myvol
/mnt/myvol --debug

then, at another window of client, I  goto the mount point /mnt/myvol and
 execute "ls"
then a couple of lines present. I think no error message.   following, I
execute the command

echo "hello,gluster3.3" > /mnt/myvol/file

then some "error like" message are present .  Again, with "ls" , I can find
the file with name "file" under
mount point.  but "cat /mnt/myvol/file" will result in nothing. which means
, this is an empyt file !!!
After many tests, a conclusion is coming :   I cannot write anything to a
file, while I can create file successfully,
and can read an  existing file successfully.


--> mount log  (some "error like" message when write file )
<<

[2014-09-28 07:41:28.585181] D [logging.c:1781:__gf_log_inject_timer_event]
0-logging-infra: Starting timer now. Timeout = 120, current buf size = 5
[2014-09-28 07:42:42.48] D [MSGID: 0]
[dht-common.c:621:dht_revalidate_cbk] 0-myvol-dht: revalidate lookup of /
returned with op_ret 0 and op_errno 117
[2014-09-28 07:43:19.487414] D [MSGID: 0] [dht-common.c:2182:dht_lookup]
0-myvol-dht: Calling fresh lookup for /file on myvol-replicate-1
[2014-09-28 07:43:19.558459] D [MSGID: 0]
[dht-common.c:1818:dht_lookup_cbk] 0-myvol-dht: fresh_lookup returned for
/file with op_ret -1 and op_errno 2
[2014-09-28 07:43:19.558497] I [dht-common.c:1822:dht_lookup_cbk]
0-myvol-dht: Entry /file missing on subvol myvol-replicate-1
[2014-09-28 07:43:19.558517] D [MSGID: 0]
[dht-common.c:1607:dht_lookup_everywhere] 0-myvol-dht: winding lookup call
to 2 subvols
[2014-09-28 07:43:19.634376] D [MSGID: 0]
[dht-common.c:1413:dht_lookup_everywhere_cbk] 0-myvol-dht: returned with
op_ret -1 and op_errno 2 (/file) from subvol myvol-replicate-0
[2014-09-28 07:43:19.634573] D [MSGID: 0]
[dht-common.c:1413:dht_lookup_everywhere_cbk] 0-myvol-dht: returned with
op_ret -1 and op_errno 2 (/file) from subvol myvol-replicate-1
[2014-09-28 07:43:19.634605] D [MSGID: 0]
[dht-common.c:1086:dht_lookup_everywhere_done] 0-myvol-dht: STATUS:
hashed_subvol myvol-replicate-1 cached_subvol null
[2014-09-28 07:43:19.634624] D [MSGID: 0]
[dht-common.c:1147:dht_lookup_everywhere_done] 0-myvol-dht: There was no
cached file and  unlink on hashed is not skipped /file
[2014-09-28 07:43:19.634663] D [fuse-resolve.c:83:fuse_resolve_entry_cbk]
0-fuse: ----0001/file: failed to resolve (No
such file or directory)
[2014-09-28 07:43:19.708608] I [dht-common.c:1822:dht_lookup_cbk]
0-myvol-dht: Entry /file missing on subvol myvol-replicate-1
[2014-09-28 07:43:19.781420] D [logging.c:1937:_gf_msg_internal]
0-logging-infra: Buffer overflow of a buffer whose size limit is 5. About
to flush least recently used log message to disk
[2014-09-28 07:43:19.708640] D [MSGID: 0]
[dht-common.c:1607:dht_lookup_everywhere] 0-myvol-dht: winding lookup call
to 2 subvols
[2014-09-28 07:43:19.781418] D [MSGID: 0]
[dht-common.c:1413:dht_lookup_everywhere_cbk] 0-myvol-dht: returned with
op_ret -1 and op_errno 2 (/file) from subvol myvol-replicate-0
[2014-09-28 07:43:19.781629] D [MSGID: 0]
[dht-common.c:1413:dht_lookup_everywhere_cbk] 0-myvol-dht: returned with
op_ret -1 and op_errno 2 (/file) from subvol myvol-replicate-1
[2014-09-28 07:43:19.781653] D [MSGID: 0]
[dht-common.c:1086:dht_lookup_everywhere_done] 0-myvol-dht: STATUS:
hashed_subvol myvol-replicate-1 cached_subvol null
[2014-09-28 07:43:19.851925] I [dht-common.c:1822:dht_lookup_cbk]
0-myvol-dht: Entry /file missing on subvol myvol-replicate-1
[2014-09-28 07:43:19.851954] D [logging.c:1937:_gf_msg_internal]
0-logging-infra: Buffer overflow of a buffer whose size limit is 5. About
to flush least recently used log message to disk
The message "D [MSGID: 0] [dht-common.c:1818:dht_lookup_cbk] 0-myvol-dht:
fresh_lookup returned for /file with op_ret -1 and op_errno 2" repeated 2
times between [2014-09-28 07:43:19.558459] and [2014-09-28 07:43:19.851922]
[2014-09-28 07:43:19.851954] D [MSGID: 0]
[dht-common.c:1607:dht_lookup_everywhere] 0-myvol-dht: winding lookup call
to 2 subvols
[2014-09-28 07:43:19.922764] D [MSGID: 0]
[dht-common.c:1413:dht_lookup_everywhere_cbk] 0-myvol-dht: returned with
op_ret -1 and op_errno 2 (/file) from subvol myvol-replicate-0
[2014-09-28 07:43:19.922925] D [MSGID: 0]
[dht-common.c:14