[Gluster-users] Import data from brick

Alexandros Soumplis soumplis at ekt.gr
Wed Feb 13 16:05:24 UTC 2013


I do not know if it is related (probably is) but I now get in the brick 
logs the following messages

[2013-02-13 16:03:50.861313] W [server-resolve.c:516:server_resolve] 
0-BACULAVOL-server: no resolution type for (null) (LOOKUP)
[2013-02-13 16:03:50.861328] I [server-rpc-fops.c:160:server_lookup_cbk] 
0-BACULAVOL-server: 37: LOOKUP (null) 
(00000000-0000-0000-0000-000000000000) ==> (Invalid argument)



On 13/02/2013 06:01 μμ, Alexandros Soumplis wrote:
> Hi,
>
> Just tried that with the additional step (after removing the 
> .glusterfs dir) of clearing the extended attributes of the existing 
> files. Then issued the add-brick command but while the data are in the 
> bricks, they have no extended attributes "attached" to them, thus they 
> are unavailable to the gluster clients.
>
> I suppose that somehow I should instruct gluster to run through the 
> brick folder and files and add appropriate ext attrs.
>
> a.
>
>
>
>
> On 13/02/2013 05:14 μμ, Brian Cipriano wrote:
>> Hi -
>>
>> I was just looking at this yesterday. I've done some basic testing 
>> and this seems to be possible.
>>
>> I think you're saying, you'd like to add a brick that was already 
>> previously part of a gluster? Without losing the data that was on it, 
>> and importing that data into the new gluster?
>>
>> All you should have to do is remove the .glusterfs folder on that 
>> brick. Doc on that here:
>>
>> http://joejulian.name/blog/glusterfs-path-or-a-prefix-of-it-is-already-part-of-a-volume/ 
>>
>>
>> Then running add-brick as normal. It will take a few minutes 
>> depending on how much data is on the brick, but gluster should see 
>> that data and rebuild its metadata accordingly.
>>
>> Again, I've only done BASIC testing, don't take my word for it.
>>
>> - brian
>>
>> On 2/13/13 7:22 AM, Alexandros Soumplis wrote:
>>> Hello,
>>>
>>> Is it possible to "import" data already existent in a gluster brick?
>>>
>>> a.
>>>
>>> _______________________________________________
>>> Gluster-users mailing list
>>> Gluster-users at gluster.org
>>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>>
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>


-- 
Alexandros Soumplis
Systems Engineer (M.Sc, RHCE, VCP, SCSA)

National Documentation Center / N.H.R.F.
Information Systems Department
48, Vas. Constantinou Av.
116 35 Athens, Greece
phone: +30 210 7273984  fax: +30 210 7252223
email: soumplis at ekt.gr
http://www.ekt.gr




More information about the Gluster-users mailing list