linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bitmaps & Kernel Versions
@ 2006-03-15  9:12 Laurent CARON
  2006-03-15 10:08 ` Neil Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Laurent CARON @ 2006-03-15  9:12 UTC (permalink / raw)
  To: linux-raid

Hi,

I'm planning to use bitmaps on some of our RAID1 arrays.

I'm wondering how bitmaps are handeled by older kernels.

Eg: I create a raid array with a bitmap under a 2.6.15 kernel.

I now want to boot under 2.6.12, or even 2.4


Hos is it handeled?
Will it work even if this is my / partition?

Thanks

Laurent

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bitmaps & Kernel Versions
  2006-03-15  9:12 Bitmaps & Kernel Versions Laurent CARON
@ 2006-03-15 10:08 ` Neil Brown
  2006-03-15 23:43   ` Luca Berra
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Brown @ 2006-03-15 10:08 UTC (permalink / raw)
  To: Laurent CARON; +Cc: linux-raid

On Wednesday March 15, lcaron@unix-scripts.info wrote:
> Hi,
> 
> I'm planning to use bitmaps on some of our RAID1 arrays.
> 
> I'm wondering how bitmaps are handeled by older kernels.
> 
> Eg: I create a raid array with a bitmap under a 2.6.15 kernel.
> 
> I now want to boot under 2.6.12, or even 2.4
> 
> 
> Hos is it handeled?
> Will it work even if this is my / partition?

On older kernel will not notice the bitmap and will behave
'normally'. 

When you go back to a kernel that understands bitmaps, it will notice
that the bitmap is now out-of-date and will not trust it, but should
start putting fresh data into it.

So it *should* all "just work".  However it hasn't been extensively
tested so I'm not giving any guarantees.

NeilBrown

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bitmaps & Kernel Versions
  2006-03-15 10:08 ` Neil Brown
@ 2006-03-15 23:43   ` Luca Berra
  2006-03-16 11:56     ` Laurent CARON
  0 siblings, 1 reply; 4+ messages in thread
From: Luca Berra @ 2006-03-15 23:43 UTC (permalink / raw)
  To: linux-raid

On Wed, Mar 15, 2006 at 09:08:17PM +1100, Neil Brown wrote:
>On Wednesday March 15, lcaron@unix-scripts.info wrote:
>> Hi,
>> 
>> I'm planning to use bitmaps on some of our RAID1 arrays.
>> 
>> I'm wondering how bitmaps are handeled by older kernels.
>> 
>> Eg: I create a raid array with a bitmap under a 2.6.15 kernel.
>> 
>> I now want to boot under 2.6.12, or even 2.4
>> 
>> 
>> Hos is it handeled?
>> Will it work even if this is my / partition?
>
>On older kernel will not notice the bitmap and will behave
>'normally'. 
>
strange,
last time i tried an older kernel would refuse to activate an md with a
bitmap on it.
I am far from home on a business trip and i don't have kernel-sources at
hand, but i seem to remember that the kernel was very strict on the
feature bitmap in the superblock.

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bitmaps & Kernel Versions
  2006-03-15 23:43   ` Luca Berra
@ 2006-03-16 11:56     ` Laurent CARON
  0 siblings, 0 replies; 4+ messages in thread
From: Laurent CARON @ 2006-03-16 11:56 UTC (permalink / raw)
  To: linux-raid; +Cc: Luca Berra

Luca Berra a écrit :
> On Wed, Mar 15, 2006 at 09:08:17PM +1100, Neil Brown wrote:
> 
>> On Wednesday March 15, lcaron@unix-scripts.info wrote:
>>
>>> Hi,
>>>
>>> I'm planning to use bitmaps on some of our RAID1 arrays.
>>>
>>> I'm wondering how bitmaps are handeled by older kernels.
>>>
>>> Eg: I create a raid array with a bitmap under a 2.6.15 kernel.
>>>
>>> I now want to boot under 2.6.12, or even 2.4
>>>
>>>
>>> Hos is it handeled?
>>> Will it work even if this is my / partition?
>>
>>
>> On older kernel will not notice the bitmap and will behave
>> 'normally'.
> 
> strange,
> last time i tried an older kernel would refuse to activate an md with a
> bitmap on it.
> I am far from home on a business trip and i don't have kernel-sources at
> hand, but i seem to remember that the kernel was very strict on the
> feature bitmap in the superblock.
> 
> L.
> 
I experienced the same strange behavior.

Bitmap was created on 2.6.15, tried to boot 2.6.14 and /dev/md0 was not 
started :$.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-16 11:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-15  9:12 Bitmaps & Kernel Versions Laurent CARON
2006-03-15 10:08 ` Neil Brown
2006-03-15 23:43   ` Luca Berra
2006-03-16 11:56     ` Laurent CARON

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