Why LXC clone over ZFS is so slow?

michabbs

Well-Known Member
May 5, 2020
138
20
58
When I clone lxc container Proxmox uses rsync to create 1-1 clone of rootfs and all mount points. Depending on size of the filesystem - this might take a long lime.
Actually... why it is always done this way? Shouldn't be better to simply use zfs clone (of course when source and destination pools match)? This way the cloned container would be ready instantly... :-)
 
Hi,

we try to keep things general because so we can provide a stable and reliable product.
Special cases make the Code unnecessary complex.