Quote:
Originally Posted by notageek
You'll have to manually write /etc/mdadm.conf
Example:
Code:
ARRAY /dev/md0 level=linear num-devices=2 devices=/dev/sdb1,/dev/sdb2
man page of mdadm.conf has got examples that you can try.
|
Ok, so I read the man page and tried two configs but still nothing:
The configs I tried:
[root@iccproject tylerm]# cat /etc/mdadm.conf
ARRAY /dev/md1 UUID=67c91b6c-9c80-af3f-aeff-096bf1e86363
[root@iccproject tylerm]# cat /etc/mdadm.conf
ARRAY /dev/md1 level=lraid0 num-devices=2 devices=/dev/sdb1,/dev/sdc1
Here is the UUID list that shows sdc1 and sdb1 as the same UUID:
[root@iccproject tylerm]# lsmod | grep md
[root@iccproject tylerm]# blkid
/dev/mapper/VolGroup00-LogVol00: UUID="9b39fee7-7b3d-4ac5-a9a1-5ceddf4cb5fb" TYPE="xfs"
/dev/mapper/VolGroup00-LogVol01: TYPE="swap" UUID="da557042-0c61-4cec-ab01-e52cde00ed54"
/dev/sda1: LABEL="/boot" UUID="bfae2cca-6434-4039-aa35-cbc5e1d525ce" TYPE="ext3" SEC_TYPE="ext2"
/dev/sda2: UUID="sZN5vY-f58K-MKlY-CAtn-YIdb-g4j7-GJiAEP" TYPE="lvm2pv"
/dev/VolGroup00/LogVol00: UUID="9b39fee7-7b3d-4ac5-a9a1-5ceddf4cb5fb" TYPE="xfs"
/dev/VolGroup00/LogVol01: TYPE="swap" UUID="da557042-0c61-4cec-ab01-e52cde00ed54"
/dev/sdb1: UUID="67c91b6c-9c80-af3f-aeff-096bf1e86363" TYPE="mdraid"
/dev/sdc1: UUID="67c91b6c-9c80-af3f-aeff-096bf1e86363" TYPE="mdraid"
/dev/sde1: LABEL="USB20FD" UUID="8C14-6402" TYPE="vfat"
[root@iccproject tylerm]# cat /etc/mdadm.conf
ARRAY /dev/md1 UUID=67c91b6c-9c80-af3f-aeff-096bf1e86363
lsmod doees not show "md" to be loaded like the mdadm.conf man pages says that it uses md as the driver.
[root@iccproject tylerm]# modprobe md
FATAL: Module md not found
Then I tired the The gentoo raid dirver name:
[root@iccproject tylerm]# modprobe dm-mod
FATAL: Module md not found
fdisk -l shows the disks:
Code:
Disk /dev/sdb: 150.0 GB, 150039945216 bytes
255 heads, 63 sectors/track, 18241 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1ad5a23a
Device Boot Start End Blocks Id System
/dev/sdb1 1 18241 146520801 83 Linux
Disk /dev/sdc: 150.0 GB, 150039945216 bytes
255 heads, 63 sectors/track, 18241 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00008612
Device Boot Start End Blocks Id System
/dev/sdc1 1 18241 146520801 83 Linu
I fired up the LVM2 gui and no volume group but the root filesystem (the volume group should be /dev/vg/xfsstripe)
Finally here is the scan from mdadm:
[root@iccproject tylerm]# mdadm --detail --scan
mdadm: md device /dev/md/d0 does not appear to be active.
mdadm: md device /dev/md/d1 does not appear to be active.
Any ideas?