Slackware install with Raid ITE8212??
I Have two 40G HD and want to user Raid(ITE8212) do Raid 1, i have setting the raid BIOS with raid 1,boot with slackware Disk1 and choose the test26.s,it display hde for raid1(40G),and I fdisk /dev/hde.after it can install slackware very well,and do raid 1.
But Now I have on server it have a exiting system(slack10.1),and i want to use Raid1 ,but no want to reinstall the system ,what can I do? pls help me?? |
Been there, done that, wearing the tee shirt
In my case, I have an hda drive that I normally work in, but I copy the hda2 partition to hde2 for backup & use if/when I crash my main partition. One warning, this method will not allow you to boot from the partition that you are going to copy. I actually created an hda3 partition (about 500 mb) & loaded a minimal Slackware installation (command line & networking only) into it to do this job. If you are not planning to keep hda in the box, using a LiveCD will work also, as long as it uses a recent 2.6 series kernel, so that you have the IT821X driver. The most recent SLAX works well. I will assume that you are booting from a LiveCD. So...
Install your raid drives & set up the ITE bios. Install the drive that has the partition(s) you want to copy as hda (or hdb, or whatever). Boot from the LiveCD. Note: I have trouble reading/writing large amounts of data to/from /dev/hde if DMA is not set on the drive. Use: Code:
hdparm -d1 /dev/hde Now, use (c)fdisk to make the partitions you will need on /dev/hde. Do not forget swap. Format the partitions as you wish. Mount the main partition on /dev/hde/ somewhere. Type the command: Code:
(cd /mnt/hda/orig && tar cf - . ) | (cd /mnt/hde/new; tar xpvf -) This should get you started. If you have any questions, please post. Regards, Bill |
All times are GMT -5. The time now is 11:27 PM. |