ITEM: D4920L

Configuration of hdisks has become corrupted




Question:

Model of RISC is 980 and the level of AIX is 3.2.3.  I have a 12disk
system and had the following setup 0-4 online, 4-7 rootvg, 8-11 mirror.  The
became corrupted and now shows 2 3 8 9 as mirror,  0 1 10 11 as
online.

Response:

Found that the PVID on one of her disks is identical to the VGid for
the volume group she is trying to add it into.  We ran chdev -a
pv=clear -l hdisk11 chdev -a pv=yes -l hdisk11 and this changed the
PVid.

We were then able to add hdisk11 into the volume group without a
problem.

The other volume group (mirrorvg) was acting up so we just exported
the volume group and started over.

Question:

After rebooting my machine successfully several times, I rebooted it
again last evening and my device configurations have changed again.  I
want hdisks 0-3 to be raw devices, 4-7 to be rootvg, and 8-11 to be
raw devices.  I rebooted this morning, and my device configurations 
are inconsistant again.  I now have hdisks 12-16 which "appeared" after I
rebooted.  I need to get this situation resolved as soon as possible.

Response:

User had setup a raw Informix database that writest to raw physical
volumes (hdisk). When doing so, you write over all of the volume group
information in the VGDA so the volume groups will not varyon properly,
new hdisk names will be created for those considered missing, etc.

To remedy the problem, they wish to use the raw disk names for
Informix, so they should simply not add the disks to volume groups.
They should instead remove the physical volume IDs from the disks.

This took a while to clean up the mess:
  1) First we had to remove all the PVIDs with the command
     "chdev -l hdiskX -a pv=clear".
  2) Then removed the devices with "rmdev -l hdiskX -d".
  3) Running "cfgmgr" then redefined all of the disks to the system
     but hdisk0, 2, 3, 8 and 9 were missing (12 thru 15 were added in
     their place). These were showing up as "Defined" with the
     "lsdev -Ccdisk" command.
  4) Removed them also with "rmdev" command and the next time we ran
     "cfgmgr" all disks were defined to their original names.
  5) A couple of the disks still had PVIDs associated with them
(according
     to the "lspv" command), so we removed them with the "chdev"
command.  They are how ready to define the hdisk names to Informix.


Support Line: Configuration of hdisks has become corrupted ITEM: D4920L
Dated: August 1993 Category: N/A
This HTML file was generated 99/06/24~13:30:57
Comments or suggestions? Contact us