joewy1
asked on
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
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
ASKER
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
# 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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.