Re: snapshot compression
Andrija, I think qemu-img supports compressing the image while it's being exported. I do not believe it is done during cloudstack snapshot process as I am seeing very high compression averages on our secondary storage backend where we've enabled compression with native btrfs capabilities. We've been averaging around 60% compression on average for our snapshots. If similar level of compression could be achieved at the export phase, it should free up network resources and possibly speed up the snapshotting process. Andrei - Original Message - > From: "Andrija Panic" > To: "users" > Sent: Monday, 12 July, 2021 17:45:25 > Subject: Re: snapshot compression > What did you have in mind specifically? > > Ceph volume snapshots export works by using qemu-img to convert raw/RBD > volume to a qcow2 (if not mistaken, or raw) format on the Secondary Storage. > > Bestm > > On Mon, 12 Jul 2021 at 09:35, Daan Hoogland wrote: > >> Andrei, good feature request. I don't think it is implemented (never heard >> of it) >> >> On Thu, Jul 8, 2021 at 6:06 PM Andrei Mikhailovsky >> wrote: >> >> > Hello everyone, >> > >> > Is there a way to enable compression on the KVM+Ceph snapshot volumes >> when >> > they are being copied to the secondary storage? As far as I can see, this >> > useful feature is not enabled by default, which could unnecessarily waste >> > both network and storage resources. It could save tons of space. >> > >> > Any idea on how to enable it? >> > >> > Cheers >> > >> > Andrei >> > >> >> >> -- >> Daan >> > > > -- > > Andrija Panić
Re: snapshot compression
What did you have in mind specifically? Ceph volume snapshots export works by using qemu-img to convert raw/RBD volume to a qcow2 (if not mistaken, or raw) format on the Secondary Storage. Bestm On Mon, 12 Jul 2021 at 09:35, Daan Hoogland wrote: > Andrei, good feature request. I don't think it is implemented (never heard > of it) > > On Thu, Jul 8, 2021 at 6:06 PM Andrei Mikhailovsky > wrote: > > > Hello everyone, > > > > Is there a way to enable compression on the KVM+Ceph snapshot volumes > when > > they are being copied to the secondary storage? As far as I can see, this > > useful feature is not enabled by default, which could unnecessarily waste > > both network and storage resources. It could save tons of space. > > > > Any idea on how to enable it? > > > > Cheers > > > > Andrei > > > > > -- > Daan > -- Andrija Panić
Re: snapshot compression
Andrei, good feature request. I don't think it is implemented (never heard of it) On Thu, Jul 8, 2021 at 6:06 PM Andrei Mikhailovsky wrote: > Hello everyone, > > Is there a way to enable compression on the KVM+Ceph snapshot volumes when > they are being copied to the secondary storage? As far as I can see, this > useful feature is not enabled by default, which could unnecessarily waste > both network and storage resources. It could save tons of space. > > Any idea on how to enable it? > > Cheers > > Andrei > -- Daan
snapshot compression
Hello everyone, Is there a way to enable compression on the KVM+Ceph snapshot volumes when they are being copied to the secondary storage? As far as I can see, this useful feature is not enabled by default, which could unnecessarily waste both network and storage resources. It could save tons of space. Any idea on how to enable it? Cheers Andrei