<?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/"
		>
<channel>
	<title>Comments on: Fixing pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2 umount error</title>
	<atom:link href="http://backdrift.org/fixing-pivotroot-pivot_rootsysrootsysrootinitrd-failed-2-umount-error/feed" rel="self" type="application/rss+xml" />
	<link>http://backdrift.org/fixing-pivotroot-pivot_rootsysrootsysrootinitrd-failed-2-umount-error</link>
	<description></description>
	<lastBuildDate>Thu, 17 May 2012 15:38:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Kristian Reese</title>
		<link>http://backdrift.org/fixing-pivotroot-pivot_rootsysrootsysrootinitrd-failed-2-umount-error/comment-page-1#comment-993</link>
		<dc:creator>Kristian Reese</dc:creator>
		<pubDate>Sun, 19 Feb 2012 14:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://backdrift.org/?p=133#comment-993</guid>
		<description>As Keith indicates, boot from a linux installation CD and at the boot: prompt, type: linux rescue

To my original post, the contents of /target/root/multipath-files/mutipath.conf are:


devnode_blacklist {
       devnode &quot;^(ram&#124;raw&#124;loop&#124;fd&#124;md&#124;dm-&#124;sr&#124;scd&#124;st)[0-9]*&quot;
       devnode &quot;^hd[a-z]&quot;
       devnode &quot;^cciss!c[0-9]d[0-9]*&quot;
}

defaults {
        udev_dir /dev
        rr_min_io 128
        failback immediate
        no_path_retry queue
        default_path_grouping_policy    failover
        polling_interval 5
}

devices {
        device {
                vendor                  &quot;NETAPP&quot;
                product                 &quot;LUN&quot;
                path_grouping_policy    failover
                prio_callout            none
                features                &quot;1 queue_if_no_path&quot;
                path_checker            directio
                failback                immediate
        }
}

multipaths {
        multipath {
                wwid    @SDAID@
                alias   mpsda
        }

        multipath {
                wwid    @SDBID@
                alias   mpsdb
        }

        multipath {
                wwid    @SDCID@
                alias   mpsdc
        }
}


so you could simply take the contents of multipath.conf and input the results of each scsi_id command for each wwid instead of following my post command for command.  The reason I had to update mine was because I migrated the luns to another netapp and therefore, the scsi_id changed for each lun.</description>
		<content:encoded><![CDATA[<p>As Keith indicates, boot from a linux installation CD and at the boot: prompt, type: linux rescue</p>
<p>To my original post, the contents of /target/root/multipath-files/mutipath.conf are:</p>
<p>devnode_blacklist {<br />
       devnode &#8220;^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*&#8221;<br />
       devnode &#8220;^hd[a-z]&#8221;<br />
       devnode &#8220;^cciss!c[0-9]d[0-9]*&#8221;<br />
}</p>
<p>defaults {<br />
        udev_dir /dev<br />
        rr_min_io 128<br />
        failback immediate<br />
        no_path_retry queue<br />
        default_path_grouping_policy    failover<br />
        polling_interval 5<br />
}</p>
<p>devices {<br />
        device {<br />
                vendor                  &#8220;NETAPP&#8221;<br />
                product                 &#8220;LUN&#8221;<br />
                path_grouping_policy    failover<br />
                prio_callout            none<br />
                features                &#8220;1 queue_if_no_path&#8221;<br />
                path_checker            directio<br />
                failback                immediate<br />
        }<br />
}</p>
<p>multipaths {<br />
        multipath {<br />
                wwid    @SDAID@<br />
                alias   mpsda<br />
        }</p>
<p>        multipath {<br />
                wwid    @SDBID@<br />
                alias   mpsdb<br />
        }</p>
<p>        multipath {<br />
                wwid    @SDCID@<br />
                alias   mpsdc<br />
        }<br />
}</p>
<p>so you could simply take the contents of multipath.conf and input the results of each scsi_id command for each wwid instead of following my post command for command.  The reason I had to update mine was because I migrated the luns to another netapp and therefore, the scsi_id changed for each lun.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://backdrift.org/fixing-pivotroot-pivot_rootsysrootsysrootinitrd-failed-2-umount-error/comment-page-1#comment-992</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Mon, 13 Feb 2012 16:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://backdrift.org/?p=133#comment-992</guid>
		<description>You&#039;ll need to mount the filesystem from a rescue kerenel or disc.  I typically use the knoppix livecd system.</description>
		<content:encoded><![CDATA[<p>You&#8217;ll need to mount the filesystem from a rescue kerenel or disc.  I typically use the knoppix livecd system.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naim Shaikh</title>
		<link>http://backdrift.org/fixing-pivotroot-pivot_rootsysrootsysrootinitrd-failed-2-umount-error/comment-page-1#comment-991</link>
		<dc:creator>Naim Shaikh</dc:creator>
		<pubDate>Mon, 13 Feb 2012 07:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://backdrift.org/?p=133#comment-991</guid>
		<description>But i am not able to reach to command prompt. Where i can pass this mkdir command? Please suggest.Thanks.</description>
		<content:encoded><![CDATA[<p>But i am not able to reach to command prompt. Where i can pass this mkdir command? Please suggest.Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristian Reese</title>
		<link>http://backdrift.org/fixing-pivotroot-pivot_rootsysrootsysrootinitrd-failed-2-umount-error/comment-page-1#comment-328</link>
		<dc:creator>Kristian Reese</dc:creator>
		<pubDate>Thu, 20 May 2010 05:04:45 +0000</pubDate>
		<guid isPermaLink="false">http://backdrift.org/?p=133#comment-328</guid>
		<description>I came across this problem as well with iscsi LUNs using qlogic HBA&#039;s.  The solution in a nutshell for me was to rebuild initrd with the new SCSI ID&#039;s of the LUNs and update the multipath configuration.  

boot from cdrom and linux rescue

mkdir /target
mount /dev/sda1 /target


SDA_ID=&quot;`/sbin/scsi_id -g -u -s /block/sda`&quot;
SDB_ID=&quot;`/sbin/scsi_id -g -u -s /block/sdb`&quot;
SDC_ID=&quot;`/sbin/scsi_id -g -u -s /block/sdc`&quot;

cp /target/root/multipath-files/multipath.conf /target/etc/multipath.conf
sed -i  -e &quot;s:@SDAID@:${SDA_ID}:g&quot; \
        -e &quot;s:@SDBID@:${SDB_ID}:g&quot; \
        -e &quot;s:@SDCID@:${SDC_ID}:g&quot; /taret/etc/multipath.conf

losetup /dev/loop1 /target/root/multipath-files/initrd.img

mkdir /target/root/multipath-files/tmp
mount /dev/loop1 /target/root/multipath-files/tmp
cp /target/etc/multipath.conf /target/root/multipath-files/tmp/etc/multipath.conf
umount /target/root/multipath-files/tmp
losetup -d /dev/loop1
rmdir /target/root/multipath-files/tmp

cp /target/root/multipath-files/initrd.img /target/root/multipath-files/initrd.img.tmp
gzip /target/root/multipath-files/initrd.img.tmp
mv /target/root/multipath-files/initrd.img.tmp.gz /target/boot/initrd-KERNEL_VERSION-mpath.img

--
Kristian Reese</description>
		<content:encoded><![CDATA[<p>I came across this problem as well with iscsi LUNs using qlogic HBA&#8217;s.  The solution in a nutshell for me was to rebuild initrd with the new SCSI ID&#8217;s of the LUNs and update the multipath configuration.  </p>
<p>boot from cdrom and linux rescue</p>
<p>mkdir /target<br />
mount /dev/sda1 /target</p>
<p>SDA_ID=&#8221;`/sbin/scsi_id -g -u -s /block/sda`&#8221;<br />
SDB_ID=&#8221;`/sbin/scsi_id -g -u -s /block/sdb`&#8221;<br />
SDC_ID=&#8221;`/sbin/scsi_id -g -u -s /block/sdc`&#8221;</p>
<p>cp /target/root/multipath-files/multipath.conf /target/etc/multipath.conf<br />
sed -i  -e &#8220;s:@SDAID@:${SDA_ID}:g&#8221; \<br />
        -e &#8220;s:@SDBID@:${SDB_ID}:g&#8221; \<br />
        -e &#8220;s:@SDCID@:${SDC_ID}:g&#8221; /taret/etc/multipath.conf</p>
<p>losetup /dev/loop1 /target/root/multipath-files/initrd.img</p>
<p>mkdir /target/root/multipath-files/tmp<br />
mount /dev/loop1 /target/root/multipath-files/tmp<br />
cp /target/etc/multipath.conf /target/root/multipath-files/tmp/etc/multipath.conf<br />
umount /target/root/multipath-files/tmp<br />
losetup -d /dev/loop1<br />
rmdir /target/root/multipath-files/tmp</p>
<p>cp /target/root/multipath-files/initrd.img /target/root/multipath-files/initrd.img.tmp<br />
gzip /target/root/multipath-files/initrd.img.tmp<br />
mv /target/root/multipath-files/initrd.img.tmp.gz /target/boot/initrd-KERNEL_VERSION-mpath.img</p>
<p>&#8211;<br />
Kristian Reese</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  backdrift.org/fixing-pivotroot-pivot_rootsysrootsysrootinitrd-failed-2-umount-error/feed ) in 0.25510 seconds, on May 19th, 2012 at 2:53 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on May 19th, 2012 at 3:53 am UTC -->
