[Gluster-users] Distributed volumes
mikedep333 at gmail.com
Mon Jun 2 13:04:44 UTC 2014
On Mon, Jun 2, 2014 at 8:26 AM, <yalla.gnan.kumar at accenture.com> 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 ?
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
mike at nostromo:/data1/brick1/gv1 :(  $ ls -latr
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 at nostromo:/data1/brick1/gv1 :)  $ sudo du -s -h homes/ .glusterfs/
[sudo] password for mike:
More information about the Gluster-users