Solved

f50 raid array ? AIX 4.3

Posted on 2007-03-20
3
545 Views
Last Modified: 2013-11-17
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
0
Comment
Question by:joewy1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Expert Comment

by:sjm_ee
ID: 18762835
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
 

Author Comment

by:joewy1
ID: 18763314
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
 
LVL 14

Accepted Solution

by:
sjm_ee earned 500 total points
ID: 18768237
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

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

632 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