mdadm issue on Ubuntu Januty 9.04 server

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

 



Hi,

I am facing an issue with mdadm on Ubuntu Jaunty 9.04 Server 64-bit edition.

Host:
- Dual quad-core Xeon 5450 3.0 GHz CPUs
- 16 GB RAM
- Ubuntu 9.04 server (2.6.28-11)
- mdadm 2.6.7.1
- LSI 3801E controller with 12 x Seagate Cheetah 15K.5 300GB drives

I am trying to create a RAID 0 md device from two of the 15K.5 drives.
When I boot my Host, it seems like there is some legacy md data in
/proc/mdstat. However, /etc/mdadm.conf is empty.

root@JAUNTY:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
[raid4] [raid10]
md_d1 : inactive sdx[1](S)
      292968640 blocks

md_d0 : inactive sdj[3](S) sdm[0](S) sdf[7](S) sdg[6](S)
      1171874560 blocks

unused devices: <none>


I proceed to stop and remove these md devices and use /proc/mdstat to
verify that they were removed.

root@JAUNTY:~# mdadm -S /dev/md_d1
mdadm: stopped /dev/md_d1
root@JAUNTY:~# mdadm -S /dev/md_d0
mdadm: stopped /dev/md_d0
root@JAUNTY:~# mdadm -r /dev/md_d1
root@JAUNTY:~# mdadm -r /dev/md_d0
root@JAUNTY:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
[raid4] [raid10]
unused devices: <none>


Now it appears that the md devices are removed.

I then try to create an md device:

root@JAUNTY:~# mdadm -C -f -e 1.0 -R /dev/md0 -l 0 -n 2 -c 64 /dev/sdd /dev/sdg
mdadm: /dev/sdg appears to be part of a raid array:
    level=raid0 devices=8 ctime=Sun Mar 22 23:22:03 2009
mdadm: array /dev/md0 started.
root@JAUNTY:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
[raid4] [raid10]
md0 : active raid0 sdg[1] sdd[0]
      585937408 blocks super 1.0 64k chunks

unused devices: <none>


Why does mdadm report /dev/sdg as part of a raid array? I removed all
the md devices as shown above. Thank you for your help!

Thanks!
-Thomas
--
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