The correct answer is "a"  But recall that this is the logical size, not
the physical size. The latter will
be smaller, of course.


On Mon, Sep 23, 2024 at 8:48 AM <adam.blaszczykow...@gmail.com> wrote:

> Hello,
> I have a question.
> For example, I have a dataset with recordsize = 128K and a file with size
> 156K. How will this file be saved:
>
> a) 2 blocks will be created, one with size 128K filled and the second
> block with size 128K and only 28K of data (100K in the block will remain
> empty)
>
> b) 2 blocks will be created, one with size 128K filled and the second
> block with size 32K (28K of data and 4K will remain empty)
>
> c) 2 blocks will be created, one with size 128K filled and the second
> block with size 28K for the remaining data.
>
> Please answer which variant is correct and whether the behavior of
> creating a block will be similar if, for example, recordsize = 4K and the
> file will have a size of, for example, 7K.
>
> Regards
> Adam
> *openzfs <https://openzfs.topicbox.com/latest>* / openzfs-developer / see
> discussions <https://openzfs.topicbox.com/groups/developer> + participants
> <https://openzfs.topicbox.com/groups/developer/members> + delivery options
> <https://openzfs.topicbox.com/groups/developer/subscription> Permalink
> <https://openzfs.topicbox.com/groups/developer/Tc9a5653e4575e3de-M5856bcdf4e1ce8cc7c3f8ba6>
>

------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/Tc9a5653e4575e3de-Mbca5c456941a0a05ce05ee28
Delivery options: https://openzfs.topicbox.com/groups/developer/subscription

Reply via email to