f50 raid array ? AIX 4.3

i have an F50 with 9 physical hard drives in 2 bays.  i am assuming that they are in some sort of raid configuration. the OS is aix 4.3. the bad drive has caused a volume to not function. there are 3 volumes - rootvg, medgrp1, and medgrp2. hdisk1 will not power up and there was a message about a stale partition but i don't have any details about that.

i have found a replacement drive and was wondering if there was anyone that might comment on the proper procedure to identify the type of raid config. that i am running.
thanks so much
joe
joewy1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sjm_eeCommented:
The items rootvg, medgrp1 and medgrp2 are volume groups (VGs), shown by "lsvg". Typically rootvg would consist of hdisk0 only or mirrored between hdisk0 and hdisk1. This is not always the case though, so we need to do some digging.

To find out which VG had hdisk1, run "lspv". hdisk1 could be either a RAID LUN or a JBOD ("Just a Bunch Of Disks" ie un-RAIDed). Check this with "lsdev -Cl hdisk1". If it is a RAID LUN then disk replacement should be easy. However, if it was a JBOD then you may have lost data if the data was not mirrored by AIX LVM. Run "lspv -l hdisk1" - look for the number of LPs and PPs in each LV. If the ratio is 1:1 then the data was unmirrored. Now check "lspv -M hdisk1" - this may be a long listing but tells you what LVs had LPs mapped to PPs on that disk. If there are any unmirrored LPs with PPs on that PV, then you have lost data.
0
joewy1Author Commented:
i ran the commands and pasted the output. hdisk1 is coming up defined. i also ran a lsdev -C -s scsi just to give you an idea about how the box is set up. thanks so much!!

# lspv                                                                          
hdisk0         000fa1cd5bfe0ab7    rootvg                                      
hdisk2         000fa1cd233a8dd6    rootvg                                      
hdisk3         000fa1cdcdd93a7e    medvg1                                      
hdisk4         000fa1cdad12b584    medvg1                                      
hdisk5         000fa1cdacdc1837    medvg1                                      
hdisk6         000fa1cd006028b8    medvg2                                      
hdisk7         000fa1cd006034b0    medvg2                                      
hdisk8         000fa1cd98c41ff7    medvg2                                      
hdisk9         none                None  

# lsdev -C -s scsi                                                              
hdisk0 Available 30-58-00-8,0  16 Bit LVD SCSI Disk Drive                      
hdisk1 Defined   30-58-00-9,0  16 Bit LVD SCSI Disk Drive                      
ses0   Available 30-58-00-15,0 SCSI Enclosure Services Device                  
hdisk2 Available 20-58-00-8,0  16 Bit LVD SCSI Disk Drive                      
hdisk3 Available 20-58-00-9,0  16 Bit LVD SCSI Disk Drive                      
hdisk4 Available 20-58-00-11,0 16 Bit LVD SCSI Disk Drive                      
ses1   Defined   10-68-00-15,0 SCSI Enclosure Services Device                  
hdisk5 Available 30-58-00-10,0 16 Bit LVD SCSI Disk Drive                      
hdisk6 Available 20-58-00-10,0 16 Bit LVD SCSI Disk Drive                      
hdisk7 Available 30-58-00-11,0 16 Bit LVD SCSI Disk Drive                      
ses2   Available 20-58-00-15,0 SCSI Enclosure Services Device                  
rmt0   Available 10-60-00-5,0  SCSI 4mm Tape Drive                              
hdisk8 Available 30-58-00-12,0 16 Bit LVD SCSI Disk Drive                      
cd0    Available 10-60-00-4,0  16 Bit SCSI Multimedia CD-ROM Drive              
cd1    Defined   10-60-00-4,0  Other SCSI CD-ROM Drive                          
hdisk9 Available 30-58-00-9,0  Other SCSI Disk Drive
# lsdev -Cl hdisk1                                                              
hdisk1 Defined 30-58-00-9,0 16 Bit LVD SCSI Disk Drive
# lspv -l hdisk1                                                                
0516-010 lspv: Volume group must be varied on; use varyonvg command.
# lspv -M hdisk1                                                                
0516-010 lspv: Volume group must be varied on; use varyonvg command.

# lsdev -C -s scsi                                                              
hdisk0 Available 30-58-00-8,0  16 Bit LVD SCSI Disk Drive                      
hdisk1 Defined   30-58-00-9,0  16 Bit LVD SCSI Disk Drive                      
ses0   Available 30-58-00-15,0 SCSI Enclosure Services Device                  
hdisk2 Available 20-58-00-8,0  16 Bit LVD SCSI Disk Drive                      
hdisk3 Available 20-58-00-9,0  16 Bit LVD SCSI Disk Drive                      
hdisk4 Available 20-58-00-11,0 16 Bit LVD SCSI Disk Drive                      
ses1   Defined   10-68-00-15,0 SCSI Enclosure Services Device                  
hdisk5 Available 30-58-00-10,0 16 Bit LVD SCSI Disk Drive                      
hdisk6 Available 20-58-00-10,0 16 Bit LVD SCSI Disk Drive                      
hdisk7 Available 30-58-00-11,0 16 Bit LVD SCSI Disk Drive                      
ses2   Available 20-58-00-15,0 SCSI Enclosure Services Device                  
rmt0   Available 10-60-00-5,0  SCSI 4mm Tape Drive                              
hdisk8 Available 30-58-00-12,0 16 Bit LVD SCSI Disk Drive                      
cd0    Available 10-60-00-4,0  16 Bit SCSI Multimedia CD-ROM Drive              
cd1    Defined   10-60-00-4,0  Other SCSI CD-ROM Drive                          
hdisk9 Available 30-58-00-9,0  Other SCSI Disk Drive




0
sjm_eeCommented:
How about the output of the other commands? hdisk1 waws almost certainly in rootvg and the disks are JBOD not RAID, so whether diagnosing you have lost data depends on that output.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.