<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: Recovering from pvmove failure</title>
	<atom:link href="http://www.dmi.me.uk/blog/2010/01/07/recovering-from-pvmove-failure/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dmi.me.uk/blog/2010/01/07/recovering-from-pvmove-failure/</link>
	<description></description>
	<lastBuildDate>Thu, 22 Dec 2011 18:53:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Turbo Fredriksson</title>
		<link>http://www.dmi.me.uk/blog/2010/01/07/recovering-from-pvmove-failure/comment-page-1/#comment-403</link>
		<dc:creator>Turbo Fredriksson</dc:creator>
		<pubDate>Sat, 18 Sep 2010 08:29:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.dmi.me.uk/blog/?p=203#comment-403</guid>
		<description>I had almost the same problem, with the exeption that the pvmove failed, removing the temporary LV, leaving the PV &#039;empty&#039;.

The cfg restore wasn&#039;t enough for me. My PV was still showing up as empty. But I did the vgcfgrestore, vgscan et al. The PV still showed as empty... But I also did a &#039;pvmove --abort&#039; (even though it seems that there WAS no move in progress). Then I want to bed, didn&#039;t want to risk doing something worse due to fatigue :). When I woke up, I checked the PV. It was full again!!

So give it some time... Don&#039;t panic! This is actually the most important part!! DO. NOT. PANIC.

Oh, and don&#039;t reboot if you can avoid it (I didn&#039;t).

This is what my (failed) pvmove gave me:
&lt;cite&gt;
celia:~# pvmove -v /dev/md6 /dev/md9
    Finding volume group &quot;movies&quot;
    Archiving volume group &quot;movies&quot; metadata (seqno 86).
    Creating logical volume pvmove0
    Moving 119234 extents of logical volume movies/movies
    Found volume group &quot;movies&quot;
    Updating volume group metadata
    Creating volume group backup &quot;/etc/lvm/backup/movies&quot; (seqno 87).
    Found volume group &quot;movies&quot;
    Found volume group &quot;movies&quot;
    Suspending movies-movies (253:1) with device flush
    Found volume group &quot;movies&quot;
    Found volume group &quot;movies&quot;
    Creating movies-pvmove0
  device-mapper: create ioctl failed: Enhet eller resurs upptagen
    Loading movies-movies table
  device-mapper: reload ioctl failed: Ogiltigt argument
    Checking progress every 15 seconds
  WARNING: dev_open(/dev/md6) called while suspended
  WARNING: dev_open(/dev/md2) called while suspended
  WARNING: dev_open(/dev/md3) called while suspended
  WARNING: dev_open(/dev/md4) called while suspended
  WARNING: dev_open(/dev/md5) called while suspended
  WARNING: dev_open(/dev/md8) called while suspended
  WARNING: dev_open(/dev/md9) called while suspended
  WARNING: dev_open(/dev/md6) called while suspended
  WARNING: dev_open(/dev/md2) called while suspended
  WARNING: dev_open(/dev/md3) called while suspended
  WARNING: dev_open(/dev/md4) called while suspended
  WARNING: dev_open(/dev/md5) called while suspended
  WARNING: dev_open(/dev/md8) called while suspended
  WARNING: dev_open(/dev/md9) called while suspended
  WARNING: dev_open(/dev/md6) called while suspended
  WARNING: dev_open(/dev/md2) called while suspended
  WARNING: dev_open(/dev/md3) called while suspended
  WARNING: dev_open(/dev/md4) called while suspended
  WARNING: dev_open(/dev/md5) called while suspended
  WARNING: dev_open(/dev/md8) called while suspended
  WARNING: dev_open(/dev/md9) called while suspended
  /dev/md6: Moved: 100,0%
    Found volume group &quot;movies&quot;
    Found volume group &quot;movies&quot;
    Found volume group &quot;movies&quot;
    Found volume group &quot;movies&quot;
    Suspending movies-pvmove0 (253:0) with device flush
    Found volume group &quot;movies&quot;
    Creating movies-pvmove0
  device-mapper: create ioctl failed: Enhet eller resurs upptagen
  Unable to reactivate logical volume &quot;pvmove0&quot;
    Found volume group &quot;movies&quot;
    Loading movies-movies table
    Resuming movies-movies (253:1)
    Found volume group &quot;movies&quot;
    Removing movies-pvmove0 (253:0)
    Found volume group &quot;movies&quot;
    Removing temporary pvmove LV
    Writing out final volume group after pvmove
    Creating volume group backup &quot;/etc/lvm/backup/movies&quot; (seqno 89).
celia:~# pvmove -v /dev/md6 /dev/md9
    Finding volume group &quot;movies&quot;
    Archiving volume group &quot;movies&quot; metadata (seqno 89).
    Creating logical volume pvmove0
  No data to move for movies
celia:~# pvdisplay /dev/md6
  --- Physical volume ---
  PV Name               /dev/md6
  VG Name               movies
  PV Size               465,76 GB / not usable 1,44 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              119234
  Free PE               119234
  Allocated PE          0
  PV UUID               O4Stdr-Izas-1rwv-aPoF-2aNu-15ZR-kfxi2Y
celia:~# less pvdisplay.txt
[...]
  --- Physical volume ---
  PV Name               /dev/md6
  VG Name               movies
  PV Size               465,76 GB / not usable 1,44 MB
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              119234
  Free PE               0
  Allocated PE          119234
  PV UUID               O4Stdr-Izas-1rwv-aPoF-2aNu-15ZR-kfxi2Y
&lt;/cite&gt;

The pvdisplay.txt text was before I did the pvmove...</description>
		<content:encoded><![CDATA[<p>I had almost the same problem, with the exeption that the pvmove failed, removing the temporary LV, leaving the PV &#8216;empty&#8217;.</p>
<p>The cfg restore wasn&#8217;t enough for me. My PV was still showing up as empty. But I did the vgcfgrestore, vgscan et al. The PV still showed as empty&#8230; But I also did a &#8216;pvmove &#8211;abort&#8217; (even though it seems that there WAS no move in progress). Then I want to bed, didn&#8217;t want to risk doing something worse due to fatigue <img src='http://www.dmi.me.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . When I woke up, I checked the PV. It was full again!!</p>
<p>So give it some time&#8230; Don&#8217;t panic! This is actually the most important part!! DO. NOT. PANIC.</p>
<p>Oh, and don&#8217;t reboot if you can avoid it (I didn&#8217;t).</p>
<p>This is what my (failed) pvmove gave me:<br />
<cite><br />
celia:~# pvmove -v /dev/md6 /dev/md9<br />
    Finding volume group &#8220;movies&#8221;<br />
    Archiving volume group &#8220;movies&#8221; metadata (seqno 86).<br />
    Creating logical volume pvmove0<br />
    Moving 119234 extents of logical volume movies/movies<br />
    Found volume group &#8220;movies&#8221;<br />
    Updating volume group metadata<br />
    Creating volume group backup &#8220;/etc/lvm/backup/movies&#8221; (seqno 87).<br />
    Found volume group &#8220;movies&#8221;<br />
    Found volume group &#8220;movies&#8221;<br />
    Suspending movies-movies (253:1) with device flush<br />
    Found volume group &#8220;movies&#8221;<br />
    Found volume group &#8220;movies&#8221;<br />
    Creating movies-pvmove0<br />
  device-mapper: create ioctl failed: Enhet eller resurs upptagen<br />
    Loading movies-movies table<br />
  device-mapper: reload ioctl failed: Ogiltigt argument<br />
    Checking progress every 15 seconds<br />
  WARNING: dev_open(/dev/md6) called while suspended<br />
  WARNING: dev_open(/dev/md2) called while suspended<br />
  WARNING: dev_open(/dev/md3) called while suspended<br />
  WARNING: dev_open(/dev/md4) called while suspended<br />
  WARNING: dev_open(/dev/md5) called while suspended<br />
  WARNING: dev_open(/dev/md8) called while suspended<br />
  WARNING: dev_open(/dev/md9) called while suspended<br />
  WARNING: dev_open(/dev/md6) called while suspended<br />
  WARNING: dev_open(/dev/md2) called while suspended<br />
  WARNING: dev_open(/dev/md3) called while suspended<br />
  WARNING: dev_open(/dev/md4) called while suspended<br />
  WARNING: dev_open(/dev/md5) called while suspended<br />
  WARNING: dev_open(/dev/md8) called while suspended<br />
  WARNING: dev_open(/dev/md9) called while suspended<br />
  WARNING: dev_open(/dev/md6) called while suspended<br />
  WARNING: dev_open(/dev/md2) called while suspended<br />
  WARNING: dev_open(/dev/md3) called while suspended<br />
  WARNING: dev_open(/dev/md4) called while suspended<br />
  WARNING: dev_open(/dev/md5) called while suspended<br />
  WARNING: dev_open(/dev/md8) called while suspended<br />
  WARNING: dev_open(/dev/md9) called while suspended<br />
  /dev/md6: Moved: 100,0%<br />
    Found volume group &#8220;movies&#8221;<br />
    Found volume group &#8220;movies&#8221;<br />
    Found volume group &#8220;movies&#8221;<br />
    Found volume group &#8220;movies&#8221;<br />
    Suspending movies-pvmove0 (253:0) with device flush<br />
    Found volume group &#8220;movies&#8221;<br />
    Creating movies-pvmove0<br />
  device-mapper: create ioctl failed: Enhet eller resurs upptagen<br />
  Unable to reactivate logical volume &#8220;pvmove0&#8243;<br />
    Found volume group &#8220;movies&#8221;<br />
    Loading movies-movies table<br />
    Resuming movies-movies (253:1)<br />
    Found volume group &#8220;movies&#8221;<br />
    Removing movies-pvmove0 (253:0)<br />
    Found volume group &#8220;movies&#8221;<br />
    Removing temporary pvmove LV<br />
    Writing out final volume group after pvmove<br />
    Creating volume group backup &#8220;/etc/lvm/backup/movies&#8221; (seqno 89).<br />
celia:~# pvmove -v /dev/md6 /dev/md9<br />
    Finding volume group &#8220;movies&#8221;<br />
    Archiving volume group &#8220;movies&#8221; metadata (seqno 89).<br />
    Creating logical volume pvmove0<br />
  No data to move for movies<br />
celia:~# pvdisplay /dev/md6<br />
  &#8212; Physical volume &#8212;<br />
  PV Name               /dev/md6<br />
  VG Name               movies<br />
  PV Size               465,76 GB / not usable 1,44 MB<br />
  Allocatable           yes<br />
  PE Size (KByte)       4096<br />
  Total PE              119234<br />
  Free PE               119234<br />
  Allocated PE          0<br />
  PV UUID               O4Stdr-Izas-1rwv-aPoF-2aNu-15ZR-kfxi2Y<br />
celia:~# less pvdisplay.txt<br />
[...]<br />
  &#8212; Physical volume &#8212;<br />
  PV Name               /dev/md6<br />
  VG Name               movies<br />
  PV Size               465,76 GB / not usable 1,44 MB<br />
  Allocatable           yes (but full)<br />
  PE Size (KByte)       4096<br />
  Total PE              119234<br />
  Free PE               0<br />
  Allocated PE          119234<br />
  PV UUID               O4Stdr-Izas-1rwv-aPoF-2aNu-15ZR-kfxi2Y<br />
</cite></p>
<p>The pvdisplay.txt text was before I did the pvmove&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.dmi.me.uk/blog/2010/01/07/recovering-from-pvmove-failure/comment-page-1/#comment-335</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 08 Jan 2010 18:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.dmi.me.uk/blog/?p=203#comment-335</guid>
		<description>Indeed it would. I believe S3 do accept hard drives in some situations (http://aws.amazon.com/importexport/) but that depends on cost- and time-effectiveness.

I&#039;ve just prodded Katie about the email, and she&#039;s looking into it now. Her excuse is that she&#039;s been ill (very true) and that nothing requiring intellect has been done.</description>
		<content:encoded><![CDATA[<p>Indeed it would. I believe S3 do accept hard drives in some situations (<a href="http://aws.amazon.com/importexport/" rel="nofollow">http://aws.amazon.com/importexport/</a>) but that depends on cost- and time-effectiveness.</p>
<p>I&#8217;ve just prodded Katie about the email, and she&#8217;s looking into it now. Her excuse is that she&#8217;s been ill (very true) and that nothing requiring intellect has been done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Durant</title>
		<link>http://www.dmi.me.uk/blog/2010/01/07/recovering-from-pvmove-failure/comment-page-1/#comment-334</link>
		<dc:creator>David Durant</dc:creator>
		<pubDate>Fri, 08 Jan 2010 15:11:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.dmi.me.uk/blog/?p=203#comment-334</guid>
		<description>*nods* - My initial upload with JD took circa 4-5 days. For people with serious amounts of data (I&#039;m only syncing ~400 Meg probably) it would be quicker if the service took DVDs by post (&quot;never underestimate the bandwidth of a Volvo full of DVDs&quot; :-) ).

Oh - and Katie still hasn&#039;t replied to David P.</description>
		<content:encoded><![CDATA[<p>*nods* &#8211; My initial upload with JD took circa 4-5 days. For people with serious amounts of data (I&#8217;m only syncing ~400 Meg probably) it would be quicker if the service took DVDs by post (&#8220;never underestimate the bandwidth of a Volvo full of DVDs&#8221; <img src='http://www.dmi.me.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ).</p>
<p>Oh &#8211; and Katie still hasn&#8217;t replied to David P.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.dmi.me.uk/blog/2010/01/07/recovering-from-pvmove-failure/comment-page-1/#comment-333</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 08 Jan 2010 13:14:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.dmi.me.uk/blog/?p=203#comment-333</guid>
		<description>I&#039;ve got a sync system (s3cmd) -- it&#039;s just that the upload speed here (~5KiB/s gusting up to 20KiB/s) sucks enough that the initial upload would take forever. Just uploading 5400 photos (~4GiB) has so far been running continuously since shortly after I finished recovery on the evening of the 4th... with 800 still to go as of this moment.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve got a sync system (s3cmd) &#8212; it&#8217;s just that the upload speed here (~5KiB/s gusting up to 20KiB/s) sucks enough that the initial upload would take forever. Just uploading 5400 photos (~4GiB) has so far been running continuously since shortly after I finished recovery on the evening of the 4th&#8230; with 800 still to go as of this moment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Durant</title>
		<link>http://www.dmi.me.uk/blog/2010/01/07/recovering-from-pvmove-failure/comment-page-1/#comment-332</link>
		<dc:creator>David Durant</dc:creator>
		<pubDate>Fri, 08 Jan 2010 00:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.dmi.me.uk/blog/?p=203#comment-332</guid>
		<description>This is why JungleDisk (or equivalent) is your friend. We used to cross-backup between Annie&#039;s and my PC overnight but now we both use JD to push the diffs up to EC2. Seemless, works on Windows and Linux, zero effort and about $5 a month.</description>
		<content:encoded><![CDATA[<p>This is why JungleDisk (or equivalent) is your friend. We used to cross-backup between Annie&#8217;s and my PC overnight but now we both use JD to push the diffs up to EC2. Seemless, works on Windows and Linux, zero effort and about $5 a month.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

