incremental rbd export / sparse files?
Hello list,
right now a rbd export exports exactly the size of the disk even if there is KNOWN free space. Is this inteded to change?
Might it be possible to export just differences between snapshots and merge them later?
Greets,
Stefan
Quoted 7 lines · Stefan Priebe - Profihost AG
Hello list,
right now a rbd export exports exactly the size of the disk even if there is KNOWN free space. Is this inteded to change?
Might it be possible to export just differences between snapshots and merge them later?
We were just talking about this the other day.
Step 1 is to create a mechanism to output a list of block ranges that have/have not changed between snapshots.
Step 2 is to export the incremental changes. The hangup there is figuring out a generic and portable file format to represent those incremental changes; we'd rather not invent something ourselves that is ceph-specific. Suggestions welcome!
sage
Quoted 4 lines
Step 2 is to export the incremental changes. The hangup there is figuring out a generic and portable file format to represent those incremental changes; we'd rather not invent something ourselves that is ceph-specific. Suggestions welcome!
AFAIK, both 'zfs' and 'btrfs' already have such format.
Am 23.11.2012 07:23, schrieb Dietmar Maurer:
Quoted 6 lines
Quoted 4 lines
Step 2 is to export the incremental changes. The hangup there is figuring out a generic and portable file format to represent those incremental changes; we'd rather not invent something ourselves that is ceph-specific. Suggestions welcome!
AFAIK, both 'zfs' and 'btrfs' already have such format.
I think zfs could be problematic again with their licenses? If not i would prefer that one as it is proven and stable.
Greets,
Stefan
Quoted 11 lines · Sage Weil
Quoted 7 lines · Stefan Priebe - Profihost AG
Hello list,
right now a rbd export exports exactly the size of the disk even if there is KNOWN free space. Is this inteded to change?
Might it be possible to export just differences between snapshots and merge them later?
We were just talking about this the other day.
Quoted 8 lines
Step 1 is to create a mechanism to output a list of block ranges that have/have not changed between snapshots.
Step 2 is to export the incremental changes. The hangup there is figuring out a generic and portable file format to represent those incremental changes; we'd rather not invent something ourselves that is ceph-specific. Suggestions welcome!
I'm not sure about the licensing and such, but doesn't VMware do something with their VMDK images?
There you have a base image and each snapshot is a separate file.
You have:
image.vmdk
image-delta1.vmdk
image-delta2.vmdk
..
..
You can merge all these files together again to a new image based on the last snapshot you feeded it.
They probably didn't use a open format to do this, but something in that direction is what you are looking for?
Wido
Quoted 7 lines
sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Am 24.11.2012 um 01:04 schrieb Wido den Hollander <[email protected]>:
Quoted 34 lines · Sage Weil
Quoted 11 lines · Stefan Priebe - Profihost AG
Quoted 7 lines
Hello list,
right now a rbd export exports exactly the size of the disk even if there is KNOWN free space. Is this inteded to change?
Might it be possible to export just differences between snapshots and merge them later?
We were just talking about this the other day.
Quoted 7 lines
Step 1 is to create a mechanism to output a list of block ranges that have/have not changed between snapshots.
Step 2 is to export the incremental changes. The hangup there is figuring out a generic and portable file format to represent those incremental changes; we'd rather not invent something ourselves that is ceph-specific. Suggestions welcome!
I'm not sure about the licensing and such, but doesn't VMware do something with their VMDK images?
There you have a base image and each snapshot is a separate file.
You have:
image.vmdk
image-delta1.vmdk
image-delta2.vmdk
..
..
Quoted 3 lines
You can merge all these files together again to a new image based on the last snapshot you feeded it.
They probably didn't use a open format to do this, but something in that direction is what you are looking for?
Yes something like that would be perfect.
Stefan
Quoted 10 lines
Wido
Quoted 7 lines
sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html