* Adding a bitmap, v 0.90 superblocks
@ 2008-07-29 18:44 Richard Michael
2008-08-01 3:11 ` Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: Richard Michael @ 2008-07-29 18:44 UTC (permalink / raw)
To: linux-raid
I would like to add an internal bitmap to my RAID1 array. It uses
v 0.90 superblocks.
Reading the man page, I believe I do this with:
"mdadm --grow --bitmap=internal /dev/mdX"
correct?
How do I know how much space is available on the superblock when mdadm
will perform it's computation "to make best use of available space"?
I'm curious because perhaps I should change to 1.x superblocks in the
future (for non-bootable arrays).
Regards,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Adding a bitmap, v 0.90 superblocks
2008-07-29 18:44 Adding a bitmap, v 0.90 superblocks Richard Michael
@ 2008-08-01 3:11 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2008-08-01 3:11 UTC (permalink / raw)
To: Richard Michael; +Cc: linux-raid
On Tuesday July 29, rmichael-raid@edgeofthenet.org wrote:
> I would like to add an internal bitmap to my RAID1 array. It uses
> v 0.90 superblocks.
>
> Reading the man page, I believe I do this with:
>
> "mdadm --grow --bitmap=internal /dev/mdX"
>
> correct?
Correct!
>
> How do I know how much space is available on the superblock when mdadm
> will perform it's computation "to make best use of available space"?
> I'm curious because perhaps I should change to 1.x superblocks in the
> future (for non-bootable arrays).
with 0.90, there is about 60K guaranteed to be available. This is
491520 bits.
With 1.0 there 3K guaranteed to be available, though there might be
more. I don't think we use the "more" currently unless you add a
bitmap when creating the array.
So there is no need to change metadata version for more bitmap space.
NeilBrown
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-01 3:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29 18:44 Adding a bitmap, v 0.90 superblocks Richard Michael
2008-08-01 3:11 ` Neil Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).