Topic
2 replies Latest Post - ‏2014-04-14T05:49:43Z by teletype
teletype
teletype
3 Posts
ACCEPTED ANSWER

Pinned topic how to recover from an accidental chpv -C on a vio server

‏2013-10-09T05:11:32Z |

Hello all,

I dont know if this is the right forum. May be the question should be asked in the AIX forum.

My situation:

We have a dual vio setup.
vio version 2.2.1.4
Alls disks are passed via vscsi to clients.

For one of my development partitions I accidentaly ran chpv -C (in oem_setup_env) on the backend disk on both vioses. I did this so lspv -free shows the disk as free.

Now my client is broken (of course). Almost all (if not all) lvm commands fail. It is not possible to make a mksysb of the system anymore.
Here is some output:

# lspv hdisk0
0516-066 : Physical volume is not a volume group member.
        Check the physical volume name specified.
PHYSICAL VOLUME:    hdisk0                   VOLUME GROUP:     rootvg
PV IDENTIFIER:      00c55b02dd5114dd VG IDENTIFIER     00c55b0200004c000000011f163fe614
PV STATE:           ???????
STALE PARTITIONS:   ???????                  ALLOCATABLE:      ???????
PP SIZE:            ???????                  LOGICAL VOLUMES:  ???????
TOTAL PPs:          ???????                  VG DESCRIPTORS:   ???????
FREE PPs:           ???????                  HOT SPARE:        ???????
USED PPs:           ???????                  MAX REQUEST:      256 kilobytes
FREE DISTRIBUTION:  ???????
USED DISTRIBUTION:  ???????
MIRROR POOL:        ???????

# lsvg rootvg
0516-066 : Physical volume is not a volume group member.
        Check the physical volume name specified.

Is there a way to recover from this mistake (apart from reinstalling the partition)?

Is there an alternative tp chpc -C to free up disks on the vio server? A padmin alternative would be welcome.

TIA

  • MaddyMadhan
    MaddyMadhan
    1 Post
    ACCEPTED ANSWER

    Re: how to recover from an accidental chpv -C on a vio server

    ‏2013-10-29T04:59:02Z  in response to teletype

    Please run

    "savebase -v" and creat boot image bosboot -ad /dev/hdisk0

    and reboot the server.............

    Thanks

    Please reply

    • teletype
      teletype
      3 Posts
      ACCEPTED ANSWER

      Re: how to recover from an accidental chpv -C on a vio server

      ‏2014-04-14T05:49:43Z  in response to MaddyMadhan

      First of all sorry to reply just now. I didn't have this error this till now.

      This works thanks.