Re: Distributed volumes

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

 



Ok, what you have is a single large file (must be filesystem image??).
Gluster will not stripe files, it writes different whole files to
different bricks. 

On Tue, 2014-06-03 at 07:29 +0000, yalla.gnan.kumar@xxxxxxxxxxxxx
wrote: 
> root@secondary:/export/sdd1/brick# gluster volume  info
> 
> Volume Name: dst
> Type: Distribute
> Status: Started
> Number of Bricks: 2
> Transport-type: tcp
> Bricks:
> Brick1: primary:/export/sdd1/brick
> Brick2: secondary:/export/sdd1/brick
> 
> 
> 
> -----Original Message-----
> From: Franco Broi [mailto:franco.broi@xxxxxxxxxx] 
> Sent: Tuesday, June 03, 2014 12:56 PM
> To: Gnan Kumar, Yalla
> Cc: gluster-users@xxxxxxxxxxx
> Subject: Re:  Distributed volumes
> 
> 
> What do gluster vol info and gluster vol status give you?
> 
> On Tue, 2014-06-03 at 07:21 +0000, yalla.gnan.kumar@xxxxxxxxxxxxx
> wrote: 
> > Hi,
> > 
> > I have created a distributed volume on my   gluster node. I have attached this volume to a VM on openstack. The size is 1 GB. I have written files close to 1 GB onto the
> > Volume.   But when I do a ls inside the brick directory , the volume is present only on one gluster server brick. But it is empty on another server brick.  Files are meant to be
> > spread across both the bricks according to distributed volume definition.
> > 
> > On the VM:
> > --------------
> > 
> > # ls -al
> > total 1013417
> > drwxr-xr-x    3 root     root          4096 Jun  1 22:03 .
> > drwxrwxr-x    3 root     root          1024 Jun  1 21:24 ..
> > -rw-------    1 root     root     31478251520 Jun  1 21:52 file
> > -rw-------    1 root     root     157391257600 Jun  1 21:54 file1
> > -rw-------    1 root     root     629565030400 Jun  1 21:55 file2
> > -rw-------    1 root     root     708260659200 Jun  1 21:59 file3
> > -rw-------    1 root     root     6295650304 Jun  1 22:01 file4
> > -rw-------    1 root     root     39333801984 Jun  1 22:01 file5
> > -rw-------    1 root     root     78643200000 Jun  1 22:04 file6
> > drwx------    2 root     root         16384 Jun  1 21:24 lost+found
> > ----------
> > # du -sch *
> > 20.0M   file
> > 100.0M  file1
> > 400.0M  file2
> > 454.0M  file3
> > 4.0M    file4
> > 11.6M   file5
> > 0       file6
> > 16.0K   lost+found
> > 989.7M  total
> > ------------------------
> > 
> > 
> > On the gluster server nodes:
> > -----------------------
> > root@primary:/export/sdd1/brick# ll
> > total 12
> > drwxr-xr-x 2 root root 4096 Jun  2 04:08 ./ drwxr-xr-x 4 root root 
> > 4096 May 27 08:42 ../ root@primary:/export/sdd1/brick#
> > --------------------------
> > 
> > root@secondary:/export/sdd1/brick# ll
> > total 1046536
> > drwxr-xr-x 2 root root       4096 Jun  2 08:51 ./
> > drwxr-xr-x 4 root root       4096 May 27 08:43 ../
> > -rw-rw-rw- 1  108  115 1073741824 Jun  2 09:35 
> > volume-0ec560be-997f-46da-9ec8-e9d6627f2de1
> > root@secondary:/export/sdd1/brick#
> > ---------------------------------
> > 
> > 
> > Thanks
> > Kumar
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > -----Original Message-----
> > From: Franco Broi [mailto:franco.broi@xxxxxxxxxx]
> > Sent: Monday, June 02, 2014 6:35 PM
> > To: Gnan Kumar, Yalla
> > Cc: gluster-users@xxxxxxxxxxx
> > Subject: Re:  Distributed volumes
> > 
> > Just do an ls on the bricks, the paths are the same as the mounted filesystem.
> > 
> > On Mon, 2014-06-02 at 12:26 +0000, yalla.gnan.kumar@xxxxxxxxxxxxx
> > wrote:
> > > Hi All,
> > >
> > >
> > >
> > > I have created a distributed volume of 1 GB ,  using two bricks from 
> > > two different servers.
> > >
> > > I have written 7 files whose sizes are a total of  1 GB.
> > >
> > > How can I check that files are distributed on both the bricks ?
> > >
> > >
> > >
> > >
> > >
> > > Thanks
> > >
> > > Kumar
> > >
> > >
> > >
> > >
> > > ____________________________________________________________________
> > > __
> > >
> > >
> > > This message is for the designated recipient only and may contain 
> > > privileged, proprietary, or otherwise confidential information. If 
> > > you have received it in error, please notify the sender immediately 
> > > and delete the original. Any other use of the e-mail by you is prohibited.
> > > Where allowed by local law, electronic communications with Accenture 
> > > and its affiliates, including e-mail and instant messaging 
> > > (including content), may be scanned by our systems for the purposes 
> > > of information security and assessment of internal compliance with 
> > > Accenture policy.
> > > ____________________________________________________________________
> > > __
> > > ________________
> > >
> > > www.accenture.com
> > > _______________________________________________
> > > Gluster-users mailing list
> > > Gluster-users@xxxxxxxxxxx
> > > http://supercolony.gluster.org/mailman/listinfo/gluster-users
> > 
> > 
> > 
> > 
> > ________________________________
> > 
> > This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
> > ______________________________________________________________________
> > ________________
> > 
> > www.accenture.com
> 
> 
> 


_______________________________________________
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