Re: Everchanging bytes at the end of mirror disks

From: Artem Kuchin <artemkuchin76_at_gmail.com>
Date: Sun, 11 Dec 2022 08:45:53 UTC
11.12.2022 11:22, Warner Losh пишет:
>
>
> On Sat, Dec 10, 2022, 11:52 PM Artem Kuchin <artemkuchin76@gmail.com> 
> wrote:
>
>     Hello!
>
>     I am writing a small utility for myseld and part of it is comparing
>     gmirror disks. After running some tests i realized that some bytes at
>     the very end of disks are constantly changing.
>
>
> The last sector has metadata about the mirror and about the mirror 
> element.  It's this latter data that differs.
>

Thank you for reply. Then there are several question

1) Last SECTOR is not always 512KB or is it? Do i need to get block size 
from diskinfo and subtract its size from disk size?

2) Why its content  is changing so often? On every write? How often? The 
only place to look for description is the gmirror sources?

Artem