<?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: Mirrored disk replacement - refresher in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727566#M548151</link>
    <description>I think you have gotten rid of the disk from the VG.&lt;BR /&gt;&lt;BR /&gt;So vgcfgrestore if not going to fix.&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/rdsk/c4t8d0 # Prepare for LVM&lt;BR /&gt;vgextend &lt;VG&gt; /dev/dsk/c4t8d0 # Add the disk back to the VG # &lt;BR /&gt;&lt;BR /&gt;Now setup the mirrors&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/&lt;VGNAME&gt;/lvol&lt;XX&gt; /dv/dsk/c4t8d0&lt;BR /&gt;&lt;BR /&gt;do it for all the LVs.&lt;BR /&gt;&lt;/XX&gt;&lt;/VGNAME&gt;&lt;/VG&gt;</description>
    <pubDate>Mon, 20 Dec 2010 21:30:22 GMT</pubDate>
    <dc:creator>KapilRaj</dc:creator>
    <dc:date>2010-12-20T21:30:22Z</dc:date>
    <item>
      <title>Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727551#M548136</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I havent done this in a while so i am a bit rusty. One of my HDDs crashed and it was replaced. Now this disk is in a HP DS2120 and mirrors to the secondary on a different HP DS2120.&lt;BR /&gt;&lt;BR /&gt;The new disk is /dev/rdsk/c4t8d0 and the disk that i need to mirror data from is /dev/rdsk/c5t8d0.&lt;BR /&gt;&lt;BR /&gt;Going through my notes i have a section named: "replacing Mirrored Disk" and says to do the following:&lt;BR /&gt;1.- Remove old disk and insert new disk&lt;BR /&gt;2.- Run "vgcfgrestore" to restore LVM config info to the new disk&lt;BR /&gt;3.- Run "vgchange -a y vg01" to reactivate the volume to which the disk belongs. No automatic sync occurs since the volume group is currently active.&lt;BR /&gt;4.- Run "vgsync /dev/vg01" to manually sync all the extents in the volume.&lt;BR /&gt;&lt;BR /&gt;Now this vg01 is a clustered volume group (Service Guard) and it is where all our ERP data resides.&lt;BR /&gt;&lt;BR /&gt;Reading the man page for vgcfgrestore it says that the restore cannot be done when the volume is activate in shared mode. So i assume that before i can do the restore to /dev/dsk/c4t8d0 i need to deactivate vg01 once done i reactive vg01 and run vgsync, correct??&lt;BR /&gt;&lt;BR /&gt;Now, will the data be offline while the sync occurs?&lt;BR /&gt;&lt;BR /&gt;Also, on the man page says: &lt;BR /&gt;vgcfgrestore cannot be performed on devices attached to activated&lt;BR /&gt;      volume groups. Prior to restoring a backup configuration to a disk,&lt;BR /&gt;      detach the PV from the volume group using the pvchange(1M) command, or&lt;BR /&gt;      deactivate the volume group using the vgchange(1M) command.&lt;BR /&gt;&lt;BR /&gt;So since it is a new disk and it hasnt been attached to any VG, could i simply run vgcfgrestore without deactivating the entire VG? Once done i would simply add the disk to the VG and finally run vgsync, correct??&lt;BR /&gt;&lt;BR /&gt;I am just really rusty and havent done this in a while.&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Dec 2010 16:49:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727551#M548136</guid>
      <dc:creator>rvent</dc:creator>
      <dc:date>2010-12-16T16:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727552#M548137</link>
      <description>Hello rvent,&lt;BR /&gt;Refer &lt;A href="http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf" target="_blank"&gt;http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf&lt;/A&gt; &lt;BR /&gt;Page 29&lt;BR /&gt;&lt;BR /&gt;else go with lvreduce,vgreduce,pvcreate,vgextend and finally lvextend&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Dec 2010 17:17:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727552#M548137</guid>
      <dc:creator>rajesh_32</dc:creator>
      <dc:date>2010-12-16T17:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727553#M548138</link>
      <description>Well, i knew i had forgotten something...&lt;BR /&gt;&lt;BR /&gt;I didnt halt LVM access to the disk prior to removing it. Node 1 cannot see the new disk and Node 2 can see the new disk:&lt;BR /&gt;&lt;BR /&gt;Node 1:&lt;BR /&gt;Class     I  H/W Path       Driver  S/W State   H/W Type     Description&lt;BR /&gt;=========================================================================&lt;BR /&gt;disk      0  0/0/2/0.0.0.0  sdisk   CLAIMED     DEVICE       TEAC    DV-28E-N&lt;BR /&gt;                           /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0&lt;BR /&gt;disk      1  0/1/1/0.0.0    sdisk   CLAIMED     DEVICE       HP 73.4GST373454LC&lt;BR /&gt;                           /dev/dsk/c2t0d0   /dev/rdsk/c2t0d0&lt;BR /&gt;disk      3  0/1/1/1.2.0    sdisk   CLAIMED     DEVICE       HP 73.4GST373454LC&lt;BR /&gt;                           /dev/dsk/c3t2d0   /dev/rdsk/c3t2d0&lt;BR /&gt;disk      5  0/3/1/1.8.0    sdisk   CLAIMED     DEVICE       HP 73.4GMAT3073NC&lt;BR /&gt;                           /dev/dsk/c5t8d0   /dev/rdsk/c5t8d0&lt;BR /&gt;&lt;BR /&gt;Node 2:&lt;BR /&gt;Class     I  H/W Path       Driver  S/W State   H/W Type     Description&lt;BR /&gt;=========================================================================&lt;BR /&gt;disk      0  0/0/2/0.0.0.0  sdisk   CLAIMED     DEVICE       TEAC    DV-28E-N&lt;BR /&gt;                           /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0&lt;BR /&gt;disk      1  0/1/1/0.0.0    sdisk   CLAIMED     DEVICE       HP 73.4GST373454LC&lt;BR /&gt;                           /dev/dsk/c2t0d0   /dev/rdsk/c2t0d0&lt;BR /&gt;disk      5  0/1/1/1.2.0    sdisk   CLAIMED     DEVICE       HP 73.4GST373454LC&lt;BR /&gt;                           /dev/dsk/c3t2d0   /dev/rdsk/c3t2d0&lt;BR /&gt;disk      4  0/3/1/0.8.0    sdisk   CLAIMED     DEVICE       HP 73.4GST373207LC&lt;BR /&gt;                           /dev/dsk/c4t8d0   /dev/rdsk/c4t8d0&lt;BR /&gt;disk      3  0/3/1/1.8.0    sdisk   CLAIMED     DEVICE       HP 73.4GMAT3073NC&lt;BR /&gt;                           /dev/dsk/c5t8d0   /dev/rdsk/c5t8d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The VG is not shared, so it is only active on Node 1. &lt;BR /&gt;&lt;BR /&gt;What can i do for Node 1 to see the disk?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 16 Dec 2010 17:50:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727553#M548138</guid>
      <dc:creator>rvent</dc:creator>
      <dc:date>2010-12-16T17:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727554#M548139</link>
      <description>Try&lt;BR /&gt;ioscan&lt;BR /&gt;insf -eCdisk in First Node</description>
      <pubDate>Thu, 16 Dec 2010 18:00:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727554#M548139</guid>
      <dc:creator>rajesh_32</dc:creator>
      <dc:date>2010-12-16T18:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727555#M548140</link>
      <description>Nope, it didnt work:&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnC disk&lt;BR /&gt;Class     I  H/W Path       Driver  S/W State   H/W Type     Description&lt;BR /&gt;=========================================================================&lt;BR /&gt;disk      0  0/0/2/0.0.0.0  sdisk   CLAIMED     DEVICE       TEAC    DV-28E-N&lt;BR /&gt;                           /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0&lt;BR /&gt;disk      1  0/1/1/0.0.0    sdisk   CLAIMED     DEVICE       HP 73.4GST373454LC&lt;BR /&gt;                           /dev/dsk/c2t0d0   /dev/rdsk/c2t0d0&lt;BR /&gt;disk      3  0/1/1/1.2.0    sdisk   CLAIMED     DEVICE       HP 73.4GST373454LC&lt;BR /&gt;                           /dev/dsk/c3t2d0   /dev/rdsk/c3t2d0&lt;BR /&gt;disk      5  0/3/1/1.8.0    sdisk   CLAIMED     DEVICE       HP 73.4GMAT3073NC&lt;BR /&gt;                           /dev/dsk/c5t8d0   /dev/rdsk/c5t8d0&lt;BR /&gt;[root@unix-1]/roi.backup/roi.12132010&lt;BR /&gt;# insf -veC disk&lt;BR /&gt;insf: Installing special files for sdisk instance 0 address 0/0/2/0.0.0.0&lt;BR /&gt;insf: Installing special files for sdisk instance 1 address 0/1/1/0.0.0&lt;BR /&gt;insf: Installing special files for sdisk instance 3 address 0/1/1/1.2.0&lt;BR /&gt;insf: Installing special files for sdisk instance 5 address 0/3/1/1.8.0&lt;BR /&gt;[root@unix-1]/roi.backup/roi.12132010&lt;BR /&gt;# ioscan -fnC disk&lt;BR /&gt;Class     I  H/W Path       Driver  S/W State   H/W Type     Description&lt;BR /&gt;=========================================================================&lt;BR /&gt;disk      0  0/0/2/0.0.0.0  sdisk   CLAIMED     DEVICE       TEAC    DV-28E-N&lt;BR /&gt;                           /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0&lt;BR /&gt;disk      1  0/1/1/0.0.0    sdisk   CLAIMED     DEVICE       HP 73.4GST373454LC&lt;BR /&gt;                           /dev/dsk/c2t0d0   /dev/rdsk/c2t0d0&lt;BR /&gt;disk      3  0/1/1/1.2.0    sdisk   CLAIMED     DEVICE       HP 73.4GST373454LC&lt;BR /&gt;                           /dev/dsk/c3t2d0   /dev/rdsk/c3t2d0&lt;BR /&gt;disk      5  0/3/1/1.8.0    sdisk   CLAIMED     DEVICE       HP 73.4GMAT3073NC&lt;BR /&gt;                           /dev/dsk/c5t8d0   /dev/rdsk/c5t8d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Everytime i do vgdisplay it complaints about the disk, so i know i have a ghost disk. Could this be the reason or should i just ensure that ioscan shows the disk before fixing the ghost disk??&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 16 Dec 2010 18:41:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727555#M548140</guid>
      <dc:creator>rvent</dc:creator>
      <dc:date>2010-12-16T18:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727556#M548141</link>
      <description>Ok so i got stock on this part. After removing the mirror on all lv's i am trying to remove the disk from the VG. This is the message:&lt;BR /&gt;&lt;BR /&gt;# vgreduce -f /dev/vg01&lt;BR /&gt;vgreduce: Couldn't query physical volume "/dev/dsk/c4t8d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;Not all extents are free. i.e. Out of 17499 PEs, only 17474 are free.&lt;BR /&gt;You must free all PEs using lvreduce/lvremove before the PV can be removed.&lt;BR /&gt;Example: lvreduce -A n -m 0 /dev/vg01/lvol1.&lt;BR /&gt;         lvremove -A n /dev/vg01/lvol1&lt;BR /&gt;Here's the map of used PEs&lt;BR /&gt;&lt;BR /&gt;         --- Logical extents ---&lt;BR /&gt;         LE      LV              PE     Status 1&lt;BR /&gt;         0000    lvol5           8525     ???  &lt;BR /&gt;         0001    lvol5           8526     ???  &lt;BR /&gt;         0002    lvol5           8527     ???  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I tried to:&lt;BR /&gt;# lvdisplay -v -k /dev/vg01/lvol5 | pg&lt;BR /&gt;lvdisplay: "/dev/vg01/lvol5": No such file or directory&lt;BR /&gt;&lt;BR /&gt;# lvreduce -m 0 -A n -k /dev/vg01/lvol5 0&lt;BR /&gt;lvreduce: "/dev/vg01/lvol5": No such file or directory&lt;BR /&gt;&lt;BR /&gt;vgdiplay -v vg01 only shows 4 LVs...&lt;BR /&gt;&lt;BR /&gt;# mount | grep vg01&lt;BR /&gt;/roi on /dev/vg01/lvol1 log,nodatainlog on Tue Dec 14 12:36:42 2010&lt;BR /&gt;/usr/ud60 on /dev/vg01/lvol2 log,nodatainlog on Tue Dec 14 12:36:42 2010&lt;BR /&gt;/usr/redback on /dev/vg01/lvol3 log,nodatainlog on Tue Dec 14 12:36:42 2010&lt;BR /&gt;/roi/HST.TRAIN on /dev/vg01/lvol4 log,nodatainlog on Tue Dec 14 12:36:43 2010&lt;BR /&gt;&lt;BR /&gt;Where is this LV coming from?? &lt;BR /&gt;&lt;BR /&gt;Any ideas? Force remove??&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 16 Dec 2010 21:34:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727556#M548141</guid>
      <dc:creator>rvent</dc:creator>
      <dc:date>2010-12-16T21:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727557#M548142</link>
      <description>Ok,&lt;BR /&gt;&lt;BR /&gt;So i got the disk to show up on node 1, but every time i try to do vgcfgrestore -n /dev/vg01 /dev/dsk/c4t8d0 i get a message about not being able to query the physical volume. However, after that it takes a few seconds and then says: "Volume Group cfg restored to  disk"&lt;BR /&gt;&lt;BR /&gt;I then try to do pvchange -a y /dev/dsk/c4t8d0 and it complaints about "-a" being an illegal option...&lt;BR /&gt;&lt;BR /&gt;Any thoughts..?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 17 Dec 2010 01:00:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727557#M548142</guid>
      <dc:creator>rvent</dc:creator>
      <dc:date>2010-12-17T01:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727558#M548143</link>
      <description>Is the disk already in the vg01? If so, see if the mirror of lvols has been restored. If not, try to reactivate the volume group (vgchange -a y /dev/vg01) and check whether the logical volumes are being synchronized. If they did not synchronized, do a "vgsync /dev/vg01"&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Fri, 17 Dec 2010 06:49:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727558#M548143</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-12-17T06:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727559#M548144</link>
      <description>The message about "pvchange -a y not available" is because you need LVM online replacement (OLR) functionality available. To achieve it you need these patches:&lt;BR /&gt;&lt;BR /&gt;â ¢ For HP-UX 11i version 1, install patches PHKL_31216 and PHCO_30698 or their superseding patches.&lt;BR /&gt;â ¢ For HP-UX 11i version 2, install patches PHKL_32095 and PHCO_31709 or their superseding patches.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Fri, 17 Dec 2010 06:53:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727559#M548144</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-12-17T06:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727560#M548145</link>
      <description>Nope, vgdisplay -v vg01 only shows the old disk under ---Physical Volumes---&lt;BR /&gt;&lt;BR /&gt;I checked the LVs and no mirrors are present.&lt;BR /&gt;&lt;BR /&gt;The VG is still active and cant take it off line till Sunday. I am gonna try to deactivate it and reactivate it and see if i can get the drive added to the VG.&lt;BR /&gt;&lt;BR /&gt;/etc/lvmtab shows both disks under the vg01 entry.</description>
      <pubDate>Fri, 17 Dec 2010 22:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727560#M548145</guid>
      <dc:creator>rvent</dc:creator>
      <dc:date>2010-12-17T22:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727561#M548146</link>
      <description>"Cant take it off line till Sunday." &lt;BR /&gt;&lt;BR /&gt;How times have I heard that.&lt;BR /&gt;&lt;BR /&gt;Do you mind answer a few quick questions?&lt;BR /&gt;&lt;BR /&gt;What did the disks look like before the crash?&lt;BR /&gt;&lt;BR /&gt;What do the disks look like now after the crash?&lt;BR /&gt;&lt;BR /&gt;What does the system say the disks look like? - (Now and before)&lt;BR /&gt;&lt;BR /&gt;What does the disk application say the disks look like? - (Now and before)&lt;BR /&gt;&lt;BR /&gt;Without stating the obvious but can you remind me what versions of firmware, hardware, operating systems, applications, are we talking about exactly? &lt;BR /&gt;&lt;BR /&gt;A quick pencile diagram of your two disk config, would be greatly appreciated. - (Now and before, as it is and as it should be.)&lt;BR /&gt;&lt;BR /&gt;If you understand what I mean.&lt;BR /&gt;&lt;BR /&gt;Firmware, Hardware, SAN, Operating system, Application or Database.&lt;BR /&gt;&lt;BR /&gt;Its like looking for a needle, in a Gaint Hay stack. &lt;BR /&gt;&lt;BR /&gt;Its fun when you find it.&lt;BR /&gt;&lt;BR /&gt;Terry Giblin&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Dec 2010 17:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727561#M548146</guid>
      <dc:creator>Terry.giblin</dc:creator>
      <dc:date>2010-12-18T17:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727562#M548147</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Ok, before the crash both disks were shown as physical drives for VG01:&lt;BR /&gt;# vgdisplay -v vg01&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available, exclusive&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      5&lt;BR /&gt;Open LV                     4&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      2&lt;BR /&gt;Act PV                      1&lt;BR /&gt;Max PE per PV               17501&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    17499&lt;BR /&gt;Alloc PE                    9650&lt;BR /&gt;Free PE                     7849&lt;BR /&gt;Total PVG                   0&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;&lt;BR /&gt;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vg01/lvol1&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/lvol2&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/lvol3&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/lvol4&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c4t8d0&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    17499&lt;BR /&gt;   Free PE                     7849&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c5t8d0&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    17499&lt;BR /&gt;   Free PE                     7849&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;After the crash the c4t8d0 disk was still listed, however, i physically removed the disk before i stopped LVM from writing to it. After reading some HP docs, i found out it is called ghost disk and followed their instruction on how to remove it, however, when the docs say to add it to the VG it fails. The after looks like:&lt;BR /&gt;# vgdisplay -v vg01&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available, exclusive&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      5&lt;BR /&gt;Open LV                     4&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      2&lt;BR /&gt;Act PV                      1&lt;BR /&gt;Max PE per PV               17501&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    17499&lt;BR /&gt;Alloc PE                    9650&lt;BR /&gt;Free PE                     7849&lt;BR /&gt;Total PVG                   0&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;&lt;BR /&gt;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vg01/lvol1&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/lvol2&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/lvol3&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/lvol4&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c5t8d0&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    17499&lt;BR /&gt;   Free PE                     7849&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;The before and after is the same:&lt;BR /&gt;&lt;BR /&gt;disk      4  0/3/1/0.8.0    sdisk   CLAIMED     DEVICE       HP 73.4GST373207LC&lt;BR /&gt;                           /dev/dsk/c4t8d0   /dev/rdsk/c4t8d0&lt;BR /&gt;disk      3  0/3/1/1.8.0    sdisk   CLAIMED     DEVICE       HP 73.4GMAT3073NC&lt;BR /&gt;                           /dev/dsk/c5t8d0   /dev/rdsk/c5t8d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;At the moment, the system sees the disk just like before the crash, with the only difference being that the replacement disk is not in VG01 anymore.&lt;BR /&gt;&lt;BR /&gt;# pvdisplay /dev/dsk/c4t8d0&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which&lt;BR /&gt;physical volume "/dev/dsk/c4t8d0" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c4t8d0".&lt;BR /&gt;&lt;BR /&gt;Then when i try to do vgcfgrestore -n /dev/vg01 /dev/dsk/c4t8d0 i get a message about not being able to query the physical volume. However, after that it takes a few seconds and then says: "Volume Group cfg restored to disk" &lt;BR /&gt;&lt;BR /&gt;# uname -a&lt;BR /&gt;HP-UX unix-2 B.11.11 U 9000/800 1807302088 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;VG01 is a mirrored VG running under Service Guard.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 20 Dec 2010 15:04:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727562#M548147</guid>
      <dc:creator>rvent</dc:creator>
      <dc:date>2010-12-20T15:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727563#M548148</link>
      <description>I think c4t8 and c5t8 are the same. i.e. c4 and c5 being two paths to the SAN storage.&lt;BR /&gt;&lt;BR /&gt;Can you post lvdisplay output of one logical volume ?. I want to verify if it is really a mirror.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Mon, 20 Dec 2010 21:18:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727563#M548148</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2010-12-20T21:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727564#M548149</link>
      <description>No, they arent the same disks (at least physically).&lt;BR /&gt;&lt;BR /&gt;c4 is in DS2120 tray 1 and c5 is in DS2120 tray 2 they are both mirrored, they were mirrored.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v /dev/vg01/lvol1 | pg&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/lvol1&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               0&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            25000&lt;BR /&gt;Current LE                  6250&lt;BR /&gt;Allocated PE                6250&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/c5t8d0    6250      6250&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                PE1   Status 1&lt;BR /&gt;   00000 /dev/dsk/c5t8d0    00000 current&lt;BR /&gt;   00001 /dev/dsk/c5t8d0    00001 current&lt;BR /&gt;   00002 /dev/dsk/c5t8d0    00002 current&lt;BR /&gt;   00003 /dev/dsk/c5t8d0    00003 current&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Dec 2010 21:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727564#M548149</guid>
      <dc:creator>rvent</dc:creator>
      <dc:date>2010-12-20T21:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727565#M548150</link>
      <description>Ignore my request. I see they are indeed different disks. &lt;BR /&gt;&lt;BR /&gt;Post lvdisplay -v &lt;LV&gt; | head -30 if you can.&lt;BR /&gt;&lt;/LV&gt;</description>
      <pubDate>Mon, 20 Dec 2010 21:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727565#M548150</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2010-12-20T21:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727566#M548151</link>
      <description>I think you have gotten rid of the disk from the VG.&lt;BR /&gt;&lt;BR /&gt;So vgcfgrestore if not going to fix.&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/rdsk/c4t8d0 # Prepare for LVM&lt;BR /&gt;vgextend &lt;VG&gt; /dev/dsk/c4t8d0 # Add the disk back to the VG # &lt;BR /&gt;&lt;BR /&gt;Now setup the mirrors&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/&lt;VGNAME&gt;/lvol&lt;XX&gt; /dv/dsk/c4t8d0&lt;BR /&gt;&lt;BR /&gt;do it for all the LVs.&lt;BR /&gt;&lt;/XX&gt;&lt;/VGNAME&gt;&lt;/VG&gt;</description>
      <pubDate>Mon, 20 Dec 2010 21:30:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727566#M548151</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2010-12-20T21:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727567#M548152</link>
      <description>Let me rephrase "I think you have" with "You have indeed "&lt;BR /&gt;&lt;BR /&gt;Look at this &lt;BR /&gt;&lt;BR /&gt;"Mirror copies 0 "</description>
      <pubDate>Mon, 20 Dec 2010 21:31:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727567#M548152</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2010-12-20T21:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727568#M548153</link>
      <description>Will this be an offline operation? Or should i be able to do it during business hours?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 20 Dec 2010 21:32:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727568#M548153</guid>
      <dc:creator>rvent</dc:creator>
      <dc:date>2010-12-20T21:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727569#M548154</link>
      <description>All he steps I mentioned are online.</description>
      <pubDate>Mon, 20 Dec 2010 21:35:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727569#M548154</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2010-12-20T21:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored disk replacement - refresher</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727570#M548155</link>
      <description>It might put a little bit of load in the system during the mirroring process. So the I/O operations may experience a delay. Do it when there is less production load if you care.</description>
      <pubDate>Mon, 20 Dec 2010 21:46:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-disk-replacement-refresher/m-p/4727570#M548155</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2010-12-20T21:46:00Z</dc:date>
    </item>
  </channel>
</rss>

