raid1: metadata 1.2 size calculation formula needed

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

 



Hi Neil, hi others,

we want to be able to calculate the size of the MD metadata 1.2 + bitmap
size in advance before creating MD RAID 1 volumes.
Is there somewhere a documented formula?

I guess the metadata is at fixed size + 0x1000 at the beginning of the
block device. Then, the bitmap size depends on the bitmap chunksize +
boundary filling.

When growing/shrinking, the bitmap remains at the size from creation and
only the bitmap chunksize is adjusted, right?

Cheers,
Sebastian

-- 
Sebastian Riemer
Linux Kernel Developer

ProfitBricks GmbH • Greifswalder Str. 207 • 10405 Berlin, Germany
www.profitbricks.com • sebastian.riemer@xxxxxxxxxxxxxxxx

Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Andreas Gauger, Achim Weiss

--
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