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@xxxxxxxxxx> 写道:
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 thenew 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!