* mdadm and 2.4 kernel?
@ 2006-05-25 18:43 Ste
2006-05-26 7:01 ` Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: Ste @ 2006-05-25 18:43 UTC (permalink / raw)
To: linux-raid
Hi, for various reasons i'll need to run mdadm on a 2.4 kernel.
Now I have 2.4.32 kernel.
Take a look:
root@data:~# mdadm --create --verbose /dev/md0 --level=1
--bitmap=/root/md0bitmap -n 2 /dev/nda /dev/ndb --force --assume-clean
mdadm: /dev/nda appears to be part of a raid array:
level=raid1 devices=2 ctime=Thu May 25 20:10:47 2006
mdadm: /dev/ndb appears to be part of a raid array:
level=raid1 devices=2 ctime=Thu May 25 20:10:47 2006
mdadm: size set to 39118144K
Continue creating array? y
mdadm: Warning - bitmaps created on this kernel are not portable
between different architectured. Consider upgrading the Linux kernel.
mdadm: Cannot set bitmap file for /dev/md0: No such device
root@data:~# mdadm --create --verbose /dev/md0 --level=1 -n 2 /dev/nda
/dev/ndb --force --assume-clean
mdadm: /dev/nda appears to be part of a raid array:
level=raid1 devices=2 ctime=Thu May 25 20:10:47 2006
mdadm: /dev/ndb appears to be part of a raid array:
level=raid1 devices=2 ctime=Thu May 25 20:10:47 2006
mdadm: size set to 39118144K
Continue creating array? y
mdadm: SET_ARRAY_INFO failed for /dev/md0: File exists
root@data:~#
Obviously the devices "/dev/nda" and "/dev/ndb" exists (i can make fdisk
on them).
Can someone help me?
Thanks.
Stefano.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mdadm and 2.4 kernel?
2006-05-25 18:43 mdadm and 2.4 kernel? Ste
@ 2006-05-26 7:01 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2006-05-26 7:01 UTC (permalink / raw)
To: Ste; +Cc: linux-raid
On Thursday May 25, ste@phx6a.ath.cx wrote:
> Hi, for various reasons i'll need to run mdadm on a 2.4 kernel.
> Now I have 2.4.32 kernel.
>
> Take a look:
>
> root@data:~# mdadm --create --verbose /dev/md0 --level=1
> --bitmap=/root/md0bitmap -n 2 /dev/nda /dev/ndb --force --assume-clean
> mdadm: /dev/nda appears to be part of a raid array:
> level=raid1 devices=2 ctime=Thu May 25 20:10:47 2006
> mdadm: /dev/ndb appears to be part of a raid array:
> level=raid1 devices=2 ctime=Thu May 25 20:10:47 2006
> mdadm: size set to 39118144K
> Continue creating array? y
> mdadm: Warning - bitmaps created on this kernel are not portable
> between different architectured. Consider upgrading the Linux kernel.
> mdadm: Cannot set bitmap file for /dev/md0: No such device
>
2.4 does not support bitmaps (nor do early 2.6 kernels).
>
> root@data:~# mdadm --create --verbose /dev/md0 --level=1 -n 2 /dev/nda
> /dev/ndb --force --assume-clean
> mdadm: /dev/nda appears to be part of a raid array:
> level=raid1 devices=2 ctime=Thu May 25 20:10:47 2006
> mdadm: /dev/ndb appears to be part of a raid array:
> level=raid1 devices=2 ctime=Thu May 25 20:10:47 2006
> mdadm: size set to 39118144K
> Continue creating array? y
> mdadm: SET_ARRAY_INFO failed for /dev/md0: File exists
> root@data:~#
It seems /dev/md0 is already active somehow.
Try
mdadm -S /dev/md0
first. What does "cat /proc/mdstat" say?
NeilBrown
>
> Obviously the devices "/dev/nda" and "/dev/ndb" exists (i can make fdisk
> on them).
>
> Can someone help me?
> Thanks.
> Stefano.
>
>
>
>
>
> -
> 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] 2+ messages in thread
end of thread, other threads:[~2006-05-26 7:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-25 18:43 mdadm and 2.4 kernel? Ste
2006-05-26 7:01 ` 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).