Solved

Hardware Raid 5

Posted on 1999-01-11
10
278 Views
Last Modified: 2013-12-16
I want to install a raid controller in my ScoUnix box. I Have 4 hard drive inside, 1 for Unix and 3 for data. I want to do my raid 5 with my 3 data drive. I would like to know if I need to reinstall Unix even if it'snot a part of my raid configuration
0
Comment
Question by:christg
  • 4
  • 2
  • 2
  • +2
10 Comments
 

Expert Comment

by:procguy
ID: 1812618
No you won't have to reinstall Unix.  You will have to back up the data and re-install that once the RAID is setup and the partions are created.  On the UNIX side, you'll have to obtain the appropriate device driver for the controller, tune some kernel parameters & recompile it, and change the fstab file.
0
 
LVL 7

Expert Comment

by:jconde
ID: 1812619
Hi, first of all, if you want to install a raid 5 configuration, and you have 4 hard disks, one of them will work as a "hot point" drive....that means you will not be able to use it.  That drive will be on a stand-by basis and will become active when one of the other 3 fail.

Now, you will have to reinstall the OS because the raid setup will make you have to low-level format the hard drives.

Before installing the DPT card, make sure you have the correct drivers for Sco.

Regards,

Jorge del Conde
0
 
LVL 7

Expert Comment

by:jconde
ID: 1812620
oops, it's not called "hot point" drive, but Hot-Spare drive.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:fire85
ID: 1812621
You don't necessarily need to have a hot spare drive, but it does make recovery easier because you can put the hot spare online if a drive fails and rebuild the stripe. Otherwise you will need to obtain another drive equal to the size of the current drives if one does fail and go offline.
0
 
LVL 1

Expert Comment

by:jmohan
ID: 1812622
Christg,
Are you going to use SCO Virtual Disk Manager or is it a Hardware RAID ?
What version of SCO Unix?
If its SCO Virtual Disk Manager, which version?
0
 
LVL 1

Expert Comment

by:jmohan
ID: 1812623
Oops...missed to note the Subject!
Believe its Hardware RAID 5 (from the Subject).
Let us know how your existing SCO is partitioned. i.e. on which controller the 4 HDDs are installed? Is this the RAID controller?
Do you have the config. utility for the RAID controller?

0
 

Author Comment

by:christg
ID: 1812624
Hi, the SCO Version is 5.0.4 and I will use hardware Raid. Right now, all disk are installed on a regular SCSI controller. I want to keep the first hard drive (Sco is installed on it) and have a raid 5 with the 3 other hard drive.
0
 
LVL 1

Expert Comment

by:jmohan
ID: 1812625
Chris,
If you are going to replace the existing SCSI controller with your new RAID controller, then you need to reinstall SCO.

If you are going to install RAID controller as your secondary controller (primary being the existing SCSI controller)..
There are few things you need to note ..
1. Disk 0 - root/swap/tmp ...only and nothing else
2. Disk 1,2,3  I condider this as your DATA
3. Proper backup. Be 100% sure that you can fall back to you original configuration.
4. SCO drivers for the other RAID controller.

unmount the partitions for Disk 1,2&3 & also update you /etc/mnttab
delete the disks ID1,2&3 (use mkdev hd)
you need to know SCSI ID, LUN of these disks.
Rebuild & reboot to ensure what you did is working.
You should only see the UNIX (disk0) and not the other disks (DATA).

Now install the RAID controller as secondary SCSI controller
Now use your HW vendor supplied RAID config utility & configure the Disks 1,2,3

Boot with SCO
run mkdev hd, create partitions, rebuild and reboot.
update your mnttab
reboot & check it works.
Restore from your back the DATA alone.

0
 

Author Comment

by:christg
ID: 1812626
The answer of jmohan is better
0
 
LVL 1

Accepted Solution

by:
jmohan earned 250 total points
ID: 1812627
If you are going to replace the existing SCSI controller with your new RAID controller, then you need to reinstall SCO.

If you are going to install RAID controller as your secondary controller (primary being the existing SCSI controller)..
      There are few things you need to note ..
      1. Disk 0 - root/swap/tmp ...only and nothing else
      2. Disk 1,2,3  I condider this as your DATA
      3. Proper backup. Be 100% sure that you can fall back to you original configuration.
      4. SCO drivers for the other RAID controller.

      unmount the partitions for Disk 1,2&3 & also update you /etc/mnttab
      delete the disks ID1,2&3 (use mkdev hd)
      you need to know SCSI ID, LUN of these disks.
      Rebuild & reboot to ensure what you did is working.
      You should only see the UNIX (disk0) and not the other disks (DATA).

      Now install the RAID controller as secondary SCSI controller
      Now use your HW vendor supplied RAID config utility & configure the Disks 1,2,3

      Boot with SCO
      Install the RAID controller Driver
      Rebuild & reboot
      run mkdev hd, add Disk
      this will rebuild and reboot.
      run mkdev hd again, create partitions
      mount the partitions
      update your mnttab  
      reboot & check it works.
      Restore from your back the DATA alone.
Whenever, you pull out a RAID configured disk, you need to run the Vendor supplied utility to rebuild the disk agian.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux performance issues with 100% swap usage, etc 15 100
Unix process listing into CSV format 3 46
Correct syntax to upload file in a script using sftp 2 97
Unix Question 19 53
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question