[Gluster-devel] lost data, help!

Jules Wang lancelotds at 163.com
Thu Oct 11 02:11:24 UTC 2012


hi,
     I think glusterfs shall have a mechanism to prevent users/apps from operating files in the bricks,  these operations are dangerous.

Best Regards.
Jules Wang.


在 2012-10-10 23:15:24,renqiang <renqiang at 360buy.com> 写道:


Hi,all:

 

       I have a problem now!Can you help me!
  
       When I use replace-brick command to use some new machines to replace some old machines in my cluster.
   But it dosen't susscess! It only create some link files in the new machines,it dosen't copy the real data to the

   new machines.So we have an idea,we copy the data in the bricks of  all the old machines to the volume of

   my cluster from the mount point of the volume.(There is only one volume in my cluster.) But we ingnor the

   link files in the bricks of the old methines.When we copy all the files in the bricks of the old methines to the 
   volume , the link files overwrite  all the real data files which are linked by the link files. So we  lost much data.

  And when we read the files which are lost data, gluster will choose the file's real file in dead loop,So client

  time out and there are too many socket links.
  
        How can we find our data? We try to use some disk tools to recovery the lost data。 We analyse all 
   copyed link files to find out which data wo lose.
        
        Can someone give me some suggestions,thank you!


 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20121011/9c1097ad/attachment-0001.html>


More information about the Gluster-devel mailing list