Karim Latouche
2011-May-18 08:54 UTC
[Gluster-users] creating a volume with an already populated folder
Hi, I've got backup server already half full of data. Datas are in /export I installed glusterfs on it and set up a simple replicated volume . The second server is up and running but I can't see the file on /export on server A replicating on server B Did I miss something? Thx
sac
2011-May-18 09:22 UTC
[Gluster-users] creating a volume with an already populated folder
Hi Karim, On Wed, May 18, 2011 at 2:24 PM, Karim Latouche <klatouche at digitalchocolate.com> wrote:> > I've got backup server already half full of data. Datas are in /export > I installed glusterfs on it and set up a simple replicated volume . The > second server is up and running but I can't see the file on ?/export on > server A replicating on server B > Did I miss something?It is not suggested to create Gluster volumes with data already present in the backend. The results are unexpected. Instead create a volume with new directories and copy this data from the mount point. -sac
Karim Latouche
2011-May-18 13:46 UTC
[Gluster-users] creating a volume with an already populated folder
Hi Greg Thanks for your answer. Actually it more a server issue. I have box A and BoxB each of them export /export folder I have around 200Gigs of file on BoxA in /export and I was hopping that creating a volume exporting /export will trigger repilication on Box B. It looks like it doesn't. Cheers K> So... don't know that I should share this will all since its not > suggested... but all you have to do is stat all of the files. If you > generate a file list on the storage box and then take that list to the > client that can't see them, and run stat on each file it should find them > all. > > Depending on your data size it might not be worth the effort. > > -greg >