Re: bitmap questions

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

 



On Wed, Oct 13, 2010 at 12:24 PM, Arkadiusz Miskiewicz
<a.miskiewicz@xxxxxxxxx> wrote:

> I have a question on how bitmap works and what's shown in /proc/mdstat, for
> example:
>
> md2 : active raid10 sdc3[0] sdd3[3] sdb3[2] sda3[1]
>      60002560 blocks 64K chunks 2 near-copies [4/4] [UUUU]
>      bitmap: 1/1 pages [4KB], 65536KB chunk
>
> - 1 bitmap for 4096 chunks
>
> - if it shows 0/1 pages [0KB] what does it actually mean?

If it's 0 pages then no resync.
I assume you mean 1/1 ?

> Does that mean that
> in case of resync it will resync _all_ 4096  chunks in that page or only chunks
> that require that (for example 7 chunks) ?

It only resyncs what is dirty. A page dirty in the in-memory bitmap
does not mean ALL bits are dirty, just that the page is allocated.

--
Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux