<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Andryan's Random Notes &#187; LVM</title>
	<atom:link href="http://blog.nirkabel.org/category/lvm/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nirkabel.org</link>
	<description>This blog is here to stay</description>
	<lastBuildDate>Fri, 20 Jan 2012 03:17:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>LVM recovery on Fedora Core 6 with Fedora 8 Rescue CD</title>
		<link>http://blog.nirkabel.org/2008/01/05/lvm-recovery-on-fedora-core-6-with-fedora-8-rescue-cd/</link>
		<comments>http://blog.nirkabel.org/2008/01/05/lvm-recovery-on-fedora-core-6-with-fedora-8-rescue-cd/#comments</comments>
		<pubDate>Sat, 05 Jan 2008 16:11:11 +0000</pubDate>
		<dc:creator>Andryan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://andryan.wordpress.com/2008/01/05/lvm-recovery-with-fedora-core-6-rescue-cd/</guid>
		<description><![CDATA[One of my hard disks on my Fedora Core 6 server nearly failed yesterday. It sounded like it loses power every now and then. This hard disk is my primary, it has the /boot partition and an LVM partition. It holds at least 36GB of the 300GB+ LVM Volume Group. Had it died totally, then [...]]]></description>
			<content:encoded><![CDATA[<p>One of my hard disks on my Fedora Core 6 server nearly failed yesterday. It sounded like it loses power every now and then. This hard disk is my primary, it has the /boot partition and an LVM partition. It holds at least 36GB of the 300GB+ LVM Volume Group. Had it died totally, then most of the OS would have been gone along with some of my data. Luckily I was still able to boot from this nearly-dead hard disk for a couple of times.</p>
<p>I downloaded Fedora Core 6&#8242;s Rescue CD ISO and burned it. Every time I could boot into the system without a problem, I rebooted immediately and booted from the Rescue CD. I was hoping that I could move the LVM PEs off the broken hard disk ASAP.</p>
<p>During my first attempt, the faulty hard disk &#8216;disappeared&#8217; when I was running e2fsck. I had to shut the system down for about 15 minutes to let it cool down. This trick did work and I tried another attempt. This time e2fsck finished without a problem, and I ran pvmove to move the PEs from the faulty disk. Unfortunately my kernel is the latest version but the device-mapper and lvm2 packages are not. pvmove printed out <a href="http://www.redhat.com/archives/linux-lvm/2007-January/msg00011.html" target="_blank">errors</a> (&#8220;device-mapper: reload ioctl failed: Invalid argument&#8221;) no matter how many times I tried. Initially I thought that the faulty hard disk may be too damaged, but then since I could still boot the system without a hitch so I guessed it couldn&#8217;t be <b>that</b> damaged.</p>
<p><a href="http://www.redhat.com/archives/linux-lvm/2007-January/msg00021.html" target="_blank">This post</a> has a solution, but I didn&#8217;t use it. I downloaded Fedora 8 Rescue CD ISO and used that instead of Fedora Core 6&#8242;s. This time pvmove didn&#8217;t show any error and the process completed as expected without any lost data. I was then able to vgreduce the faulty hard disk from the LVM Volume Group.</p>
<p>If you experience the same problem, try downloading a newer Rescue CD and give it a try. Hopefully it will address problems that are present on older Rescue CDs. Good luck! <img src='http://blog.nirkabel.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nirkabel.org/2008/01/05/lvm-recovery-on-fedora-core-6-with-fedora-8-rescue-cd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

