Re: Accidentially Removed a Volume Group

From: Bengt Mutén (muten_at_REEBIE.COM)
Date: 04/27/04

  • Next message: Page, Jennifer: "Re: Accidentially Removed a Volume Group"
    Date:         Tue, 27 Apr 2004 17:41:34 -0400
    To: aix-l@Princeton.EDU
    
    

    I appreciate Bob, John, and Bills' suggestions. However, I am still stuck

    I managed to remove the volume group information on these three physical
    drives by running this script from smit:

       xlist () { VGID=`getlvodm -v $1`; if test $? -ne 0
       then
         exit 1
       fi
       Q1=`getlvodm -w $VGID | cut -f2 -d' '`; echo $Q1; }; xlist ''

    I can then not import volume groups from:

    hdisk0 Available 04-B0-00-0,0 Other SCSI Disk Drive
    hdisk1 Available 04-B0-00-1,0 Other SCSI Disk Drive
    hdisk2 Available 04-B0-00-2,0 Other SCSI Disk Drive

    For each one I get:

    0516-066 lqueryvg: Physical volume is not a volume group member.
            Check the physical volume name specified.
    0516-066 lqueryvg: Physical volume is not a volume group member.
            Check the physical volume name specified.
    0516-562 redefinevg: Unable to access physical volume hdisk0

    I am looking for these logical volumes:

    /dev/lv01 -- /opt jfs --
    rw yes no
    /dev/lv02 -- /home/dns jfs --
    rw yes no

    Since I have been having trouble with my backups, I am tempted to try a
    data recovery company. However, if anybody has a way of undoing the
    damage, or suggestion as to where to turn, it would be great.

    Bengt


  • Next message: Page, Jennifer: "Re: Accidentially Removed a Volume Group"

    Relevant Pages

    • Re: SAN & VIO Server / LPARs
      ... as vhost8. ... and the disk appeared as hdisk1. ... 0516-066 lqueryvg: Physical volume is not a volume group member. ...
      (comp.unix.aix)
    • Re: Accidentially Removed a Volume Group
      ... 0516-066 lqueryvg: Physical volume is not a volume group member. ... Unable to import volume group from hdisk2. ... Jason delaFuente wrote: ...
      (AIX-L)
    • Cant configure hdisk
      ... hdisk0 Available 3s-08-00-8,0 16 Bit LVD SCSI Disk Drive ... Physical volume hdisk1 is not assigned to ... 0516-024 lqueryvg: ...
      (AIX-L)
    • Re: Problems with dual boot AIX 5.2 and 5.3
      ... I think you don't have O.S. in your hdisk0 or your disk not is good, ... Execute this command: ... lqueryvg -p hdisk0 -Avt. ...
      (comp.unix.aix)