Hello,
If i move volume a LXC volume, it basically create a new volume, format it and copy data with rsync.
Why not copy the disk image itself, why need rsync?
For example, if i want to move volume from rbd to local raw file, i can also do it with rbd export, and if i modify CT conf file, it working fine.
The reason why im asking, because based on my experience, when there is a lot of small files in container (or in general), rsync much slower than DD or any disk image copy method. Yeah i know, DD, or rbd export copy empty blokks also, but if the volume trimmed before it, possible to skip this.
If i move volume a LXC volume, it basically create a new volume, format it and copy data with rsync.
Why not copy the disk image itself, why need rsync?
For example, if i want to move volume from rbd to local raw file, i can also do it with rbd export, and if i modify CT conf file, it working fine.
The reason why im asking, because based on my experience, when there is a lot of small files in container (or in general), rsync much slower than DD or any disk image copy method. Yeah i know, DD, or rbd export copy empty blokks also, but if the volume trimmed before it, possible to skip this.