[Gluster-users] Directory listings not working (Khawaja Shams)

Shishir Nagaraja. Gowda shishirng at gluster.com
Fri Oct 7 05:10:56 UTC 2011

Hi Khawaja,

Can you please provide the client logs to help us triage the issue?

With regards,
From: gluster-users-bounces at gluster.org [gluster-users-bounces at gluster.org] on behalf of gluster-users-request at gluster.org [gluster-users-request at gluster.org]
Sent: Friday, October 07, 2011 12:30 AM
To: gluster-users at gluster.org
Subject: Gluster-users Digest, Vol 42, Issue 8

Send Gluster-users mailing list submissions to
        gluster-users at gluster.org

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
        gluster-users-request at gluster.org

You can reach the person managing the list at
        gluster-users-owner at gluster.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gluster-users digest..."

Today's Topics:

   1. Re: Gluster on EC2 - how to replace failed        EBS     volume?
      (Don Spidell)
   2. Re: Directory listings not working (Khawaja Shams)


Message: 1
Date: Thu, 06 Oct 2011 13:42:33 -0400 (EDT)
From: Don Spidell <dspidell at nxtbookmedia.com>
Subject: Re: [Gluster-users] Gluster on EC2 - how to replace failed
        EBS     volume?
To: Olivier Nicole <Olivier.Nicole at cs.ait.ac.th>
Cc: gluster-users at gluster.org
Message-ID: <62d849c4-e532-494f-a0a1-b69af59114b8 at dspidell>
Content-Type: text/plain; charset=utf-8


That is a brilliant idea.  I implemented it in a test environment today and am doing some benchmarks.  Great idea to eliminate RAID0.  I was only using it to get better I/O throughput on EC2 EBS.  I didn't know that Gluster would handle the striping like it does.

Thank you very much!

----- Original Message -----
From: "Olivier Nicole" <Olivier.Nicole at cs.ait.ac.th>
To: dspidell at nxtbookmedia.com
Cc: gluster-users at gluster.org
Sent: Wednesday, October 5, 2011 10:45:13 PM
Subject: Re: [Gluster-users] Gluster on EC2 - how to replace failed EBS volume?

Hi Don,

> Thanks for your reply.  Can you explain what you mean by:
> > Instead of configuring your 8 disks in RAID 0, I would use JOBD and
> > let Gluster do the concatenation. That way, when you replace a disk,
> > you just have 125 GB to self-heal.

If I am not mistaken, RAID 0 provides no redundancy, it just
concatenates the 8 125GB disks together so they appear as one big 1TB

So I would not use any RAID on the machine, just have 8 independent
disks and mount the 8 disks at eight locations:

mount /dev/sda1 /
mount /dev/sdb1 /datab
mount /dev/sdc1 /datac

The in gluster I would have the bricks


If any disk (except the system disk) fails, you can simply fit in a
new disk and let gluster self-heal.

Even if RAID 0 increases the disk throughput because it does stripping
(write different blocks to different disks), gluster does the same
more or less, each new file will end up in a different disk. So the
trhoughput should be close.

The only disadvantage is that gluster will have some space overhead,
as it will create a replicate of the directory tree on each disk.

I think that you should only use RAID with gluster when RAID provides
local redundancy (RAID 1 or above): in that case, when a disk fails,
gluster will not notice the problem, you swap to a new disk and let
RAID rebuild the information.




Message: 2
Date: Thu, 6 Oct 2011 11:17:45 -0700
From: Khawaja Shams <kshams at usc.edu>
Subject: Re: [Gluster-users] Directory listings not working
To: Luis Cerezo <lec at luiscerezo.org>
Cc: gluster-users at gluster.org
        <CAD7LovQV4Ciz80XTGY4+7d5EDe=BriwEH_qWSiVRSpg4RMC1pA at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

  To clarify, we are not intentionally using a nightly build. We downloaded
the src from here:

After installing from the source, we get the version specified in the email
above. Is this incorrect? Where should we be downloading the stable build
from? Thanks!


On Wed, Oct 5, 2011 at 3:44 PM, Khawaja Shams <kshams at usc.edu> wrote:

> Hi Luis,
>    Thanks for responding. We are using the nightly build from October 4th.
> Maybe that is our problem.
> glusterfs 3.2.4 built on Oct  4 2011 22:49:01
> Repository revision: git://git.gluster.com/glusterfs.git
> Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
> GlusterFS comes with ABSOLUTELY NO WARRANTY.
> You may redistribute copies of GlusterFS under the terms of the GNU General
> Public License.
> Our ls is the same as /bin/ls:
> # which ls
> alias ls='ls --color=tty'
>     /bin/ls
> Any suggestions?
> Regards,
> Khawaja
> On Wed, Oct 5, 2011 at 5:48 AM, Luis Cerezo <lec at luiscerezo.org> wrote:
>> you don't say what version. is there a difference for you between /bin/ls
>> and ls?
>> -luis
>> On Oct 5, 2011, at 6:04 AM, Khawaja Shams wrote:
>> Hello,
>>   I just finished installing gluster on two machines in server mode in
>> EC2. I have mounted it via fuse on one of the boxes. Here is my volume info:
>> # gluster volume info
>> Volume Name: fast
>> Type: Stripe
>> Status: Started
>> Number of Bricks: 2
>> Transport-type: tcp
>> Bricks:
>> Brick1: server1:/data2
>> Brick2: server2:/data
>> All of this works great, and I can write files at a fairly high
>> throughput. However, I cannot list files in the directory. I can write files
>> and then read them back without any concerns. Furthermore, I can see parts
>> of the files in the /data and /data2 directories on the server.
>>   Did I miss a step? Thank you.
>> Regards,
>> Khawaja
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>> Luis E. Cerezo
>> http://www.luiscerezo.org
>> http://twitter.com/luiscerezo
>> http://flickr.com/photos/luiscerezo
>> photos for sale:
>> http://photos.luiscerezo.org
>> Voice: 412 223 7396
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gluster.org/pipermail/gluster-users/attachments/20111006/36018e47/attachment.html>


Gluster-users mailing list
Gluster-users at gluster.org

End of Gluster-users Digest, Vol 42, Issue 8

More information about the Gluster-users mailing list