Re: AIX 5.2 disk config issue.



Run the following command to see what the disk actually knows about the
volume group:

#>lqueryvg -Atvp hdisk0

This will read the vgda on the disk .. look at the items under Physical ..
this will tell you what PVIDs are in
rootvg as seen by the disk... see if 00c0b84e228a7fcd is in the list...

Run the next command to see if if ODM agrees with what you see on the disk.

#>odmget -q "name=rootvg and attribute=pv" CuAt

See if 00c0b84e228a7fcd is again on the list...

1) if both agree... reducevg didn't work ..

execute the reducevg command again and re-run both of the previous
commands to see if they agree now


2) Disk VGDA says hdisk1 is IN the volume group and ODM says the disk is
NOT in the volume group..

ODM is correct in your situation but the disk did not get updated
correctly ...

#resync the VGDA with the ODM information
#>synclvodm -v rootvg

Re-run the the two commands and see if everyone agrees


3) Disk VGDA says hdisk1 is OUT of the volume group and ODM says is in the
volume group..

Highly unlikely....

Match a odmdelete to remove the entry....



From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Jackson, James D (IS)
Sent: Monday, September 28, 2009 1:09 PM
To: aix-l@xxxxxxxxxxxxx
Subject: AIX 5.2 disk config issue.



Recently, an IBM CE hot-swapped a mirrored disk in a running AIX 5.2 LPAR
without taking the steps to remove it from the VG (rootvg) first. The CE
was trying to "reseat" the disk following a maintenance action as the disk
didn't seem to activate properly. The disk appears to be bad, as its device
alias (hdisk0) no longer appears in the ODM per lsdev -Cc disk. The LVs on
hdisk0 were mirrored to hdisk3. LVM commands list the disk using its PVID,
but lspv <PVID> fails with the message "Unable to find device ID <PVID> in
the device configuration database".

rootvg also contains hdisks1, 2, 4 and 5; these disks contain a user-defined
filesystem.

This appears to be an LVM-ODM sync problem, but neither "synclvodm -v
rootvg" nor "redefinevg -d hdisk3 rootvg" were able to correct the problem.
Unfortunately, any maintenance commands on this system must be formally
approved by our customer before they can be executed, so real-time
"seat-of-the-pants" troubleshooting is difficult. No attempts have been
made to list the PV data using odmget, and we haven't tried using rmlvcopy
using the PVID with the mirrored LVs, since we're getting errors with lspv.

Any guidance?

Thanks,

James Jackson



Relevant Pages

  • Re: WIP: ATA to CAM integration
    ... attach either as DISK or ATAPI. ... A device which attaches as a DISK ... ATA DISK attachments simply do not support enough ... It will become SCSI disk opponent from commands PoV, but with all ATA interface ugly growth problems. ...
    (freebsd-current)
  • Re: WIP: ATA to CAM integration
    ... attach either as DISK or ATAPI. ... A device which attaches as a DISK ... ATA DISK attachments simply do not support enough ... It will become SCSI disk opponent from commands PoV, but with all ATA interface ugly growth problems. ...
    (freebsd-arch)
  • Re: Is there anyway to control the order of in which the [Run] entries are performed in the registry
    ... Randem Systems ... The Top Inno Setup Script Generator ... Disk Read Error Press Ctl+Alt+Del to Restart ... ALL the commands I gave you do is EXPORT the contents of ...
    (microsoft.public.windowsxp.general)
  • Re: Rebuild under Vista
    ... Seems like ForceDos is not in Vista. ... DISKCOPY Copies the contents of one floppy disk to another. ... ENDLOCAL Ends localization of environment changes in a batch ... SCHTASKS Schedules commands and programs to run on a computer. ...
    (comp.lang.cobol)
  • Re: FC4 Install GRUB Load Error
    ... >>downloaded the iso files and burned them to a disk and did all the ... >>It said it did the install successfully and it did the post ... I am vague about is the parameters for these two commands. ... "No one talks peace unless he's ready to back it up with war." ...
    (Fedora)