RAID config


 
Thread Tools Search this Thread
Operating Systems AIX RAID config
# 1  
Old 08-12-2008
RAID config

We have an IBM pseries with AIX 5.1 that we are going to set up with RAID 5. It has a 7028-2498 RAID controller that was never configured, long story. It has six 36GB drives, and my question is, can we set up the RAID 5 array before reloading AIX, such that all six drives are part of the array?
# 2  
Old 08-13-2008
I don't understand what reloading means.
Is your AIX on separate disks or on one of those 6 drives connected to the raid controller? Maybe you give a bit more detail.
We have some old DPT RAID controller and if I recall correct, it deleted existing data on disks, if you chose to build a new array. Maybe check the doku for your controller.
# 3  
Old 08-13-2008
Thanks for responding. AIX is currently loaded on disk0. Since this server was never configured with any RAID settings, but has years of data written to the other disks, we are going to copy the data out, and reload AIX with the array configured for RAID5. It looks like the typical approach would be to reload AIX on disk0, mirror it with disk1, and use the other four disks for the array. My question is, can the array be setup before AIX is reloaded, such that we can use all six drives in the array?
# 4  
Old 08-13-2008
Now, that it becomes clearer what ou want to do, i'd strongly suggest you dont do that. Keep in mind that to create a RAID from several disks is not only a feat the controller does but also the accompaning driver layer. This means that the machine would have to boot from a device which only comes into existence due to the work of a loadable piece of software (the driver) which is stored on the device it tries to make function - a circulus vitiosus, so to say.

Therefore i doubt that it is even possible to boot from a RAID device, but even if it is - don't do it and spare yourself some nightmare. Consider the following, not too farfetched situation: you upgrade the system and upgrade the driver software, which in turn makes the RAID unmountable for some or other software glitch. There is a BIG difference between having a system, which runs but is unable to mount its data storage and a system which is completely unbootable because the most core FSes won't mount, in fact even the kernel image cannot be loaded.

Do yourself a favour and make two disks a mirror, where the system software resides (rootvg) and the other four disks use as a RAID array.

I hope this helps.

bakunin
# 5  
Old 08-13-2008
O.k., so you make an excellent and well taken point. Last question, is there any issue if I keep the 36GB drives disk0 and disk1 for mirroring the OS, and replace the other four 36GB drives with 73GB drives?
# 6  
Old 08-13-2008
Quote:
Last question, is there any issue if I keep the 36GB drives disk0 and disk1 for mirroring the OS, and replace the other four 36GB drives with 73GB drives?
No, not at all. First identify carefully which physical disks are "hdisk0" and "hdisk1" (have a look at the location codes). Then install AIX on one of these disks, add the second one to the rootvg and run "mirrorvg", which will mirror every FS in the volume group. Replace now (or before, it doesn't matter) the other four disks, create a RAID array from the new ones and create a volume group from the disk device the RAID controller has created. Check with "lspv", hdisk0 and hdisk1 should belong to "rootvg", all the other disks to "datavg" (or whatever you name it).

Now create LVs/FSs from the datavg and fill with data, etc. (probably you will simply have to restore it from somewhere).

If you want to replace the disks of this datavg you can do so by "varyoffvg" the datavg. You could work on these disks without even shutting down the machine (another advantage of having the OS software separated from the data).

I hope this helps.

bakunin
# 7  
Old 08-13-2008
Great, I think we will proceed as you describe. Forums like this are probably the most useful thing the Internet has to offer from my perspective. Thanks alot for sharing your expertise.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

RAID Configuration for IBM Serveraid-7k SCSI RAID Controller

Hello, I want to delete a RAID configuration an old server has. Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton? I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Discussion started by: @dagio
0 Replies

2. Red Hat

Apache virtual host config vs global config problem

Hi folks, I am trying to configure Apache webserver and also a virtual host inside this webserver. For Global server config: /var/www/html/index.html For virtual host config: /var/www/virtual/index.html Both client10 & www10 are pointing to 192.168.122.10 IP address. BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies

3. Solaris

Software RAID on top of Hardware RAID

Server Model: T5120 with 146G x4 disks. OS: Solaris 10 - installed on c1t0d0. Plan to use software raid (veritas volume mgr) on c1t2d0 disk. After format and label the disk, still not able to detect using vxdiskadm. Question: Should I remove the hardware raid on c1t2d0 first? My... (4 Replies)
Discussion started by: KhawHL
4 Replies

4. AIX

SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared

Hello, I have a scsi pci x raid controller card on which I had created a disk array of 3 disks when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk ) suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies

5. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated. script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made. OS :Susi linux ver 10.3. ... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

6. UNIX for Dummies Questions & Answers

RAID software vs hardware RAID

Hi Can someone tell me what are the differences between software and hardware raid ? thx for help. (2 Replies)
Discussion started by: presul
2 Replies

7. Shell Programming and Scripting

parsing config file to create new config files

Hi, I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below. I will be using the config file as mentioned below: (config.txt) country:a,b city:1,2 type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies

8. UNIX for Dummies Questions & Answers

Raid config on Jumpstart (Solaris 10

Hi there, I was wondering if it is possible to include a RAID configuration in my Solaris 10 Jumpstart files, so that I don't have to manually set up RAID on all my machines. Thanks P.S. I started messing around with Solaris only a week back, so if I sound like a complete idiot, you know... (1 Reply)
Discussion started by: iman453
1 Replies

9. UNIX for Dummies Questions & Answers

How to view Drive/RAID config in UNIX...

How do you view Drive/RAID configuration in UNIX? We are running an ML370 with 6 drives in it... Version: Sco 5.2.0 Sco Openserver Release 5 (2 Replies)
Discussion started by: bpoulson
2 Replies
Login or Register to Ask a Question