Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

4.3 upgrade and disk problem

Status
Not open for further replies.

bxmakin

IS-IT--Management
Nov 7, 2001
23
0
0
US
Hi,

I am new to AIX. I just upgraded from 4.2 to 4.3 on one of the powerpcs. I used migration install. Everything went smooth except except that one of the volume groups called datavg is not coming on line and lsvg -p datavg complains about a missing PV. I checked the lscfg and found the hdisk4 which was part of datavg is no more there but system has assigned a new name to it called hdisk11. I went in to smit and under devices I have hdisk4 defined but hdisk11 available. How do I correct this problem?

Thanks,

Bx
 
rmdev -dl hdisk4
rmdev -dl hdisk11
cfgmgr

Reply back after you have done this and attempted to bring the volume group online.

Bill.
 
Thanks Bill you answer got rid of hdisk11 and hdisk4 is avaliable now. I tried to varyon datavg and here is what I get:

PV Status: hdisk9 00201446e75a7d5d PVACTIVE
hdisk2 00201446e7d9b9cf PVACTIVE
hdisk3 00201446e7d9db36 PVACTIVE
00201446e7d9df7d PVMISSING
hdisk8 00201446e7e4ff9f PVACTIVE
hdisk7 00201446e7e503ed PVACTIVE
0516-056 varyonvg: The volume group is not varied on because a physical volume is marked missing. Run dagnostics.


I was wondering if rebootinng the system will solve this beacause under smit/devices/fixed-disk/chareacterstics the PVID field says NONE or should I try manually changing the PVID field.

Thanks,

Bx
 
$ lspv
hdisk0 00201446e7595a33 rootvg
hdisk1 00201446e716cd45 rootvg
hdisk2 00201446e7d9b9cf datavg
hdisk3 00201446e7d9db36 datavg
hdisk4 002014460949b77f datavg
hdisk5 00201446e802cd58 eomvg
hdisk6 002014466bb19186 eomvg
hdisk7 00201446e7e503ed datavg
hdisk8 00201446e7e4ff9f datavg
hdisk9 00201446e75a7d5d datavg
hdisk10 00201446e7e4fbad eomvg


This is after I ran extendvg on datavg. Intially hdisk4's volumegroup was coming up empty. The problem still exists:

$ lsvg -p datavg
datavg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk9 active 537 24 00..00..00..00..24
hdisk2 active 537 25 00..00..00..00..25
hdisk3 active 537 25 00..00..00..00..25
0516-304 lsvg: Unable to find device id 00201446e7d9df7d in the Device
Configuration Database.
00201446e7d9df7d missing 537 25 00..00..00..00..25
hdisk8 active 537 25 00..00..00..00..25
hdisk7 active 537 25 00..00..00..00..25
hdisk4 active 537 537 108..107..107..107..108


I did exportvg and importvg and it did not help.

thanks,

bx
 
If you can confirm all of your data in the VG is intact, do the following:

# reducevg datavg 00201446e7d9df7d

I would doubt that your VG is good. Send me an "lsvg -l datavg" as well.

Bill.
 
I think the data is intact. People who use have not complained yet.

# reducevg datavg 00201446e7d9df7d
0516-016 ldeletepv: Cannot delete physical volume with allocated
partitions. Use either migratepv to move the partitions or
reducevg with the -d option to delete the partitions.
0516-884 reducevg: Unable to remove physical volume 00201446e7d9df7d.


# lsvg -l datavg
datavg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
lv00 jfs 1536 3072 6 open/stale /data
loglv00 jfslog 1 1 1 open/syncd N/A
 
No it is not...the lsvg -l says "open/stale". That indicates missing data.

Send me an "lspv -l hdisk4".

Bill.
 
lspv -l hdisk4 does not return anything.

thx

bx
 
Whoops - forgot about that..The PV that we are working with is not a hdisk...

Try this:
lspv -l 00201446e7d9df7d

And send that back.

Bill.
 
# lspv -l 00201446e7d9df7d
0516-320 : Physical volume 00201446e7d9df7d is not assigned to
a volume group.
 
# lsdev -Ccdisk
hdisk0 Available 04-B0-00-8,0 2.2 GB 16 Bit SCSI Disk Drive
hdisk1 Available 04-B0-00-11,0 2.2 GB 16 Bit SCSI Disk Drive
hdisk2 Available 04-03-00-8,0 2.2 GB 16 Bit SCSI Disk Drive
hdisk3 Available 04-03-00-9,0 2.2 GB 16 Bit SCSI Disk Drive
hdisk4 Available 04-03-00-10,0 2.2 GB 16 Bit SCSI Disk Drive
hdisk5 Available 04-03-00-11,0 16 Bit SCSI Disk Drive
hdisk6 Available 04-03-00-12,0 16 Bit SCSI Disk Drive
hdisk7 Available 04-02-00-8,0 2.2 GB 16 Bit SCSI Disk Drive
hdisk8 Available 04-02-00-9,0 2.2 GB 16 Bit SCSI Disk Drive
hdisk9 Available 04-02-00-10,0 2.2 GB 16 Bit SCSI Disk Drive
hdisk10 Available 04-02-00-11,0 16 Bit SCSI Disk Drive
 
bxmakin,

I suggest you let some of the other AIX list members look at this (or call IBM) as I need to leave (doctor appt.). Sorry about that. My feel at this time however is that you may need to drop and recreate the volume group, and restore from a backup.

Bill.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top