Re: Stripe doesn't work ?

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

 



Hi Benjamin,
Its working fine. Actually our stripe design is such that it creates holes
in the file. So, if you see the file size with 'ls -l' you see bigger file,
but if you see the actual storage blocks they use ('du') it will be
dependent on how the file is striped.
 (Its nice if one configures the "option block-size *:<size>" with proper
block-size, then you can see, a file using lesser blocks, we prefer 128kB or
1MB would be optimal).

And stripe doesn't use any namespace.

Regards,
Amar

On 10/30/07, CityToo - Benjamin Loire <bloire@xxxxxxxxxxx> wrote:
>
> If I copy this files in /mnt/glusterfs :
>
> ls -al /mnt/glusterfs
> total 7156
> drwxrwxrwx  2 root   root      4096 2007-10-29 20:05 .
> drwxr-xr-x 12 bloire bloire    4096 2007-10-29 20:04 ..
> -rw-------  1    501    501    3332 2007-03-27 13:48
> config_sfr_nb_sec_avant_messagerie.txt
> -rw-------  1    501    501    1458 2004-07-13 23:55
> logo_citytoo_60_139.gif
> -rw-------  1    501    501 7340032 2007-10-29 20:05
> reverseproxy_apache2_25avril2006.tar.gz
> -rw-------  1    501    501 4761600 2007-10-29 03:09 Un Monde Parfait.mp3
>
> -----------------------------------------------------------------------
> I GET THIS RESULT :
>
> # server A
> ls -al /home/bloire/brickglusterfs-ns
> total 8
> drwxrwxrwx  2 root   root   4096 2007-10-29 20:04 .
> drwxr-xr-x 12 bloire bloire 4096 2007-10-29 20:04 ..
>
> ls -al /home/bloire/brickglusterfs
> total 7156
> drwxrwxrwx  2 root   root      4096 2007-10-29 20:05 .
> drwxr-xr-x 12 bloire bloire    4096 2007-10-29 20:04 ..
> -rw-------  1    501    501    3332 2007-03-27 13:48
> config_sfr_nb_sec_avant_messagerie.txt
> -rw-------  1    501    501    1458 2004-07-13 23:55
> logo_citytoo_60_139.gif
> -rw-------  1    501    501 7340032 2007-10-29 20:05
> reverseproxy_apache2_25avril2006.tar.gz
> -rw-------  1    501    501 4761600 2007-10-29 03:09 Un Monde Parfait.mp3
>
> # server B
> ls -al /home/bloire/brickglusterfs
> total 7140
> drwxrwxrwx 2 root     root        4096 2007-10-29 20:05 .
> drwxr-xr-x 6 manager3 manager3    4096 2007-10-29 20:03 ..
> -rw------- 1      501      501       0 2007-03-27 13:48
> config_sfr_nb_sec_avant_messagerie.txt
> -rw------- 1      501      501       0 2004-07-13 23:55
> logo_citytoo_60_139.gif
> -rw------- 1      501      501 7331840 2007-10-29 20:05
> reverseproxy_apache2_25avril2006.tar.gz
> -rw------- 1      501      501 4770115 2007-10-29 03:09 Un Monde
> Parfait.mp3
>
> I thing that I should see many small files  with translator stripe. Isn't
> it ?
> What files should I see on  /home/bloire/brickglusterfs for each server
> and  /home/bloire/brickglusterfs-ns ?
>
> I don't understant what's happen ?
> It's normal ?
>
> Benjamin Loire
>
> Le Lundi 29 Octobre 2007 19:35, vous avez écrit :
> > Specification file looks ok. So, you say stripe is not creating files in
> the
> > backend properly? or what tests did you do to see stripe not working?
> >
> > On 10/29/07, CityToo - Benjamin Loire <bloire@xxxxxxxxxxx> wrote:
> > >
> > > AFR, unify are OK :-)
> > > Only stripe doesn't work, stripe's result is like unify ;-(
> > >
> > > My configuration
> > >
> > > glusterfs 1.3.7
> > > fuse-2.7.0-glfs5
> > >
> > > -----------------
> > > Spec Client :
> > >
> > > Linux version 2.6.11-6mdk (gb@xxxxxxxxxxxxxxxxxxx) (gcc version 3.4.3
> (Mandrakelinux
> > > 10.2 3.4.3-3mdk))
> > > -----------------
> > >
> > > volume bricka-ns
> > > type protocol/client
> > > option transport-type tcp/client
> > > option remote-host 192.168.2.131
> > > option remote-subvolume bricka-ns
> > > end-volume
> > >
> > > volume bricka
> > > type protocol/client
> > > option transport-type tcp/client
> > > option remote-host 192.168.2.131
> > > option remote-subvolume bricka
> > > end-volume
> > >
> > > volume brickb
> > > type protocol/client
> > > option transport-type tcp/client
> > > option remote-host 192.168.2.132
> > > option remote-subvolume brickb
> > > end-volume
> > >
> > > #volume afr
> > > # type cluster/afr
> > > # subvolumes bricka brickb
> > > # option replicate *:2
> > > #end-volume
> > >
> > > volume stripe
> > > type cluster/stripe
> > > subvolumes bricka brickb
> > > option block-size *:10KB
> > > end-volume
> > >
> > > ----------------
> > > Spec server A
> > >
> > > Linux version 2.6.18-4-686 (Debian 2.6.18.dfsg.1-12) (waldi@xxxxxxxxxx
> )
> > > (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Mon
> Mar
> > > 26 17:17:36 UTC 2007
> > > -----------------
> > >
> > > volume bricka
> > >   type storage/posix
> > >   option directory /home/bloire/brickglusterfs
> > > end-volume
> > >
> > > volume bricka-ns
> > >   type storage/posix
> > >   option directory /home/bloire/brickglusterfs-ns
> > > end-volume
> > >
> > > volume server
> > >   type protocol/server
> > >   subvolumes bricka bricka-ns
> > >   option transport-type tcp/server
> > >   option auth.ip.bricka.allow *
> > >   option auth.ip.bricka-ns.allow *
> > > end-volume
> > >
> > > ----------------
> > > Spec server B
> > >
> > > Linux version 2.6.18-4-686 (Debian 2.6.18.dfsg.1-12) (waldi@xxxxxxxxxx
> )
> > > (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Mon
> Mar
> > > 26 17:17:36 UTC 2007
> > > -----------------
> > >
> > > volume brickb
> > >   type storage/posix
> > >   option directory /home/bloire/brickglusterfs
> > > end-volume
> > >
> > > volume server
> > >   type protocol/server
> > >   subvolumes brickb
> > >   option transport-type tcp/server
> > >   option auth.ip.brickb.allow *
> > > end-volume
> > >
> > >
> > > What I have to do ?
> > >
> > >
> > > Le Lundi 29 Octobre 2007 18:46, vous avez écrit :
> > > > Hi Benjamin,
> > > >  In all our tests, stripe has worked fine. Can I know how you got
> the
> > > idea
> > > > that its not working? any tests failed? More info would make me
> clear on
> > > the
> > > > issue.
> > > >
> > > > Regards,
> > > > Amar
> > > >
> > > > On 10/29/07, CityToo - Benjamin Loire <bloire@xxxxxxxxxxx> wrote:
> > > > >
> > > > > Stripe doesn't work ?
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Gluster-devel mailing list
> > > > > Gluster-devel@xxxxxxxxxx
> > > > > http://lists.nongnu.org/mailman/listinfo/gluster-devel
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > --
> > > Salutations distinguées
> > >
> > > Benjamin LOIRE
> > > Directeur Général Fondateur
> > > CityToo
> > > 19, allée du Clos Gagneur
> > > 93160 Noisy le Grand
> > > bloire@xxxxxxxxxxx
> > > Tel : (+33) 1 43 05 78 46
> > >
> > > RCS 478 844 053  Bobigny
> > >
> > > CityToo : Place de marché e-commerce
> > > Comparez, achetez, vendez en toute garantie
> > > Et accédez à plus de 14 services gratuits de petites annonces
> > >
> > > http://www.CityToo.fr
> > > ____________________________________________
> > >
> > >
> >
> >
>
> --
> Salutations distinguées
>
> Benjamin LOIRE
> Directeur Général Fondateur
> CityToo
> 19, allée du Clos Gagneur
> 93160 Noisy le Grand
> bloire@xxxxxxxxxxx
> Tel : (+33) 1 43 05 78 46
>
> RCS 478 844 053  Bobigny
>
> CityToo : Place de marché e-commerce
> Comparez, achetez, vendez en toute garantie
> Et accédez à plus de 14 services gratuits de petites annonces
>
> http://www.CityToo.fr
> ____________________________________________
>
>


-- 
Amar Tumballi
Gluster/GlusterFS Hacker
[bulde on #gluster/irc.gnu.org]
http://www.zresearch.com - Commoditizing Supercomputing and Superstorage!

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

  Powered by Linux