yalla.gnan.kumar at accenture.com
2014-Jun-02 12:26 UTC
[Gluster-users] Distributed volumes
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140602/fef11c67/attachment.html>
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 ? > > > > > > Thanks > > KumarHi 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 at 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 at nostromo:/data1/brick1/gv1 :) [8] $ sudo du -s -h homes/ .glusterfs/ [sudo] password for mike: 34G homes/ 252M .glusterfs/ -Mike
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 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 ? > > > > > > 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 at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users