Re: mdadm and 2.4 kernel?

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

 



On Thursday May 25, ste@xxxxxxxxxxxx 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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-
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