LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-23-2006, 02:08 PM   #1
zhuningwll
LQ Newbie
 
Registered: Apr 2006
Posts: 21

Rep: Reputation: 15
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??
 
Old 04-23-2006, 06:21 PM   #2
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564

Rep: Reputation: Disabled
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
I also insert this line into a working system in /etc/rc.d/rc.S, right up front, after the path definition, so that it will be applied before much is written to the drive. Even fsck can cause the drive to quit.

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 -)
substituting the actual mount points. The copy will take several minutes & should complete with no errors. Repeat the above command for any other partitions that you use. In my case, I only use "/", so only do it once. Now, modify the /etc/fstab file on /dev/hde, so that it points to the right partitions. You will also need to install a bootloader. I install GRUB, from the slackware-current/extra directory & start with the grubconfig program, then modify menu.lst from there. If you use LILO, I won't be much help, I haven't used it for a long time. Although I assume that you could boot from the hda partition you have and install LILO to hde from there.
This should get you started. If you have any questions, please post.
Regards,
Bill
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ITE8212 RAID Card JRWR Slackware 1 03-24-2006 09:02 PM
Slackware 10.2 install - SCSI RAID OK but install can not see IDE disks ?? gepas Slackware 3 02-08-2006 03:29 PM
Problems with ITE8212 raid card. paped1 Linux - Hardware 2 11-07-2005 06:54 AM
Software Raid setup to install slackware 9.1 anvil82 Linux - Hardware 2 03-20-2004 08:59 PM
ITE8212 RAID driver sjoeboo Debian 0 10-02-2003 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration