Hi guys, I’m working on a “cluster manager” ( a series of scripts) to allow our APP to manage the LXD cluster.
We have several methods in place to check task completion and container health for different scenarios, however, there is one scenario where I don’t know how to check…
For creating a new copy (instance) of our APP, we copy an existing stopped container, after issuing the command to copy, it takes some time for the files to get copied and I don’t know how to check if this process has been fully completed.
Trying to start the container before this process is completed has a lot of problems, so…
Is there a way to check if ZFS is done with copying files and changing permissions for those files on the new container?
Would using an image instead of a stopped container make things faster at container creation?