<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MIRROR ??? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836094#M611982</link>
    <description>What steps did you?&lt;BR /&gt;&lt;BR /&gt;Is the new disk already in place?&lt;BR /&gt;&lt;BR /&gt;The message &lt;BR /&gt;&lt;BR /&gt;"Kernel indicates 3 disks for "/dev/vg04"; /etc/lvmtab has 2 disks"&lt;BR /&gt;&lt;BR /&gt;looks like you removed the old disk, inserted the new and vgextend it instead of just vgcfgrestore the configuration to it. Is this true?&lt;BR /&gt;&lt;BR /&gt;In this case "vgreduce -f vg04" will help you.&lt;BR /&gt;&lt;BR /&gt;But please confirm first and in case of doubt post again.</description>
    <pubDate>Wed, 02 Aug 2006 13:06:15 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2006-08-02T13:06:15Z</dc:date>
    <item>
      <title>MIRROR ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836092#M611980</link>
      <description>HI &lt;BR /&gt;IM HAVE A HP UX 11.0 AND A REPALCE DISK FAILED BUT WHEN REMOVE DISK FROM LOGICAL VOLUME PRESENTE THE NEXT.&lt;BR /&gt;vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 3 disks for "/dev/vg04"; /etc/lvmtab has 2 lv³ disks. Cannot proceed with backup. &lt;BR /&gt;WHEN IM MAKE LVDISPLAY SEE THE FOLLOWING.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg04/lvol1&lt;BR /&gt;VG Name                     /dev/vg04&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/stale&lt;BR /&gt;Mirror copies               2&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            20000&lt;BR /&gt;Current LE                  5000&lt;BR /&gt;Allocated PE                15000&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   on&lt;BR /&gt;Allocation                  strict&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c6t11d0   5000      5000&lt;BR /&gt;   /dev/dsk/c4t11d0   5000      5000   &lt;BR /&gt;   LE   PV1                PE1  Status 1 PV2                PE2  Status 2 PV3&lt;BR /&gt;             PE3  Status 3&lt;BR /&gt;   0000 ???                0000 stale    /dev/dsk/c6t11d0   0000 current  /dev/d&lt;BR /&gt;sk/c4t11d0   0000 current&lt;BR /&gt;   0001 ???                0001 stale    /dev/dsk/c6t11d0   0001 current  /dev/d&lt;BR /&gt;sk/c4t11d0   0001 current&lt;BR /&gt;   0002 ???                0002 stale    /dev/dsk/c6t11d0   0002 current  /dev/d&lt;BR /&gt;sk/c4t11d0   0002 current&lt;BR /&gt;   0003 ???                0003 stale    /dev/dsk/c6t11d0   0003 current  /dev/d&lt;BR /&gt;sk/c4t11d0   0003 current&lt;BR /&gt;   0004 ???                0004 stale    /dev/dsk/c6t11d0   0004 current  /dev/d&lt;BR /&gt;sk/c4t11d0   0004 current&lt;BR /&gt;   0005 ???                0005 stale    /dev/dsk/c6t11d0   0005 current  /dev/d&lt;BR /&gt;sk/c4t11d0   0005 current&lt;BR /&gt;   0006 ???                0006 stale    /dev/dsk/c6t11d0   0006 current  /dev/d&lt;BR /&gt;sk/c4t11d0   0006 current&lt;BR /&gt;   0007 ???                0007 stale    /dev/dsk/c6t11d0   0007 current  /dev/d&lt;BR /&gt;sk/c4t11d0   0007 current&lt;BR /&gt;   0008 ???                0008 stale    /dev/dsk/c6t11d0   0008 current  /dev/d&lt;BR /&gt;sk/c4t11d0   0008 current&lt;BR /&gt;   0009 ???                0009 stale    /dev/dsk/c6t11d0   0009 current  /dev/d&lt;BR /&gt;sk/c4t11d0   0009 current       &lt;BR /&gt;&lt;BR /&gt;how i can eliminate this "???" &lt;BR /&gt;&lt;BR /&gt;Please help me, thank you</description>
      <pubDate>Wed, 02 Aug 2006 12:12:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836092#M611980</guid>
      <dc:creator>Guido Herrera</dc:creator>
      <dc:date>2006-08-02T12:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: MIRROR ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836093#M611981</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You need to reintegrate this disk.&lt;BR /&gt;&lt;BR /&gt;mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;&lt;BR /&gt;vgscan -a&lt;BR /&gt;&lt;BR /&gt;pvcreate the volume.&lt;BR /&gt;&lt;BR /&gt;You will need to rebuild your mirrors as well.&lt;BR /&gt;&lt;BR /&gt;Here is a general guide.&lt;BR /&gt;&lt;BR /&gt;---guide---&lt;BR /&gt;pvcreate -B /dev/rdsk/c1t0d0 #use real disk&lt;BR /&gt;&lt;BR /&gt;mkboot -l /dev/rdsk/c1t0d0&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;If you are running 64-bit OS:&lt;BR /&gt;&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0&lt;BR /&gt;&lt;BR /&gt;# real disk. repeat for other lvols&lt;BR /&gt;&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3 # root fs /&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2 #swap&lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2 #swap/dump&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;setboot&lt;BR /&gt;setboot -a 52.1.0 # second disk&lt;BR /&gt;---end guid---&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 02 Aug 2006 12:15:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836093#M611981</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-08-02T12:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: MIRROR ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836094#M611982</link>
      <description>What steps did you?&lt;BR /&gt;&lt;BR /&gt;Is the new disk already in place?&lt;BR /&gt;&lt;BR /&gt;The message &lt;BR /&gt;&lt;BR /&gt;"Kernel indicates 3 disks for "/dev/vg04"; /etc/lvmtab has 2 disks"&lt;BR /&gt;&lt;BR /&gt;looks like you removed the old disk, inserted the new and vgextend it instead of just vgcfgrestore the configuration to it. Is this true?&lt;BR /&gt;&lt;BR /&gt;In this case "vgreduce -f vg04" will help you.&lt;BR /&gt;&lt;BR /&gt;But please confirm first and in case of doubt post again.</description>
      <pubDate>Wed, 02 Aug 2006 13:06:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836094#M611982</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2006-08-02T13:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: MIRROR ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836095#M611983</link>
      <description>More details would indeed be helfpul.&lt;BR /&gt;&lt;BR /&gt;Following my advice will probably work but is risky without a broader understanding of your situation.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 02 Aug 2006 13:21:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836095#M611983</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-08-02T13:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: MIRROR ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836096#M611984</link>
      <description>You might do such as Torsten's guess.&lt;BR /&gt;My thought is that you need to rebuild the mirror VG.&lt;BR /&gt;you may not be able to remove the ghost device.&lt;BR /&gt;&lt;BR /&gt;It seems to be related with lvm cumulative Patch.&lt;BR /&gt;&lt;BR /&gt;good luck!&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Aug 2006 16:49:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836096#M611984</guid>
      <dc:creator>nanan</dc:creator>
      <dc:date>2006-08-02T16:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: MIRROR ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836097#M611985</link>
      <description>Hi Guido,&lt;BR /&gt;&lt;BR /&gt;Please follow the below mentioned lenghty action plan to resolve this issue.... :-)&lt;BR /&gt;&lt;BR /&gt;The above error indicates a serious problem with the volume group.   No changes&lt;BR /&gt;should be made to the volume group configuration prior to repairing the volume&lt;BR /&gt;group.&lt;BR /&gt;&lt;BR /&gt;This error indicates that vgdisplay(1m) information Cur PV and Act PV&lt;BR /&gt;disagree.   Cur PV and Act PV should always agree for the volume group.  This&lt;BR /&gt;error also indicates that the /etc/lvmtab file, which is used to match which&lt;BR /&gt;physical volumes belong to a volume group, is out of date with the LVM data&lt;BR /&gt;structures in memory and on disk.  vgcfgbackup(1m) cannot complete&lt;BR /&gt;successfully whenever the number of current physical volumes disagrees with the&lt;BR /&gt;number of active physical volumes.   Modifying the volume group while in this&lt;BR /&gt;state could cause the vgcfgbackup(1m) backup of the volume group to be&lt;BR /&gt;inconsistent with the volume group itself and resulting in a more difficult&lt;BR /&gt;repair/recovery process.&lt;BR /&gt;&lt;BR /&gt;Each physical volume of each a volume group has a counter indicating the number&lt;BR /&gt;of physical volumes currently within the volume group.   This information is&lt;BR /&gt;contained within the disk's volume group reserve area (VGRA).  The above error&lt;BR /&gt;indicates the information within the VGRA shows a different number of physical&lt;BR /&gt;volumes than the system currently sees attached to this volume group.  At&lt;BR /&gt;volume&lt;BR /&gt;group activation time the /etc/lvmtab file is used by the system to know what&lt;BR /&gt;physical volumes belong to each volume group.&lt;BR /&gt;&lt;BR /&gt;This document will explain what to look at and how to repair this situation.&lt;BR /&gt;Use the following steps to isolate and repair the problem:&lt;BR /&gt;&lt;BR /&gt;1.  Try to locate missing disk device(s).&lt;BR /&gt;&lt;BR /&gt;    Isolating what happened to the volume group to get it into this state can&lt;BR /&gt;    be very difficult.   Here are some suggestions:&lt;BR /&gt;&lt;BR /&gt;    a.  Use the command  strings /etc/lvmtab  or&lt;BR /&gt;        vgdisplay -v /dev/vg_name  to see what disk devices are&lt;BR /&gt;        currently attached to the volume group.&lt;BR /&gt;&lt;BR /&gt;    b.  Check the date of and physical volumes contained in the last good&lt;BR /&gt;        vgcfgbackup.&lt;BR /&gt;&lt;BR /&gt;        Use:  ll /etc/lvmconf/VG_NAME.conf to see the date of the last&lt;BR /&gt;        good backup.&lt;BR /&gt;&lt;BR /&gt;        NOTE: If the volume group has been modified since the time of the&lt;BR /&gt;        last good vgcfgbackup, then there is the potential that the backup file&lt;BR /&gt;        is out of date with the LVM data structures on the disk(s) attached to&lt;BR /&gt;        this volume group.   If this is the case then vgcfgrestore(1m)&lt;BR /&gt;        may no longer work for this volume group.  &lt;BR /&gt;&lt;BR /&gt;        Use:  vgcfgrestore -n /dev/VG_NAME -l  to see the list of&lt;BR /&gt;        physical volumes contained within the last good backup.&lt;BR /&gt;&lt;BR /&gt;        Use the list from the above vgcfgrestore(1m) command to compare&lt;BR /&gt;        to the list from step 1a to see if there are differences.   If there is&lt;BR /&gt;        a physical volume listed in the backup listing that is not in the&lt;BR /&gt;        /etc/lvmtab file, you may be able to vgcfgrestore(1m) to that&lt;BR /&gt;        physical volume.   Make sure the physical volume is unused before&lt;BR /&gt;        overwriting with vgcfgrestore.  See step 2 for details.&lt;BR /&gt;&lt;BR /&gt;    c.  Check the system for old copies of /etc/lvmtab file.&lt;BR /&gt;&lt;BR /&gt;        A common reason for the system to be in this state is that the lvmtab&lt;BR /&gt;        has been recreated while unable to communicate with one or more of the&lt;BR /&gt;        physical volumes belonging the the volume group.   If the lvmtab is&lt;BR /&gt;        recreated while the system is unable to query a physical volume, that&lt;BR /&gt;        physical volume will not be added to the lvmtab file.  One can see how&lt;BR /&gt;        this can cause the lvmtab to mismatched with kernel memory.&lt;BR /&gt;&lt;BR /&gt;        To check for old copies of /etc/lvmtab using the following:&lt;BR /&gt;        ll /etc/lvmtab*  or ll /tmp/lvmt*&lt;BR /&gt;&lt;BR /&gt;        Use strings(1)on the backup lvmtab file to try to determine&lt;BR /&gt;        which disk device(s) in the volume group differ in comparison&lt;BR /&gt;        with the current lvmtab file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    If the missing physical volume cannot be determined or the missing physical&lt;BR /&gt;    volume cannot be readded to the problem volume group then skip to Step&lt;BR /&gt;3.&lt;BR /&gt;    Reasons the physical volume could not be readded might be it has been added&lt;BR /&gt;    to another volume group and cannot be removed or is no longer physically&lt;BR /&gt;    connected to this system.&lt;BR /&gt;&lt;BR /&gt;2.  If possible, restore the missing physical volume into the volume group.&lt;BR /&gt;&lt;BR /&gt;    a.  Verify the missing physical volume and it's alternate path(s), if&lt;BR /&gt;        necessary, are not in use.&lt;BR /&gt;&lt;BR /&gt;        Use strings /etc/lvmtab to verify that the physical volume and&lt;BR /&gt;        any of it's alternate paths do not belong to any other volume groups or&lt;BR /&gt;        are not mounted or in use by applications on the system.   A common&lt;BR /&gt;        error that can lead to this type of problem is when an alternate path&lt;BR /&gt;        is added to a different volume group than the primary path.  Consult&lt;BR /&gt;        your disk device's manuals to determine if it is capable of using&lt;BR /&gt;        pvlinks or alternate paths.  The system will not allow an alternate&lt;BR /&gt;        link to a different volume group unless pvcreate -f&lt;BR /&gt;        is executed.   pvcreate(1m) is not needed to add an alternate&lt;BR /&gt;        path to a volume group and should be only run on the primary path.&lt;BR /&gt;&lt;BR /&gt;    b.  If missing physical volume(s) and alternate path(s) are not in use then&lt;BR /&gt;        use vgcfgrestore(1m) to restore the physical volume(s) to the&lt;BR /&gt;        volume group.&lt;BR /&gt;&lt;BR /&gt;        Example: vgcfgrestore -n /dev/vg03 /dev/rdsk/c2t7d2&lt;BR /&gt;&lt;BR /&gt;    c.  If needed restore or recreate /etc/lvmtab.&lt;BR /&gt;&lt;BR /&gt;        If the /etc/lvmtab does not contain the physical volume(s) that were&lt;BR /&gt;        vgcfgrestored to, then this file must be updated.   If the lvmtab shows&lt;BR /&gt;        the correct physical volumes then skip this step.&lt;BR /&gt;&lt;BR /&gt;        If the /etc/lvmtab does not show the correct physical volumes and you&lt;BR /&gt;        were able to find an old /etc/lvmtab file in the previous step then save&lt;BR /&gt;        the current version of /etc/lvmtab and copy the old lvmtab backup file&lt;BR /&gt;        into place.   Use the strings(1) command to insure all volume&lt;BR /&gt;        groups show the correct physical volume before changing the lvmtab file.&lt;BR /&gt;&lt;BR /&gt;        If the /etc/lvmtab file is not correct and there is no old copy of&lt;BR /&gt;        /etc/lvmtab that is correct use vgexport(1m) and vgimport(1m)&lt;BR /&gt;    to correct the lvmtab.&lt;BR /&gt;        &lt;BR /&gt;        NOTE: For the root volume group, typically vg00, you must first&lt;BR /&gt;              boot into lvm maintenance mode.   See below for details&lt;BR /&gt;        &lt;BR /&gt;&lt;BR /&gt;        Overview:&lt;BR /&gt;        1. vgchange -a n /dev/vg_name &lt;BR /&gt;        2. vgexport -m /tmp/mapfile /dev/vg_name&lt;BR /&gt;        3. mkdir /dev/vg_name &lt;BR /&gt;        4. mknod /dev/vg_name/group c 64 0x0X0000 &lt;BR /&gt;        &lt;BR /&gt;        NOTE:  The minor number (0x0X0000) must be unique for each volume&lt;BR /&gt;               group.  Substitute X for a number not in use on the system.&lt;BR /&gt;               Use:  ll /dev/*/group  to see existing group files on the&lt;BR /&gt;               system.&lt;BR /&gt;&lt;BR /&gt;               Example:  mknod /dev/vg01/group c 64 0x010000 &lt;BR /&gt;        &lt;BR /&gt;        5. vgimport -m /tmp/mapfile /dev/vg_name /dev/dsk/pv_name &lt;BR /&gt;        &lt;BR /&gt;        NOTE:  The above commmand requires each of each physical volume in&lt;BR /&gt;               volume group to be specified at the end of the command.  This&lt;BR /&gt;               allows the lvmtab to be correctly rebuilt with all physical&lt;BR /&gt;               volumes belonging to the volume group. &lt;BR /&gt;&lt;BR /&gt;    d.  Activate the volume group.&lt;BR /&gt;&lt;BR /&gt;        Use: vgchange -a y /dev/vg_name to activate the volume group&lt;BR /&gt;        after the restoring any missing physical volumes.  If all was completed&lt;BR /&gt;        correctly then vgdisplay /dev/vg_name should show Cur PV and Act&lt;BR /&gt;        PV now agree.&lt;BR /&gt;&lt;BR /&gt;    e.  Get a backup of the volume group.&lt;BR /&gt;&lt;BR /&gt;        Use vgcfgbackup /dev/vg_name to insure there is a good&lt;BR /&gt;        volume group backup now that Cur PV and Act PV agree.&lt;BR /&gt;&lt;BR /&gt;3.  If you cannot locate the missing disk device or cannot restore that&lt;BR /&gt;    device back into the volume group, then use vgreduce(1m) to forcibly&lt;BR /&gt;    reduce out the missing physical volume.&lt;BR /&gt;    &lt;BR /&gt;    NOTE: vgreduce -f should be used as a last resort.  If&lt;BR /&gt;    vgcfgrestore(1m) cannot be used to make the Cur PV and Act PV agree,&lt;BR /&gt;    then vgreduce -f may be required.   Here are the steps to successfully&lt;BR /&gt;    use vgreduce -f:&lt;BR /&gt;    &lt;BR /&gt;    a. Get a list of logical volumes belonging to the volume group.&lt;BR /&gt;&lt;BR /&gt;       Use:  vgdisplay -v /dev/vg_name  to get a list of logical volumes&lt;BR /&gt;            for the volume group.&lt;BR /&gt;&lt;BR /&gt;    b. Find out which logical volume(s) reside on the disk device(s) to be&lt;BR /&gt;       forcibly reduced.&lt;BR /&gt;&lt;BR /&gt;       Use lvdisplay -v /dev/vg_name/lv_name | more  to see if any&lt;BR /&gt;       of the logical volumes extents show ??? in the PV section.  Page&lt;BR /&gt;       through every logical extent for each logical volume in the volume&lt;BR /&gt;       group.  ??? indicate that the extents shown reside on a physical&lt;BR /&gt;       volume that the system is unable to query.  Any logical volume with&lt;BR /&gt;       ??? will have to be removed using  lvremove(1m) in order for&lt;BR /&gt;       vgreduce -f to complete successfully.&lt;BR /&gt;&lt;BR /&gt;   c.  Remove logical volumes with ??? in their lvdisplay(1m) output.&lt;BR /&gt;&lt;BR /&gt;       Since logical volumes that show ??? have missing or unavailable data&lt;BR /&gt;       they will have to removed.   In order for vgreduce -f to succeed&lt;BR /&gt;       all logical volumes with extents on the physical volume to be reduced&lt;BR /&gt;       must first be removed.  Once the volume group is in the correct state,&lt;BR /&gt;       Cur PV = Act PV, the logical volumes can be recreated and any lost data&lt;BR /&gt;       restored.&lt;BR /&gt;&lt;BR /&gt;       Use: lvremove /dev/vg_name/lvol_name &lt;BR /&gt;&lt;BR /&gt;   d.  Forcibly reduce out the physical volume.&lt;BR /&gt;&lt;BR /&gt;       Use: vgreduce -f /dev/vg_name &lt;BR /&gt;       &lt;BR /&gt;       NOTE: The above command does not require a physical volume argument.  It&lt;BR /&gt;             must be run on a active volume group.&lt;BR /&gt;       &lt;BR /&gt;&lt;BR /&gt;   e.  If the vgreduce -f  command does not work or does not give any&lt;BR /&gt;       error and vgdisplay(1m) still shows that Cur PV and Act PV&lt;BR /&gt;       disagree then use the following steps to vgexport and vgimport the&lt;BR /&gt;       volume group prior to trying Step 3d again.&lt;BR /&gt;&lt;BR /&gt;       This procedure can be used when vgreduce fails to reduce a physical&lt;BR /&gt;       volume that can no longer be queried by the system.  If executing the&lt;BR /&gt;       following procedure on the root volume group, usually vg00, you must&lt;BR /&gt;       first boot into LVM maintenance mode (** For steps see below).&lt;BR /&gt;&lt;BR /&gt;       1. Get the /dev/vg_name/group minor number and physical volumes&lt;BR /&gt;          belonging to the volume group.&lt;BR /&gt;&lt;BR /&gt;          Use: ll /dev/vg00/group  to get 0x###### minor number.&lt;BR /&gt;               vgdisplay -v /dev/vg_name  to get physical volumes.&lt;BR /&gt;&lt;BR /&gt;       2. vgchange -a n /dev/vg_name&lt;BR /&gt;         NOTE: Skip this step if booting maintanence mode for root volume&lt;BR /&gt;                  group.&lt;BR /&gt;&lt;BR /&gt;       3. vgexport -m /mapfile /dev/vg_name &lt;BR /&gt;&lt;BR /&gt;       4. mkdir /dev/vg_name &lt;BR /&gt;&lt;BR /&gt;       5. mknod /dev/vg_name/group c 64 0x0#0000 &lt;BR /&gt;          Re-use minor number obtained from step 1.&lt;BR /&gt;&lt;BR /&gt;       6. vgimport -m /mapfile /dev/vg_name pv_name [pv_name ...]&lt;BR /&gt;          &lt;BR /&gt;          NOTE: Specify all the physical volumes obtained from step 1.  Do not&lt;BR /&gt;                include the physical volume that you are trying to remove or&lt;BR /&gt;                that couldn't be queried.&lt;BR /&gt;          &lt;BR /&gt;&lt;BR /&gt;       ** Steps to boot into maintenance mode and active. :&lt;BR /&gt;       1. shutdown -hy now&lt;BR /&gt;       2. interrupt boot sequence&lt;BR /&gt;       3. boot from primary boot path and interact with ISL&lt;BR /&gt;       &lt;BR /&gt;       NOTE: Procedure used for steps 2 and 3 may very slightly depending&lt;BR /&gt;           on machine model. &lt;BR /&gt;&lt;BR /&gt;       4. enter the following at the IPL&amp;gt; prompt:&lt;BR /&gt;           IPL&amp;gt; hpux -lm (;0)/stand/vmunix &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   f.  Retry the vgreduce -f command specified in step 3d.&lt;BR /&gt;&lt;BR /&gt;       This time the vgreduce should succeed and give you a message&lt;BR /&gt;       similar to:  "PV with key # sucessfully deleted from vg /dev/vg_name".&lt;BR /&gt;       It should also display:&lt;BR /&gt;&lt;BR /&gt;       Repair done, please do the following steps.....:&lt;BR /&gt;       1.  save /etc/lvmtab to another file&lt;BR /&gt;       2.  remove /etc/lvmtab&lt;BR /&gt;       3.  use vgscan(1m) -v to recreate /etc/lvmtab&lt;BR /&gt;       4.  NOW use vgcfgbackup(1m) to save the LVM setup&lt;BR /&gt;&lt;BR /&gt;       Follow the above 4 steps.&lt;BR /&gt;&lt;BR /&gt;       vgdisplay /dev/vg_name  should now show Cur PV and Act PV&lt;BR /&gt;       agree.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Prashanth&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Aug 2006 03:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836097#M611985</guid>
      <dc:creator>Prashanth.D.S</dc:creator>
      <dc:date>2006-08-20T03:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: MIRROR ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836098#M611986</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Since you are not getting the disk details in pvdisplay I would recommend you to get key value for that disk and then use lvreduce using that key value and at last do vgreduce. The procedure for doing the same is given below:&lt;BR /&gt;&lt;BR /&gt;# lvdispay -kv /dev/vg04/&lt;LV-NAME&gt;&lt;BR /&gt;&lt;BR /&gt;This will show you some numeric value ( 0,1 or 2) for the first disk showing as ???. Make a note of that then execute the following command.&lt;BR /&gt;&lt;BR /&gt;# lvreduce -k -m 1 /dev/vg04/&lt;LV-NAME&gt; &lt;KEY value=""&gt;&lt;BR /&gt;&lt;BR /&gt;this will remove the "???" information from lv.Then execute the following command:&lt;BR /&gt;&lt;BR /&gt;#vgreduce -f /dev/vg04&lt;BR /&gt;&lt;BR /&gt;This will remove all the pv's which are not listed in lvmtab for this vg. After doing this you need to recreate the mirror copies.&lt;BR /&gt;Someone have destroyes the header information and which has resulted in this issue.&lt;/KEY&gt;&lt;/LV-NAME&gt;&lt;/LV-NAME&gt;</description>
      <pubDate>Sun, 20 Aug 2006 10:21:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3836098#M611986</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2006-08-20T10:21:39Z</dc:date>
    </item>
  </channel>
</rss>

