install/run dmraid; disks missing

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

 



Hi

I'm trying to get DMRAID to run on a system with only RAIDed disks.

I've downloaded Knoppix 3.7, which contains a 2.6.9 kernel and
device-mapper tools.

Also, I've downloaded dmraid-1.0.0-rc6-1_static.i386.rpm and extracted
dmraid with 'alien'.

When I run 'dmraid -tay', it only sees half of the disks on the RAID controller.
It sees hde and hdg which is the two first disks, but not hdi and hdk.

'dmraid'  then assembles the mirror array in degraded mode, and bails
out on the striped array since it has a disk missing.

Help! :-)

Device mapper:
$ insmod dm-mod
$ insmod dm-mirror
$ dmesg | tail -n 1
device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@xxxxxxxxxxxxxx

DmRaid:
$ dmraid -tay -vvv
NOTICE: /dev/hde: hpt37x discovering
NOTICE: /dev/hde: hpt37x metadata discovered
NOTICE: /dev/hde: hpt45x discovering
[... snip: hde / isw,lsi,nvidia,pdc,sil,via discovery notice ...]
NOTICE: /dev/hdg: hpt37x discovering
NOTICE: /dev/hdg: hpt45x discovering
NOTICE: /dev/hdg: hpt45x metadata discovered
[... snip: hdg / isw,lsi,nvidia,pdc,sil,via discovery notice ...]
NOTICE: added /dev/hde to RAID set "hpt37x_ehgjaggaf"
NOTICE: added /dev/hdg to RAID set "hpt45x_bbdfhdjicg"
ERROR: hpt37x: wrong # of devices in RAID set "hpt37x_ehgjaggaf" [1/2]
on /dev/hde
ERROR: removing inconsistent RAID set "hpt37x_ehgjaggaf"
ERROR: creating degraded mirror mapping for "hpt45x_bbdfhdjicg"
hpt45x_bbdfhdjicg: 0 78150739 linear /dev/hdg 0
INFO: Activating mirror RAID set "hpt45x_bbdfhdjicg"

Disk listing:
$ for hd in `ls -1d /proc/ide/hd?|awk -F/ '{print $NF}'`; do
info="$hd: ["`cat /proc/ide/$hd/model`"] ("`cat
/proc/ide/$hd/capacity`" sectors)"; echo $info; done

hdc: [_NEC DVD_RW ND-2510A] (2147483647 sectors)
hde: [MAXTOR 6L080L4] (156355584 sectors)
hdg: [ST380021A] (156301488 sectors)
hdi: [MAXTOR 6L080L4] (156355584 sectors)
hdk: [MAXTOR 6L080L4] (156355584 sectors)


[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux