Answered by:
Trying, but failing, to sync two folders

Question
-
As my first experiment with Live Mesh I am trying it out as a SyncToy replacement. The goal is simple, sync my Music folder.So, first I add my two machines to Live Mesh and then I setup Music as a Live Mesh folder with only machine A having permissions to it currently.On machine B I choose to Sync This Folder Now and point it at the Music folder on that machine. I change the Sync Options such that machine B will sync when files are added or modified, and I see that machine A already has this permissions. All is well.However, not so much because machine B is not picking up Music\Folder\AnotherFolder. It's not appearing. I double-check the permissions and all is well, but when I flick onto machine A to take a look I see that it lists a different permission set with machine B being set to Never With This Device. Odd. I change it to When Files Are Added Or Modified but receive the error:[quote]Could not synchronize folder in Live Mesh.Request to MOE failed with status code: 409 Conflict looking up the resource.[/quote]I assume this is because the permission is already set and machine A simply hasn't spotted this change yet. I sign out and back into the Live Mesh client on machine A. Nope, same permissions, same error.What am I doing wrong? My goal to start with is simply to have these two folders sync with the aim of adding additional machines later.Sunday, January 4, 2009 2:47 PM
Answers
-
Thanks for clarifying, Quitch. I was thrown by the "permissions" part of the description.
As Ben, noted, it sounds very much like a timing issue more than anything. Once you configured machine A, the settings and all of the data in the Mesh folder(s) are probably being catalogued before they actually begin to Sync.
I don't know why the delay to Machine B, though. I do expect that 29 Gigs of data will take quite some time to actually Sync between these machines in the background.
I can't answer authoritatively where the settings are stored, but I would imagine it becomes part of your profile on the Live Desktop even if you are not synchronizing the folder in question with the Live Desktop. My guess is that your initial action was uploaded, but then delayed in being brought down to the matching folder on Machine B - possibly due to the fact that Machine A was busy with the catalog of files to be managed in the Mesh.
-steve
Microsoft MVP Windows Live / Windows Live OneCare Forum Moderator- Marked as answer by Quitch Wednesday, January 14, 2009 10:31 AM
Tuesday, January 6, 2009 7:30 PMModerator
All replies
-
I'm not sure that I am clear on what you mean in your second paragraph and third paragraph regarding permissions.
If you add a folder on machine A to the Mesh, it is available to all other machines in your Mesh. You then select the destination folder on machine B where you wish the files for that Mesh folder to sync to. If that folder already exists and contains files, then you have the option to merge the contents.
I'm not sure where permissions comes into play. Options would be set so that the folders are synchronized or not. You can have a device in the Mesh that you choose not to sync one or more folders to, for example.
How large is the folder in question, that is what is the size of the source data for the folder and sub-folders?
-steve
Microsoft MVP Windows Live / Windows Live OneCare Forum ModeratorMonday, January 5, 2009 7:37 PMModerator -
So, first I add my two machines to Live Mesh and then I setup Music as a Live Mesh folder with only machine A having permissions to it currently.In the Sync Settings for the folder Music machine A has "Sync when files are added or modified" while machine B is not yet listed as I haven't added it to Live Mesh yet.On machine B I choose to Sync This Folder Now and point it at the Music folder on that machine. I change the Sync Options such that machine B will sync when files are added or modified, and I see that machine A already has this permissions. All is well.I install Live Mesh on machine B and see the Music folder in Live Mesh Folders. I choose "Sync this folder now" and set the location to C:\Users\me\Music. I then change the sync settings of Music so that machine B has "Sync when files are added or modified." Machine A is already listed with this sync setting.So machine B shows me:Music:Machine A: Sync when files are added or modifiedMachine B: Sync when files are added or modifiedLive Desktop: Never syncBut machine A shows me:Music:Machine A: Sync when files are added or modifiedMachine B: Never syncLive Desktop: Never sync.Attempting to change the sync settings for Machine B on Machine A leads to the 409 error.The folder holds 29GB of data.Monday, January 5, 2009 7:56 PM
-
Today machine A appears to have caught up with the changes and I see that Music now has the correct sync settings listed with both machine A and machine B syncing the folder.Where do machines get the sync settings from? Is it synced with some Live Mesh server and distributed to each machine? As I said, I did sign-off and sign-on Live Mesh on machine A after experiencing the problem to see if this would force it to spot the change to sync settings, yet several hours after I had changed the sync settings on machine B, machine A was still displaying the old settings.Monday, January 5, 2009 8:16 PM
-
Quitch said:
Today machine A appears to have caught up with the changes and I see that Music now has the correct sync settings listed with both machine A and machine B syncing the folder.
Where do machines get the sync settings from? Is it synced with some Live Mesh server and distributed to each machine? As I said, I did sign-off and sign-on Live Mesh on machine A after experiencing the problem to see if this would force it to spot the change to sync settings, yet several hours after I had changed the sync settings on machine B, machine A was still displaying the old settings.
Hi,
Apart from machine A displaying the sync setting for machine B incorrectly, in your original post you seemed to indicate that some folders were failing to sync to machine B. Is that correct? With a 29GB folder, it could take a while for all the files to sync over from one machine to the other. How long had you waited before you noticed that Music\Folder\AnotherFolder was not appearing on machine B? Are all the files syncing correctly now? Please let me know so we can determine how best to proceed (e.g., whether you should file a bug report), and I'll follow up.
Thanks,
Ben.- Proposed as answer by Ben [Live Mesh] Tuesday, January 6, 2009 3:52 PM
Tuesday, January 6, 2009 3:52 PM -
Thanks for clarifying, Quitch. I was thrown by the "permissions" part of the description.
As Ben, noted, it sounds very much like a timing issue more than anything. Once you configured machine A, the settings and all of the data in the Mesh folder(s) are probably being catalogued before they actually begin to Sync.
I don't know why the delay to Machine B, though. I do expect that 29 Gigs of data will take quite some time to actually Sync between these machines in the background.
I can't answer authoritatively where the settings are stored, but I would imagine it becomes part of your profile on the Live Desktop even if you are not synchronizing the folder in question with the Live Desktop. My guess is that your initial action was uploaded, but then delayed in being brought down to the matching folder on Machine B - possibly due to the fact that Machine A was busy with the catalog of files to be managed in the Mesh.
-steve
Microsoft MVP Windows Live / Windows Live OneCare Forum Moderator- Marked as answer by Quitch Wednesday, January 14, 2009 10:31 AM
Tuesday, January 6, 2009 7:30 PMModerator -
Once machine A was seeing the correct permissions the two started syncing, however the following folder on machine A had problems:C:\Users\squidgy\Music\Single & Album\Sirenia\(2007) Nine Destinies And A DownfallThe files in here were deleted, yet I could not find a record about this in the news. On machine B the folder was still populated with nine MP3 files and one cover.jpg. I used MozyBackup Home to restore the contents of this folder on machine A, however they would never appear, being deleted before Explorer could even refresh the pane. I could restore the files to my desktop, but upon moving them back to the folder they would be deleted again.Alas, owing to an epic number of registered conflicts because I'm syncing two folders populated with the same files, I have started over (removed Live Mesh from both machines, deleted all files from machine B, reinstall Live Mesh on both machines) so cannot do further testing on this circumstance.Tuesday, January 6, 2009 8:03 PM