[Gluster-devel] add-brick

Anand Avati anand.avati at gmail.com
Sun Aug 19 16:24:18 UTC 2012


On Sun, Aug 19, 2012 at 7:02 AM, Emmanuel Dreyfus <manu at netbsd.org> wrote:

> On Sun, Aug 19, 2012 at 01:18:45PM +0000, Emmanuel Dreyfus wrote:
> > Yes, I went from 1 brick to 2 bricks. I will try 2->, but is 1->2 known
> > to have issues?
>
> 2->3 seems to work much better. logs report a bunch of ENOENT, but the
> processes using the filesystem do not notice.
>
> [2012-08-19 15:56:51.669680] I [fuse-bridge.c:4195:fuse_graph_setup]
> 0-fuse:
>   switched to graph 1
> [2012-08-19 15:56:51.670553] I [client-handshake.c:453:
>   client_set_lk_version_cbk] 1-vndfs-client-2: Server lk version = 1
> [2012-08-19 15:56:51.677781] I [dht-layout.c:593:dht_layout_normalize]
>   1-vndfs-dht: found anomalies in /. holes=1 overlaps=0
>

This is odd. Not sure why it is still finding a hole in the layout of /.


>  [2012-08-19 15:56:51.692181] I [client.c:2151:notify] 0-vndfs-client-0:
>   current graph is no longer active, destroying rpc_client
> [2012-08-19 15:56:51.692642] I [client.c:2151:notify] 0-vndfs-client-1:
>   current graph is no longer active, destroying rpc_client
> [2012-08-19 15:56:51.694201] I [client.c:2090:client_rpc_notify]
>   0-vndfs-client-0: disconnected
> [2012-08-19 15:56:51.694658] I [client.c:2090:client_rpc_notify]
>   0-vndfs-client-1: disconnected
> [2012-08-19 15:56:51.713532] W
> [client3_1-fops.c:1954:client3_1_setattr_cbk]
>   1-vndfs-client-2: remote operation failed: No such file or directory
> [2012-08-19 15:56:51.732550] W [client3_1-fops.c:327:client3_1_mkdir_cbk]
>   1-vndfs-client-2: remote operation failed: No such file or directory.
> Path:
>   <gfid:18d83ff6-01c3-4078-9af1-0033b0621a94>/0f
>   (00000000-0000-0000-0000-000000000000)


This is fine. The application is probably cd'd in a directory and created a
subdir. Because of the missing parent dir the mkdir of the subdir failed on
the newly added server. Eventually when lookups arrive from the ancestors
(or during rebalance) the missing dirs will be created.

Avati
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20120819/21f022e2/attachment-0003.html>


More information about the Gluster-devel mailing list