Re: RBD thin provisioning and time to format a volume

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

 



On Thu, Jul 9, 2020 at 12:02 AM Void Star Nill <void.star.nill@xxxxxxxxx> wrote:
>
>
>
> On Wed, Jul 8, 2020 at 4:56 PM Jason Dillaman <jdillama@xxxxxxxxxx> wrote:
>>
>> On Wed, Jul 8, 2020 at 3:28 PM Void Star Nill <void.star.nill@xxxxxxxxx> 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@xxxxxxx
>> > To unsubscribe send an email to ceph-users-leave@xxxxxxx
>> >
>>
>>
>> --
>> Jason
>>


-- 
Jason
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux