<?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: pvmove crashed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613515#M553347</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;check the pvdisplay on the source and the destination PV, them recreate the structure on the destination disk, and them try to use the pvmove command again.&lt;BR /&gt;&lt;BR /&gt;if its a test server, you can any time restore the VG and the data as you mentioned.&lt;BR /&gt;&lt;BR /&gt;mikap</description>
    <pubDate>Wed, 07 Apr 2010 11:05:35 GMT</pubDate>
    <dc:creator>Michal Kapalka (mikap)</dc:creator>
    <dc:date>2010-04-07T11:05:35Z</dc:date>
    <item>
      <title>pvmove crashed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613513#M553345</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I was moving a volume group from one physical volume to another using "pvmove" when I loose connection to the server. "pvmove" crashed and, when I try to restart I get the following error:&lt;BR /&gt;&lt;BR /&gt;#  pvmove  /dev/dsk/c10t0d1 /dev/dsk/c15t0d2&lt;BR /&gt;pvmove: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/vg01/lvol4" could not be extended.&lt;BR /&gt;pvmove: Cannot find a free physical extent for logical extent 17125&lt;BR /&gt;of logical volume "/dev/vg01/lvol4".&lt;BR /&gt;Failure possibly caused by strict allocation policy&lt;BR /&gt;srv00406:/root&lt;BR /&gt;&lt;BR /&gt;The logical volume "lvol4" is in "stale" status.&lt;BR /&gt;&lt;BR /&gt;# lvdisplay /dev/vg01/lvol4&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/lvol4&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/stale&lt;BR /&gt;Mirror copies               1&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            300000&lt;BR /&gt;Current LE                  37500&lt;BR /&gt;Allocated PE                37501&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;Question,&lt;BR /&gt;&lt;BR /&gt;Is it possible to recover the vg/lvol or do I need to recreate the volume group and restore the data.&lt;BR /&gt;&lt;BR /&gt;(this was a test server so the data is not critical)&lt;BR /&gt;&lt;BR /&gt;/leif</description>
      <pubDate>Wed, 07 Apr 2010 10:53:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613513#M553345</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2010-04-07T10:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: pvmove crashed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613514#M553346</link>
      <description>Hi Leif,&lt;BR /&gt;&lt;BR /&gt;Have a look at this doc.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=KBRC00010642" target="_blank"&gt;http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=KBRC00010642&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Title: Panic Hang On EMC Disk Array; Attempt To Migrate With pvmove(1M)&lt;BR /&gt;Document ID: emr_na-c00934877-4&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 07 Apr 2010 11:02:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613514#M553346</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2010-04-07T11:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: pvmove crashed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613515#M553347</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;check the pvdisplay on the source and the destination PV, them recreate the structure on the destination disk, and them try to use the pvmove command again.&lt;BR /&gt;&lt;BR /&gt;if its a test server, you can any time restore the VG and the data as you mentioned.&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Wed, 07 Apr 2010 11:05:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613515#M553347</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2010-04-07T11:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: pvmove crashed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613516#M553348</link>
      <description>I've had luck changing the number of mirrors back to 0 and then rerunning pvmove.&lt;BR /&gt;&lt;BR /&gt;e.g. lvchange -m 0 /dev/vg01/lvol4&lt;BR /&gt;&lt;BR /&gt;That seems to remove the stale extent and keep the good one.  &lt;BR /&gt;&lt;BR /&gt;Doing another lvdisplay will show the Current LE and Allocated LE being the same (e.g. 37500) and mirror copies 0.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Apr 2010 13:45:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613516#M553348</guid>
      <dc:creator>Bill Costigan</dc:creator>
      <dc:date>2010-04-08T13:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: pvmove crashed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613517#M553349</link>
      <description>Hi,&lt;BR /&gt;Thank you, the "lvreduce -m" seem to be the correct way to go. Unfourtunatly for me is that "lvreduce -m" need the Mirror UX product and we don't have Mirror UX installed. I have to find out if we still have any valid license for this product so I can get a codeword for installing.&lt;BR /&gt;&lt;BR /&gt;Or I have to recreate the volume and restore from backup.</description>
      <pubDate>Thu, 08 Apr 2010 22:48:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613517#M553349</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2010-04-08T22:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: pvmove crashed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613518#M553350</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;just an advice: next time you do such critical operation on the machine, do it from the LAN console. This way you can eliminate the side-effects of a possible connection loss.&lt;BR /&gt;&lt;BR /&gt;Or, the best would be to do the work in 'screen', this is a virtual terminal which you can detach while the processes inside are kept running. We do it like this every day, I think it's a best practice.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/screen-4.0.3/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/screen-4.0.3/&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Apr 2010 06:14:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613518#M553350</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2010-04-09T06:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: pvmove crashed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613519#M553351</link>
      <description>I didn't think you needed Mirror UX to reduce the mirrors.  I think I did it without the license.  Did you try it? Did you get a message that -m option wasn't valid?</description>
      <pubDate>Fri, 09 Apr 2010 11:18:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613519#M553351</guid>
      <dc:creator>Bill Costigan</dc:creator>
      <dc:date>2010-04-09T11:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: pvmove crashed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613520#M553352</link>
      <description>Leif,&lt;BR /&gt;&lt;BR /&gt;How do you have an LVM mirror copy if you don't have MirrorDisk/UX ?&lt;BR /&gt;&lt;BR /&gt;# lvdisplay /dev/vg01/lvol4&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name /dev/vg01/lvol4&lt;BR /&gt;VG Name /dev/vg01&lt;BR /&gt;LV Permission read/write&lt;BR /&gt;LV Status available/stale&lt;BR /&gt;Mirror copies 1&lt;BR /&gt;</description>
      <pubDate>Sun, 11 Apr 2010 07:41:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove-crashed/m-p/4613520#M553352</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2010-04-11T07:41:32Z</dc:date>
    </item>
  </channel>
</rss>

