wayner Posted December 2, 2023 Share Posted December 2, 2023 I am trying to reformat my cache drive, so I need to move all files from my cache to my array. The only directories that were on the cache driver were appdata and system. I disabled VMs and Dockers. Both the system and appdata shares have cache as the primary drive and the Array as the secondary drive. I switched mover to go from Cache->Array for both. All of the appdata files were moved. But mover is complaining that libvirt.img and docker.img already exist. Here is the output from my log. What is going on and how do I fix this? Dec 2 11:54:48 Portrush move: mover: started Dec 2 11:54:48 Portrush move: file: /mnt/cache_nvme/system/docker/docker.img Dec 2 11:54:48 Portrush move: move_object: /mnt/cache_nvme/system/docker/docker.img File exists Dec 2 11:54:48 Portrush move: file: /mnt/cache_nvme/system/libvirt/libvirt.img Dec 2 11:54:48 Portrush move: move_object: /mnt/cache_nvme/system/libvirt/libvirt.img File exists Dec 2 11:54:48 Portrush move: mover: finished And here are the settings for the system share: Quote Link to comment
wayner Posted December 2, 2023 Author Share Posted December 2, 2023 For a bit more info, on my array disk3 there is a system directory that contains a libvirt.img and docker.img files. They are dated Nov 26. The libvirt.img and docker.img on my cache drive are date today, Dec 2. Is this error message correct? Why is the error "/mnt/cache_nvme/system/libvirt/libvirt.img File exists" rather than "/mnt/disk3/system/libvirt/libvirt.img File exists", assuming that this is the problem? Quote Link to comment
itimpi Posted December 2, 2023 Share Posted December 2, 2023 The error message I think is referring to the file it wants to move. Move will not overwrite duplicate files and in normal operation you should not get them. If as in your case you find you have got them then you need to manually delete the copy you do not want (typically the oldest). Quote Link to comment
wayner Posted December 2, 2023 Author Share Posted December 2, 2023 Thanks, I deleted the files on the destination disk and mover did move them. But isn't this error message incorrect? The file that exists which is causing a problem is the file on the destination disk, not the file on the source disk. Should I file a bug report? Quote Link to comment
itimpi Posted December 2, 2023 Share Posted December 2, 2023 12 minutes ago, wayner said: Thanks, I deleted the files on the destination disk and mover did move them. But isn't this error message incorrect? The file that exists which is causing a problem is the file on the destination disk, not the file on the source disk. Should I file a bug report? It all depends on how you read the error message 😊 If it refers to the file mover is currently working on then it is correct. Another point that may not be obvious is that at the point the error occurs it is quite likely that mover has no idea which disk contains the ‘file exists’ file, just that it exists somewhere on the array. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.