On Thu, Jul 9, 2020 at 12:02 AM Void Star Nill <void.star.n...@gmail.com> wrote:
>
>
>
> On Wed, Jul 8, 2020 at 4:56 PM Jason Dillaman <jdill...@redhat.com> wrote:
>>
>> On Wed, Jul 8, 2020 at 3:28 PM Void Star Nill <void.star.n...@gmail.com> 
>> wrote:
>> >
>> > Hello,
>> >
>> > My understanding is that the time to format an RBD volume is not dependent
>> > on its size as the RBD volumes are thin provisioned. Is this correct?
>> >
>> > For example, formatting a 1G volume should take almost the same time as
>> > formatting a 1TB volume - although accounting for differences in latencies
>> > due to load on the Ceph cluster. Is that a fair assumption?
>>
>> Yes, that is a fair comparison when creating the RBD image. However, a
>> format operation might initialize and discard extents on the disk, so
>> a larger disk will take longer to format.
>
>
> Thanks for the response Jason. Could you please explain a bit more on the the 
> format operation?

I'm not sure what else there is to explain. When you create a file
system on top of any block device, it needs to initialize the block
device. Depending on the file system, it might take more time for
larger block devices because it's doing more work.

> Is there a relative time that we can determine based on the volume size?
>
> Thanks
> Shridhar
>
>
>>
>>
>> > Thanks,
>> > Shridhar
>> > _______________________________________________
>> > ceph-users mailing list -- ceph-users@ceph.io
>> > To unsubscribe send an email to ceph-users-le...@ceph.io
>> >
>>
>>
>> --
>> Jason
>>


-- 
Jason
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to