Re: Distributed volumes

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

 



On Mon, Jun 2, 2014 at 8:26 AM,  <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

Hi Kumar,

You can use standard file browsing commands like "cd" and "ls" on both
of the bricks. The volume's files will show up as regular files on the
underlying filesystem. You can manually verify that files that exist
on brick 1 do not exist on brick 2, and vica-versa.

For example, here's me running file browsing commands on my replicated
volume's brick:

mike@nostromo:/data1/brick1/gv1 :( [7] $ ls -latr
total 24
drwxr-xr-x.   3 root root 4096 Dec 19 22:21 homes
drwxr-xr-x.   3 root root 4096 May  3 17:55 ..
drw-------. 261 root root 4096 May  3 18:38 .glusterfs
drwxr-xr-x.   4 root root 4096 May  3 21:02 .
mike@nostromo:/data1/brick1/gv1 :) [8] $ sudo du -s -h homes/ .glusterfs/
[sudo] password for mike:
34G     homes/
252M    .glusterfs/

-Mike
_______________________________________________
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