Mr-sark
asked on
Software RAID 5 problem
I've got a big problem with my raid 5 on my linux redhat machine. I'm testing my software raid 5 at the moment, so i thought by myself i pull out a disk and put it back in, but it turned out i pulled out the worng one. so after putting it back in i pulled out another disk.
Now when i boot my linux redhat i'll get an error like this:
an error accurred during RAID sartup
starting up raid devices : mdadm : /dev/md0 assemble from 3 drives
not enough to start the array
/dev/md0 : invalid argument
/dev/md0 : is nog a RAID0or liniear array
who helps me out here
I can login to a RAID REPAIR shell but don't know what todo
when i use the raid tools i'll get the following errors
lsraid -a /dev/md0
output: lsraid -mddevice [9, 0] /dev/md0 is offline: please specify the dis query.
mdadm --detail /dev/md0
mdadm: md device /dev/md0 does nog appear to be online
thnx in advance
Now when i boot my linux redhat i'll get an error like this:
an error accurred during RAID sartup
starting up raid devices : mdadm : /dev/md0 assemble from 3 drives
not enough to start the array
/dev/md0 : invalid argument
/dev/md0 : is nog a RAID0or liniear array
who helps me out here
I can login to a RAID REPAIR shell but don't know what todo
when i use the raid tools i'll get the following errors
lsraid -a /dev/md0
output: lsraid -mddevice [9, 0] /dev/md0 is offline: please specify the dis query.
mdadm --detail /dev/md0
mdadm: md device /dev/md0 does nog appear to be online
thnx in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
mdadm --examine /dev/hda4 (drive and partition here)
You'll get output something like this:
/dev/hda4:
Magic : a92b4efc
Version : 00.90.00
UUID : 45008a00:6ebc837c:c02320fa
Creation Time : Fri May 2 10:53:31 2003
Raid Level : raid1
Device Size : 47737024 (45.53 GiB 48.88 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Update Time : Thu Mar 17 20:20:01 2005
State : dirty
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 2ae6c0a3 - correct
Events : 0.245
Number Major Minor RaidDevice State
this 0 3 4 0 active sync /dev/hda4
0 0 3 4 0 active sync /dev/hda4
1 1 3 68 1 active sync /dev/hdb4
sh-3.00#
Then you can assemble it via :
mdadm --assemble /dev/md1 /dev/hda4 /dev/hdb4
Rhino