Re: Are RBD volumes sparse?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 16, 2022 at 1:48 AM Pete Zaitcev <zaitcev@xxxxxxxxxx> wrote:
>
> Hello:
>
> I'm looking at restoring from a backup in an environment that operates
> with RBD volumes. Suppose that I restore into a newly created volume.
> Does that volume have a UNIX-like semantics of returning zeroes
> from blocks into which no data was written yet?

Hi Pete,

Yes, it does.

>
> In Linux, this feature is thought as useful enough that LVM volumes
> do that, although they are not files. But naturally, traditional disks
> do not do that, unless they are pre-filled with zeroes.
>
> Obviously, tracking which blocks contain data adds an overhead.
> But we should be well situated with all the snapshots and the diff.
> Yet I'm unable get a conclusive answer if we do it for RBD and/or RADOS.
> Does anyone happen to know how this works and is it guaranteed on
> various types of backends?

It is guaranteed on all backends, both at RBD and RADOS layers.

Thanks,

                Ilya
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx



[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux