1 Jun 2005 15:08
mdamin on Fedora Core 3 - recovery procedures
Harry M. Aasterud <harry <at> aasterudweb.com>
2005-06-01 13:08:40 GMT
2005-06-01 13:08:40 GMT
Hi, I found this email adress on the website of Neil Brown at http://cgi.cse.unsw.edu/~neilb/Contact. I hope this email will find its way to the right person, within reasonable time. I installed FC3 with server installation. I'm using to identical disks 40 Gb each, no RAID controller. Disc 1 on IDE controler 1, 2 on 2. During partitioning, I did this: - deleted all partitions - created new partition on hda, file system type software RAID, 100 Mb. This will be boot partition on hda. Did the same on hdc - created new partition on hda, file system type software RAID, 512 Mb. This will be swap partition on hda. Did the same on hdc - created new partition on hda, file system type software RAID, fill to max size . This will be / partition on hda. Did the same on hdc Created RAID devices selected hda1 and hdc1 -> md1 selected hda2 and hdc2 -> md2 selected hda3 and hdc3 -> md3 copied MBR via grub When doing so, al works fine. Shutting down the system, disconnecting disc 2, and reboot. Doing cat /proc/mdstat shows only hda1/2/3, which is correct. just one minor problem: Smartd failed to load during reboot, though the smard.conf points to both hda and hdc. But the system is(Continue reading)
I followed your steps, I it
worked... That exactly what I did:
- I applied the patch
md-make-raid5-and-raid6-robust-against-failure-during-recovery.patch to my
kernel.
- dd the all the hardisk erasing superblock info and all...
- Create again the array from 0.
I checked the logs and all seems to be right.
Thanks again.
By the way... I have two questions.
1.- This patch will be included in new kernels versions or I have to applied
each time I compile a new kernel version?
2.- Working with big files (700megs) in the RAID comsumes a lot of cpu
resources, is this normal? I have an Pentium 4, 3Ghz and 1GB RAM...
That's all.
> Francisco Zafra wrote:
> > I have 8 200GB new SATA HDs, mdadm v1.9.0 and kernel 2.6.11.8.
>
> > When the create command finish proc/mdstats report the following:
> > md0 : active raid5 sda1[0] sdh1[8] sdg1[6] sdf1[5] sde1[4]
> > sdd1[3]
> > sdc1[9](F) sdb1[1]
.
> 1.- This patch will be included in new kernels versions or I have to applied
> each time I compile a new kernel version?
It will be included at some point, probably "soon".
I'm not part of that process so can't really say for sure when..
> 2.- Working with big files (700megs) in the RAID comsumes a lot of cpu
> resources, is this normal? I have an Pentium 4, 3Ghz and 1GB RAM...
Probably depends how you define "working".
For simple operations, my *guess* would be that your CPU should
outperform your I/O subsystem, at least if you have DMA enabled. You
can check if that's the case with 'hdparm /dev/hd<x>'.
I'm not sure how to analyze your CPU problem. You're probably
interested in knowing whether it's MD doing XOR for raid5 or it's the
kernel busy waiting for your IDE disks. Unless you are doing other
things, like encryption for example. Perhaps a tool like 'top' can
help you. But again, I have no real good idea how to find out.
Perhaps others can be helpful?
With 8 disks and a standard PCI bus, my guess would be that your PCI
bus would be the first thing to get saturated.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo <at> vger.kernel.org
RSS Feed