<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-24815</id>
	<title>Nabble - Fedora Xen</title>
	<updated>2009-12-14T01:13:52Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Fedora-Xen-f24815.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fedora-Xen-f24815.html" />
	<subtitle type="html">For discussion about Xen virtualisation in Fedora.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26774867</id>
	<title>Re: Fedora xen-3.4.2 rpms</title>
	<published>2009-12-14T01:13:52Z</published>
	<updated>2009-12-14T01:13:52Z</updated>
	<author>
		<name>Gerd Hoffmann-3</name>
	</author>
	<content type="html">On 12/13/09 18:38, Pasi Kärkkäinen wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; pygrub timeout=0 fix and bzip2/lzma support are included.
&lt;br&gt;&amp;gt; I guess that should be all?
&lt;br&gt;&lt;br&gt;IIRC there where some more fixes you've mailed me URLs for. &amp;nbsp;Can't dig 
&lt;br&gt;out that old mail though. &amp;nbsp;So if you can't remember too lets just assume 
&lt;br&gt;that all we need is in 3.4.2 ;)
&lt;br&gt;&lt;br&gt;BTW: F12 builds are done and should reach updates-testing with the next 
&lt;br&gt;updates push.
&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;&amp;nbsp; &amp;nbsp;Gerd
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26774867&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fedora-xen-3.4.2-rpms-tp26422735p26774867.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26768039</id>
	<title>Re: Fedora xen-3.4.2 rpms</title>
	<published>2009-12-13T09:38:59Z</published>
	<updated>2009-12-13T09:38:59Z</updated>
	<author>
		<name>Pasi Kärkkäinen</name>
	</author>
	<content type="html">On Sun, Dec 13, 2009 at 07:24:38PM +0200, Pasi Kärkkäinen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, Dec 13, 2009 at 07:17:05PM +0200, Pasi Kärkkäinen wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Thu, Dec 10, 2009 at 02:40:25PM +0100, Gerd Hoffmann wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On 12/10/09 09:47, Pasi Kärkkäinen wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;On Thu, Nov 19, 2009 at 10:47:18AM +0200, Pasi Kärkkäinen wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&amp;gt;Hello again,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&amp;gt;Xen 3.4.2 was released last week with a lot of updates, so it would be
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&amp;gt;good to sync the Fedora rpm again.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;Doesn't seem to require much changes to the .spec:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;a href=&quot;http://bderzhavets.wordpress.com/2009/11/28/hot-hypervisor-upgrade-up-to-3-4-2-on-xen-3-4-1-libvirt-0-7-1-15-dom0-on-top-of-fedora-12/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bderzhavets.wordpress.com/2009/11/28/hot-hypervisor-upgrade-up-to-3-4-2-on-xen-3-4-1-libvirt-0-7-1-15-dom0-on-top-of-fedora-12/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Committed and building for rawhide, F12 will follow.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Thanks. I rebuilt on my F12 box, and it seems to work OK.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; What is the status of the fixes you've mailed a while back and I've 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; never came around committing? &amp;nbsp;Are they in the 3.4.2 release and thus 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; obsolete now?
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Hmm.. what fixes exactly? do you mean the stubdom bridge parsing patch?
&lt;br&gt;&amp;gt; &amp;gt; iirc that didn't apply back then.. anyway, that's included in 3.4.2.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://xenbits.xen.org/xen-3.4-testing.hg?rev/df79861db125&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xenbits.xen.org/xen-3.4-testing.hg?rev/df79861db125&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here's gitweb for the qemu tree:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://xenbits.xen.org/gitweb?p=qemu-xen-3.4-testing.git;a=shortlog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xenbits.xen.org/gitweb?p=qemu-xen-3.4-testing.git;a=shortlog&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;stdvga + videoram config option&amp;quot; is included:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://xenbits.xen.org/gitweb?p=qemu-xen-3.4-testing.git;a=commit;h=3b7d68179f60b98da12fb126e5378bd37bdc4744&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xenbits.xen.org/gitweb?p=qemu-xen-3.4-testing.git;a=commit;h=3b7d68179f60b98da12fb126e5378bd37bdc4744&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And also the qemu block layer memleak patches are also there.
&lt;br&gt;&amp;gt; Was there something else I sent?
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;pygrub timeout=0 fix and bzip2/lzma support are included.
&lt;br&gt;I guess that should be all? 
&lt;br&gt;&lt;br&gt;-- Pasi
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26768039&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fedora-xen-3.4.2-rpms-tp26422735p26768039.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26767933</id>
	<title>Re: Fedora xen-3.4.2 rpms</title>
	<published>2009-12-13T09:24:38Z</published>
	<updated>2009-12-13T09:24:38Z</updated>
	<author>
		<name>Pasi Kärkkäinen</name>
	</author>
	<content type="html">On Sun, Dec 13, 2009 at 07:17:05PM +0200, Pasi Kärkkäinen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Dec 10, 2009 at 02:40:25PM +0100, Gerd Hoffmann wrote:
&lt;br&gt;&amp;gt; &amp;gt; On 12/10/09 09:47, Pasi Kärkkäinen wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;On Thu, Nov 19, 2009 at 10:47:18AM +0200, Pasi Kärkkäinen wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt;Hello again,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt;Xen 3.4.2 was released last week with a lot of updates, so it would be
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt;good to sync the Fedora rpm again.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;Doesn't seem to require much changes to the .spec:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&lt;a href=&quot;http://bderzhavets.wordpress.com/2009/11/28/hot-hypervisor-upgrade-up-to-3-4-2-on-xen-3-4-1-libvirt-0-7-1-15-dom0-on-top-of-fedora-12/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bderzhavets.wordpress.com/2009/11/28/hot-hypervisor-upgrade-up-to-3-4-2-on-xen-3-4-1-libvirt-0-7-1-15-dom0-on-top-of-fedora-12/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Committed and building for rawhide, F12 will follow.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks. I rebuilt on my F12 box, and it seems to work OK.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; What is the status of the fixes you've mailed a while back and I've 
&lt;br&gt;&amp;gt; &amp;gt; never came around committing? &amp;nbsp;Are they in the 3.4.2 release and thus 
&lt;br&gt;&amp;gt; &amp;gt; obsolete now?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hmm.. what fixes exactly? do you mean the stubdom bridge parsing patch?
&lt;br&gt;&amp;gt; iirc that didn't apply back then.. anyway, that's included in 3.4.2.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://xenbits.xen.org/xen-3.4-testing.hg?rev/df79861db125&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xenbits.xen.org/xen-3.4-testing.hg?rev/df79861db125&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Here's gitweb for the qemu tree:
&lt;br&gt;&lt;a href=&quot;http://xenbits.xen.org/gitweb?p=qemu-xen-3.4-testing.git;a=shortlog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xenbits.xen.org/gitweb?p=qemu-xen-3.4-testing.git;a=shortlog&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;quot;stdvga + videoram config option&amp;quot; is included:
&lt;br&gt;&lt;a href=&quot;http://xenbits.xen.org/gitweb?p=qemu-xen-3.4-testing.git;a=commit;h=3b7d68179f60b98da12fb126e5378bd37bdc4744&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xenbits.xen.org/gitweb?p=qemu-xen-3.4-testing.git;a=commit;h=3b7d68179f60b98da12fb126e5378bd37bdc4744&lt;/a&gt;&lt;br&gt;&lt;br&gt;And also the qemu block layer memleak patches are also there.
&lt;br&gt;Was there something else I sent?
&lt;br&gt;&lt;br&gt;-- Pasi
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26767933&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fedora-xen-3.4.2-rpms-tp26422735p26767933.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26767870</id>
	<title>Re: Fedora xen-3.4.2 rpms</title>
	<published>2009-12-13T09:17:05Z</published>
	<updated>2009-12-13T09:17:05Z</updated>
	<author>
		<name>Pasi Kärkkäinen</name>
	</author>
	<content type="html">On Thu, Dec 10, 2009 at 02:40:25PM +0100, Gerd Hoffmann wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 12/10/09 09:47, Pasi Kärkkäinen wrote:
&lt;br&gt;&amp;gt; &amp;gt;On Thu, Nov 19, 2009 at 10:47:18AM +0200, Pasi Kärkkäinen wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;Hello again,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;Xen 3.4.2 was released last week with a lot of updates, so it would be
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;good to sync the Fedora rpm again.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;Doesn't seem to require much changes to the .spec:
&lt;br&gt;&amp;gt; &amp;gt;&lt;a href=&quot;http://bderzhavets.wordpress.com/2009/11/28/hot-hypervisor-upgrade-up-to-3-4-2-on-xen-3-4-1-libvirt-0-7-1-15-dom0-on-top-of-fedora-12/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bderzhavets.wordpress.com/2009/11/28/hot-hypervisor-upgrade-up-to-3-4-2-on-xen-3-4-1-libvirt-0-7-1-15-dom0-on-top-of-fedora-12/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Committed and building for rawhide, F12 will follow.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Thanks. I rebuilt on my F12 box, and it seems to work OK.
&lt;br&gt;&lt;br&gt;&amp;gt; What is the status of the fixes you've mailed a while back and I've 
&lt;br&gt;&amp;gt; never came around committing? &amp;nbsp;Are they in the 3.4.2 release and thus 
&lt;br&gt;&amp;gt; obsolete now?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Hmm.. what fixes exactly? do you mean the stubdom bridge parsing patch?
&lt;br&gt;iirc that didn't apply back then.. anyway, that's included in 3.4.2.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://xenbits.xen.org/xen-3.4-testing.hg?rev/df79861db125&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xenbits.xen.org/xen-3.4-testing.hg?rev/df79861db125&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- Pasi
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26767870&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fedora-xen-3.4.2-rpms-tp26422735p26767870.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26731594</id>
	<title>Re: Dom0 kernels</title>
	<published>2009-12-10T09:43:02Z</published>
	<updated>2009-12-10T09:43:02Z</updated>
	<author>
		<name>M A Young</name>
	</author>
	<content type="html">Here is another dom0 kernel (kernel-2.6.31.6-1.2.81.xendom0.fc12) at 
&lt;br&gt;&lt;a href=&quot;http://koji.fedoraproject.org/koji/taskinfo?taskID=1866048&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koji.fedoraproject.org/koji/taskinfo?taskID=1866048&lt;/a&gt;&amp;nbsp;and via the 
&lt;br&gt;repository &lt;a href=&quot;http://fedorapeople.org/~myoung/dom0/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fedorapeople.org/~myoung/dom0/&lt;/a&gt;&amp;nbsp;. Note for this one the 
&lt;br&gt;evtchn module has become xen-evtchn so any scripts that load modules might 
&lt;br&gt;need to be changed.
&lt;br&gt;&lt;br&gt;&amp;nbsp;	Michael Young
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26731594&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Dom0-kernels-tp22188260p26731594.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26727797</id>
	<title>Re: Fedora xen-3.4.2 rpms</title>
	<published>2009-12-10T06:06:14Z</published>
	<updated>2009-12-10T06:06:14Z</updated>
	<author>
		<name>dbaxps</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:times new roman,new york,times,serif;font-size:12pt&quot;&gt;I've met another problem . Upgrading libvirt via F13 rawhide, breaks virsh connection to&lt;br&gt;xen
been built via the most recent xen-3.4.1-5.fc12.src.rpm . Once ,&amp;nbsp; this
question was already posted by me to fedora-virt with no feedback.
Working libvirt version for Xen&lt;br&gt;seems to be 0.&lt;span style=&quot;border-bottom: 1px dashed rgb(0, 102, 204); cursor: pointer;&quot; class=&quot;yshortcuts&quot; id=&quot;lw_1260453802_0&quot;&gt;7.1-15&lt;/span&gt; as max.&lt;br&gt;&lt;br&gt;Boris.&lt;div style=&quot;font-family: times new roman,new york,times,serif; font-size: 12pt;&quot;&gt;&lt;br&gt;&lt;div style=&quot;font-family: arial,helvetica,sans-serif; font-size: 13px;&quot;&gt;&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;hr size=&quot;1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt; Gerd Hoffmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727797&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kraxel@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; Pasi Kärkkäinen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727797&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pasik@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Cc:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727797&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fedora-xen@...&lt;/a&gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Sent:&lt;/span&gt;&lt;/b&gt; Thu, December 10, 2009 4:40:25 PM&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; Re: [Fedora-xen] Fedora xen-3.4.2 rpms&lt;br&gt;&lt;/font&gt;&lt;br&gt;
On 12/10/09 09:47, Pasi Kärkkäinen wrote:&lt;br&gt;&amp;gt; On Thu, Nov 19, 2009 at 10:47:18AM +0200, Pasi Kärkkäinen wrote:&lt;br&gt;&amp;gt;&amp;gt; Hello again,&lt;br&gt;&amp;gt;&amp;gt;&lt;br&gt;&amp;gt;&amp;gt; Xen 3.4.2 was released last week with a lot of updates, so it would be&lt;br&gt;&amp;gt;&amp;gt; good to sync the Fedora rpm again.&lt;br&gt;&amp;gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Doesn't seem to require much changes to the .spec:&lt;br&gt;&lt;span&gt;&amp;gt; &lt;a target=&quot;_blank&quot; href=&quot;http://bderzhavets.wordpress.com/2009/11/28/hot-hypervisor-upgrade-up-to-3-4-2-on-xen-3-4-1-libvirt-0-7-1-15-dom0-on-top-of-fedora-12/&quot; rel=&quot;nofollow&quot;&gt;http://bderzhavets.wordpress.com/2009/11/28/hot-hypervisor-upgrade-up-to-3-4-2-on-xen-3-4-1-libvirt-0-7-1-15-dom0-on-top-of-fedora-12/&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&lt;br&gt;Committed and building for rawhide, F12 will follow.&lt;br&gt;&lt;br&gt;What is the status of the fixes you've mailed a while back and I've &lt;br&gt;never came around committing?&amp;nbsp; Are they in the 3.4.2 release and thus &lt;br&gt;obsolete now?&lt;br&gt;&lt;br&gt;cheers,&lt;br&gt;&amp;nbsp; 
 Gerd&lt;br&gt;&lt;br&gt;--&lt;br&gt;Fedora-xen mailing list&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727797&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;!-- cg2.c2.mail.ac4.yahoo.com compressed/chunked Thu Dec 10 05:01:21 PST 2009 --&gt;
&lt;/div&gt;&lt;br&gt;



      &lt;/body&gt;&lt;/html&gt;&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727797&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fedora-xen-3.4.2-rpms-tp26422735p26727797.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26727379</id>
	<title>Re: Fedora xen-3.4.2 rpms</title>
	<published>2009-12-10T05:40:25Z</published>
	<updated>2009-12-10T05:40:25Z</updated>
	<author>
		<name>Gerd Hoffmann-3</name>
	</author>
	<content type="html">On 12/10/09 09:47, Pasi Kärkkäinen wrote:
&lt;br&gt;&amp;gt; On Thu, Nov 19, 2009 at 10:47:18AM +0200, Pasi Kärkkäinen wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hello again,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Xen 3.4.2 was released last week with a lot of updates, so it would be
&lt;br&gt;&amp;gt;&amp;gt; good to sync the Fedora rpm again.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Doesn't seem to require much changes to the .spec:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://bderzhavets.wordpress.com/2009/11/28/hot-hypervisor-upgrade-up-to-3-4-2-on-xen-3-4-1-libvirt-0-7-1-15-dom0-on-top-of-fedora-12/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bderzhavets.wordpress.com/2009/11/28/hot-hypervisor-upgrade-up-to-3-4-2-on-xen-3-4-1-libvirt-0-7-1-15-dom0-on-top-of-fedora-12/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Committed and building for rawhide, F12 will follow.
&lt;br&gt;&lt;br&gt;What is the status of the fixes you've mailed a while back and I've 
&lt;br&gt;never came around committing? &amp;nbsp;Are they in the 3.4.2 release and thus 
&lt;br&gt;obsolete now?
&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;&amp;nbsp; &amp;nbsp;Gerd
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727379&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fedora-xen-3.4.2-rpms-tp26422735p26727379.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26723843</id>
	<title>Re: Fedora xen-3.4.2 rpms</title>
	<published>2009-12-10T00:47:55Z</published>
	<updated>2009-12-10T00:47:55Z</updated>
	<author>
		<name>Pasi Kärkkäinen</name>
	</author>
	<content type="html">On Thu, Nov 19, 2009 at 10:47:18AM +0200, Pasi Kärkkäinen wrote:
&lt;br&gt;&amp;gt; Hello again,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Xen 3.4.2 was released last week with a lot of updates, so it would be
&lt;br&gt;&amp;gt; good to sync the Fedora rpm again.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Doesn't seem to require much changes to the .spec:
&lt;br&gt;&lt;a href=&quot;http://bderzhavets.wordpress.com/2009/11/28/hot-hypervisor-upgrade-up-to-3-4-2-on-xen-3-4-1-libvirt-0-7-1-15-dom0-on-top-of-fedora-12/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bderzhavets.wordpress.com/2009/11/28/hot-hypervisor-upgrade-up-to-3-4-2-on-xen-3-4-1-libvirt-0-7-1-15-dom0-on-top-of-fedora-12/&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- Pasi
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26723843&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fedora-xen-3.4.2-rpms-tp26422735p26723843.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26449187</id>
	<title>Re: Dom0 kernels</title>
	<published>2009-11-20T11:41:43Z</published>
	<updated>2009-11-20T11:41:43Z</updated>
	<author>
		<name>Charles Gruener</name>
	</author>
	<content type="html">Any reason I'd suddenly be getting the following error on this kernel?
&lt;br&gt;&lt;br&gt;(XEN) *** LOADING DOMAIN 0 ***
&lt;br&gt;(XEN) elf_init: not an ELF binary
&lt;br&gt;(XEN)
&lt;br&gt;(XEN) ***************************************
&lt;br&gt;(XEN) Panic on CPU 0:
&lt;br&gt;(XEN) Could not set up DOM0 guest OS
&lt;br&gt;(XEN) ***************************************
&lt;br&gt;(XEN)
&lt;br&gt;(XEN) Reboot in five seconds...
&lt;br&gt;&lt;br&gt;The previous kernel, 2.6.31.4-1.2.73.xendom0.fc12.x86_64, works just fine. &amp;nbsp;I have the same boot parameters in my grub.conf for each kernel.
&lt;br&gt;&lt;br&gt;Charles
&lt;br&gt;&lt;br&gt;On Nov 17, 2009, at 6:42 PM, M A Young wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Here is another dom0 kernel (kernel-2.6.31.6-1.2.80.xendom0.fc12) at 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://koji.fedoraproject.org/koji/taskinfo?taskID=1805146&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koji.fedoraproject.org/koji/taskinfo?taskID=1805146&lt;/a&gt;&amp;nbsp;and via the
&lt;br&gt;&amp;gt;&amp;gt; repository &lt;a href=&quot;http://fedorapeople.org/~myoung/dom0/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fedorapeople.org/~myoung/dom0/&lt;/a&gt;&amp;nbsp;. Netchannel2 is 
&lt;br&gt;&amp;gt; now available (as a module), but not (yet) pcidev_frontend, which I had 
&lt;br&gt;&amp;gt; trouble with.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	Michael Young
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Fedora-xen mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26449187&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26449187&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Dom0-kernels-tp22188260p26449187.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26422735</id>
	<title>Fedora xen-3.4.2 rpms</title>
	<published>2009-11-19T00:47:18Z</published>
	<updated>2009-11-19T00:47:18Z</updated>
	<author>
		<name>Pasi Kärkkäinen</name>
	</author>
	<content type="html">Hello again,
&lt;br&gt;&lt;br&gt;Xen 3.4.2 was released last week with a lot of updates, so it would be
&lt;br&gt;good to sync the Fedora rpm again.
&lt;br&gt;&lt;br&gt;-- Pasi
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422735&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fedora-xen-3.4.2-rpms-tp26422735p26422735.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26399946</id>
	<title>Re: Dom0 kernels</title>
	<published>2009-11-17T15:42:19Z</published>
	<updated>2009-11-17T15:42:19Z</updated>
	<author>
		<name>M A Young</name>
	</author>
	<content type="html">Here is another dom0 kernel (kernel-2.6.31.6-1.2.80.xendom0.fc12) at 
&lt;br&gt;&lt;a href=&quot;http://koji.fedoraproject.org/koji/taskinfo?taskID=1805146&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koji.fedoraproject.org/koji/taskinfo?taskID=1805146&lt;/a&gt;&amp;nbsp;and via the
&lt;br&gt;&amp;gt; repository &lt;a href=&quot;http://fedorapeople.org/~myoung/dom0/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fedorapeople.org/~myoung/dom0/&lt;/a&gt;&amp;nbsp;. Netchannel2 is 
&lt;br&gt;now available (as a module), but not (yet) pcidev_frontend, which I had 
&lt;br&gt;trouble with.
&lt;br&gt;&lt;br&gt;&amp;nbsp;	Michael Young
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26399946&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Dom0-kernels-tp22188260p26399946.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26336436</id>
	<title>RE: Re: [Xen-users] How to Backup and Restore MBR within	Logical Volumes?</title>
	<published>2009-11-13T05:17:57Z</published>
	<updated>2009-11-13T05:17:57Z</updated>
	<author>
		<name>Dustin Henning</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; As you are running Windows, I will assume that you are using HVM,
&lt;br&gt;and therefore that /dev/virtualmachines/windows7-x64 is a hard disk image.
&lt;br&gt;As such, the command you listed will back up the MBR, including the
&lt;br&gt;partition table. &amp;nbsp;That isn't to say that Windows 7 doesn't have additional
&lt;br&gt;boot information outside of the MBR, but that information would be included
&lt;br&gt;in a file system backup. &amp;nbsp;Wikipedia has the structure of the MBR in a table
&lt;br&gt;at &lt;a href=&quot;http://en.wikipedia.org/wiki/Master_boot_record&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/Master_boot_record&lt;/a&gt;. &amp;nbsp;On that note, I often
&lt;br&gt;use bs=446 when I want the MBR without the partition table, but if you are
&lt;br&gt;backing up the partition as opposed to the file structure, then you might as
&lt;br&gt;well keep the partition table (or even just back up the image).
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dustin
&lt;br&gt;&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26336436&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fedora-xen-bounces@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26336436&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fedora-xen-bounces@...&lt;/a&gt;]
&lt;br&gt;On Behalf Of Mr. Teo En Ming (Zhang Enming)
&lt;br&gt;Sent: Thursday, November 12, 2009 04:45
&lt;br&gt;To: Geert Janssens
&lt;br&gt;Cc: Community assistance, encouragement, and advice for using Fedora.;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26336436&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xen-users@...&lt;/a&gt;; Fedora Xen
&lt;br&gt;Subject: [Fedora-xen] Re: [Xen-users] How to Backup and Restore MBR within
&lt;br&gt;Logical Volumes?
&lt;br&gt;&lt;br&gt;&amp;gt; dd if=/dev/virtualmachines/windows7-x64 of=mbr.w7-x64 bs=512 count=1
&lt;br&gt;&lt;br&gt;I think if you do this, you are only backing up the first 512 bytes of the
&lt;br&gt;logical volume, not the MBR.
&lt;br&gt;&lt;br&gt;Someone correct me if I am wrong.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
&lt;br&gt;Engineering)
&lt;br&gt;Alma Maters:
&lt;br&gt;(1) Singapore Polytechnic
&lt;br&gt;(2) National University of Singapore
&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26336436&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;
&lt;br&gt;Mobile Phone (Starhub Prepaid): +65-8369-2618
&lt;br&gt;Street: Bedok Reservoir Road
&lt;br&gt;Country: Singapore
&lt;br&gt;On Thu, Nov 12, 2009 at 9:36 AM, Geert Janssens &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26336436&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;info@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;On Thursday 12 November 2009, Mr. Teo En Ming (Zhang Enming) wrote:
&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have several Xen virtual machines within logical volumes using LVM2. I
&lt;br&gt;&amp;gt; did not use disk images for performance reasons.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Conventionally, if I want to clone my virtual machines, I have to dd the
&lt;br&gt;LV
&lt;br&gt;&amp;gt; to an image file. But this consumes a lot of time and harddisk space.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, instead of doing that, I want to use losetup and kpartx with my
&lt;br&gt;logical
&lt;br&gt;&amp;gt; volumes, which contain operating systems of virtual machines.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can backup the filesystems of a virtual machine in this way:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; # losetup /dev/loop1 /dev/virtualmachines/windows7-x64
&lt;br&gt;&amp;gt;
&lt;br&gt;Are you sure you need to call losetup first ?
&lt;br&gt;&lt;br&gt;I remember I used kpartx directly on the lvm containing my vbd.
&lt;br&gt;&lt;br&gt;Also, I think you can treat the lvm based vbd as a real disk.
&lt;br&gt;&lt;br&gt;So
&lt;br&gt;dd if=/dev/virtualmachines/windows7-x64 of=mbr.w7-x64 bs=512 count=1
&lt;br&gt;&lt;br&gt;should backup your mbr.
&lt;br&gt;&lt;br&gt;Anyone correct me if I'm wrong please.
&lt;br&gt;&lt;br&gt;Geert
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Kobalt W.I.T.
&lt;br&gt;Web &amp; Information Technology
&lt;br&gt;Brusselsesteenweg 152
&lt;br&gt;1850 Grimbergen
&lt;br&gt;&lt;br&gt;Tel  : +32 479 339 655
&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26336436&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;info@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Xen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26336436&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Xen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.xensource.com/xen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.xensource.com/xen-users&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26336436&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26336436.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26330648</id>
	<title>Re: [Xen-users] Re: How to Backup and Restore MBR within Logical Volumes?</title>
	<published>2009-11-12T19:17:00Z</published>
	<updated>2009-11-12T19:17:00Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 13, 2009 at 5:40 AM, Sergey Vlasov &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26330648&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vsu@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
On Fri, Nov 13, 2009 at 12:57:22AM +0800, Mr. Teo En Ming (Zhang Enming) wrote:&lt;br&gt;
[...]&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&amp;gt; # VM 11: Rocks 5.1 x86_64 HPC Compute Cluster HVM domU&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; kpartx -av /dev/virtualmachines/rocks0001&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; dd if=/dev/virtualmachines/rocks0001 of=$DEST/rocks0001.mbr bs=512 count=1&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0001p1&lt;br&gt;
&amp;gt; $DEST/virtualmachines-rocks0001p1.img&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0001p2&lt;br&gt;
&amp;gt; $DEST/virtualmachines-rocks0001p2.img&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0001p5&lt;br&gt;
&amp;gt; $DEST/virtualmachines-rocks0001p5.img&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Note that this VM (and some other VMs listed in your script) uses&lt;br&gt;
logical partitions.  In this case just saving a copy of MBR will not&lt;br&gt;
be enough to save partition layout - MBR describes only 4 primary&lt;br&gt;
partitions, and restoring just MBR will not restore extended&lt;br&gt;
partitions.&lt;br&gt;
&lt;br&gt;
One way to backup the complete partition layout is by saving also&lt;br&gt;
the output of &amp;quot;sfdisk -d $device&amp;quot;; the resulting file can be used as&lt;br&gt;
input to sfdisk to restore all partitions, including logical ones.&lt;br&gt;
Saving MBR is still needed together with sfdisk, because it saves&lt;br&gt;
the boot code (used for HVM) and CHS geometry information (which can&lt;br&gt;
be used during boot in some cases).&lt;br&gt;
&lt;br&gt;-----BEGIN PGP SIGNATURE-----&lt;br&gt;
Version: GnuPG v1.4.10 (GNU/Linux)&lt;br&gt;
&lt;br&gt;
iEYEARECAAYFAkr8gM8ACgkQW82GfkQfsqLa+QCaAqpO5NWhYHtKVi3M5ytERw27&lt;br&gt;
eC0AnjsJuG34MAR1jZRejBiJCVybQvc1&lt;br&gt;
=RRGH&lt;br&gt;
-----END PGP SIGNATURE-----&lt;br&gt;
&lt;br&gt;_______________________________________________&lt;br&gt;
Xen-users mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26330648&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Xen-users@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://lists.xensource.com/xen-users&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.xensource.com/xen-users&lt;/a&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you for pointing this out. Otherwise I would made incomplete backups.&lt;br&gt;&lt;br&gt;
Would it be best practice to always backup both the MBR and the partition geometry using sfdisk whenever cloning our harddisks on desktops and servers?&lt;br&gt;&lt;br&gt;Besides sfdisk, there are also other partitioning tools like fdisk, cfdisk, and parted.&lt;br&gt;
&lt;br&gt;Could these other tools also be used for backing up the partition geometry like sfdisk?&lt;br&gt;&lt;br&gt;Thank you.&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;
Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;
My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26330648&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;
Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26330648&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26330648.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26322304</id>
	<title>Re: [Xen-users] Re: How to Backup and Restore MBR within Logical Volumes?</title>
	<published>2009-11-12T08:57:22Z</published>
	<updated>2009-11-12T08:57:22Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 8:53 PM, Mr. Teo En Ming (Zhang Enming) &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322304&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 6:37 PM, Fajar A. Nugraha &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322304&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fajar@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
On Thu, Nov 12, 2009 at 5:10 PM, Mr. Teo En Ming (Zhang Enming)&lt;br&gt;
&lt;div&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322304&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;/div&gt;&lt;div&gt;&amp;gt; Hi,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I don&amp;#39;t think I will be using the LVM snapshot method. I will simply ensure&lt;br&gt;
&amp;gt; that my domU is not running,&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Ah, so you can live with the down time. It makes things a lot simpler then.&lt;br&gt;
&lt;div&gt;&lt;br&gt;
&amp;gt; then I proceed to do the losetup and kpartx&lt;br&gt;
&amp;gt; procedure.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Like others mentioned, you don&amp;#39;t need losetup for LVs. It will only&lt;br&gt;
make things slower.&lt;br&gt;
&lt;div&gt;&lt;br&gt;
&amp;gt; Subsequently I will backup the MBR of my domU by dd-ing&lt;br&gt;
&amp;gt; /dev/loopX and clone all the filesystems of the domU using fsarchiver.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I would like to use fsarchiver because it can support LZMA compression. LZMA&lt;br&gt;
&amp;gt; can compress better than bzip2 and decompress 3x faster than bzip2.&lt;br&gt;
&amp;gt; partimage only supports gzip and bzip2.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;If your concern is the size and speed of backup, here&amp;#39;s one final note&lt;br&gt;
from me: you might want to look at zfs. Possible use scenarios :&lt;br&gt;
- use opensolaris as dom0. Probably the most supported option when it&lt;br&gt;
comes to xen + zfs, but you need to be familiar with how opensolaris&lt;br&gt;
works.&lt;br&gt;
- use external storage server running solaris/opensolaris as iscsi&lt;br&gt;
SAN. Think of it as poor-man&amp;#39;s Netapp.&lt;br&gt;
- use zfs-fuse inside Linux dom0, and store domU storage as files&lt;br&gt;
- use zfs-fuse on domU, and do backup from domU instead of dom0.&lt;br&gt;
&lt;br&gt;
With zfs, you&amp;#39;d get zfs snapshot (which is like instaneous in-place&lt;br&gt;
backup), incremental block-level send (can greatly reduce backup&lt;br&gt;
storage size if your data doesn&amp;#39;t change often), optional transparent&lt;br&gt;
compression for live data (like what ntfs has).&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;Fajar&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;I am not familiar with OpenSolaris but that may change with time.&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;
Alma Maters:&lt;br&gt;
(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;

My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322304&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;
Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;
Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Hi,&lt;br&gt;&lt;br&gt;I have just finished writing my backup/cloning script. Could anyone help me verify whether my backup script will work?&lt;br&gt;&lt;br&gt;&amp;lt;SCRIPT&amp;gt;&lt;br&gt;&lt;br&gt;#!/bin/sh&lt;br&gt;&lt;br&gt;# Script to Backup/Clone Xen Host/Dom0 and all DomUs which are using Logical Volumes as Virtual Hard Disks&lt;br&gt;
&lt;br&gt;# Written by:&lt;br&gt; &lt;br&gt;# Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;# Alma Maters:&lt;br&gt;# (1) Singapore Polytechnic&lt;br&gt;# (2) National University of Singapore&lt;br&gt;# Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;
# Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;# Youtube Videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;# Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322304&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;
# MSN: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322304&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;teoenming@...&lt;/a&gt;&lt;br&gt;# Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;# Street: Bedok Reservoir Road&lt;br&gt;# Country: Singapore&lt;br&gt;&lt;br&gt;# First written: 13 November 2009 Friday 12:38 A.M. Singapore time&lt;br&gt;
# Last updated: 13 November 2009 Friday 12:38 A.M. Singapore time&lt;br&gt;&lt;br&gt;# REFERNCE: &amp;quot;Geek Sheet: Bare-metal backup and recovery&amp;quot;, May 7th, 2008, Jason Perlow&lt;br&gt;# URL: &lt;a href=&quot;http://blogs.zdnet.com/BTL/?p=8759&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blogs.zdnet.com/BTL/?p=8759&lt;/a&gt;&lt;br&gt;
&lt;br&gt;# Usage Instructions:&lt;br&gt;&lt;br&gt;# Boot up your computer/server with System Rescue CD version 1.3.2 for i386/amd64. &lt;br&gt;# Then execute this backup script. You need to adapt this script to work for your environment.&lt;br&gt;# Download System Rescue CD from &lt;a href=&quot;http://www.sysresccd.org/Main_Page&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sysresccd.org/Main_Page&lt;/a&gt;&lt;br&gt;
&lt;br&gt;###############################################################################################################&lt;br&gt;# Declare Variables&lt;br&gt;###############################################################################################################&lt;br&gt;
&lt;br&gt;HARDDISK=/dev/sda&lt;br&gt;DEST=/media/hitachi/test&lt;br&gt;&lt;br&gt;###############################################################################################################&lt;br&gt;# Cloning Xen Host/Dom0&lt;br&gt;###############################################################################################################&lt;br&gt;
&lt;br&gt;# Backup MBR&lt;br&gt;&lt;br&gt;dd if=$HARDDISK of=$DEST/f11-xen-dom0-sda.mbr bs=512 count=1&lt;br&gt;&lt;br&gt;# Activate all logical volumes in all volume groups&lt;br&gt;&lt;br&gt;vgchange -ay&lt;br&gt;&lt;br&gt;# Backup UUIDs of PVs&lt;br&gt;&lt;br&gt;pvdisplay &amp;gt; $DEST/f11-xen-dom0-pvdisplay.txt&lt;br&gt;
&lt;br&gt;# Backup LVM Metadata&lt;br&gt;&lt;br&gt;# Backup the configuration of dedicated volume group for dom0&lt;br&gt;&lt;br&gt;vgcfgbackup -d -v vg_fedora11_host -f $DEST/vg_fedora11_host.vgcfg.backup&lt;br&gt;&lt;br&gt;# Backup the configuration of dedicated volume group for domUs&lt;br&gt;
&lt;br&gt;vgcfgbackup -d -v virtualmachines -f $DEST/virtualmachines.vgcfg.backup&lt;br&gt;&lt;br&gt;# Backup /boot partition and all logical volumes of dedicated volume group for host/dom0&lt;br&gt;&lt;br&gt;fsarchiver savefs -v -z 9 -j 2 $DEST/f11-xen-dom0-filesystems.fsa /dev/sda1 /dev/vg_fedora11_host/lv_home \&lt;br&gt;
/dev/vg_fedora11_host/lv_root /dev/vg_fedora11_host/lv_var&lt;br&gt;&lt;br&gt;###############################################################################################################&lt;br&gt;# Cloning Xen-based Virtual Machines/DomUs/Guest Operating Systems/VMs&lt;br&gt;
###############################################################################################################&lt;br&gt;&lt;br&gt;# The following 8 virtual machines have physical volumes, so it is not possible to image using partimage or&lt;br&gt;
# fsarchiver directly. The only convenient way is to dd the logical volume for the VM, ie. sector by sector &lt;br&gt;# copy. Other methods would be very tedious.&lt;br&gt;&lt;br&gt;# VM 1: Fedora 11 x86_64 PV domU&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/f11-pv-hpc-node0001 | gzip --fast &amp;gt; $DEST/f11-pv-hpc-node0001.img&lt;br&gt;
&lt;br&gt;# VM 2: Fedora 11 x86_64 PV domU&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/f11-pv-hpc-node0002 | gzip --fast &amp;gt; $DEST/f11-pv-hpc-node0002.img&lt;br&gt;&lt;br&gt;# VM 3: Fedora 11 x86_64 PV domU&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/f11-pv-hpc-node0003 | gzip --fast &amp;gt; $DEST/f11-pv-hpc-node0003.img&lt;br&gt;
&lt;br&gt;# VM 4: Fedora 11 x86_64 PV domU&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/f11-pv-hpc-node0004 | gzip --fast &amp;gt; $DEST/f11-pv-hpc-node0004.img&lt;br&gt;&lt;br&gt;# VM 5: Fedora 11 x86_64 PV domU&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/f11-pv-hpc-node0005 | gzip --fast &amp;gt; $DEST/f11-pv-hpc-node0005.img&lt;br&gt;
&lt;br&gt;# VM 6: Fedora 11 x86_64 PV domU&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/f11-pv-hpc-node0006 | gzip --fast &amp;gt; $DEST/f11-pv-hpc-node0006.img&lt;br&gt;&lt;br&gt;# VM 7: Fedora 11 x86_64 PV domU&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/f11-pv-hpc-node0007 | gzip --fast &amp;gt; $DEST/f11-pv-hpc-node0007.img&lt;br&gt;
&lt;br&gt;# VM 8: Fedora 11 x86_64 PV domU&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/f11-pv-hpc-node0008 | gzip --fast &amp;gt; $DEST/f11-pv-hpc-node0008.img&lt;br&gt;&lt;br&gt;# VM 9: FreeBSD 8.0 RC2 UNIX amd64 HVM domU&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/freebsd | gzip --fast &amp;gt; $DEST/freebsd.img&lt;br&gt;
&lt;br&gt;# VM 10: OpenSolaris 2009.06 UNIX amd64 PV domU&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/opensolaris | gzip --fast &amp;gt; $DEST/opensolaris.img&lt;br&gt;&lt;br&gt;# VM 11: Rocks 5.1 x86_64 HPC Compute Cluster HVM domU&lt;br&gt;&lt;br&gt;kpartx -av /dev/virtualmachines/rocks0001&lt;br&gt;
&lt;br&gt;dd if=/dev/virtualmachines/rocks0001 of=$DEST/rocks0001.mbr bs=512 count=1&lt;br&gt;&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0001p1 $DEST/virtualmachines-rocks0001p1.img&lt;br&gt;&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0001p2 $DEST/virtualmachines-rocks0001p2.img&lt;br&gt;
&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0001p5 $DEST/virtualmachines-rocks0001p5.img&lt;br&gt;&lt;br&gt;kpartx -dv /dev/virtualmachines/rocks0001&lt;br&gt;&lt;br&gt;# VM 12: Rocks 5.1 x86_64 HPC Compute Cluster HVM domU&lt;br&gt;
&lt;br&gt;kpartx -av /dev/virtualmachines/rocks0002&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/rocks0002 of=$DEST/rocks0002.mbr bs=512 count=1&lt;br&gt;&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0002p1 $DEST/virtualmachines-rocks0002p1.img&lt;br&gt;
&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0002p2 $DEST/virtualmachines-rocks0002p2.img&lt;br&gt;&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0002p5 $DEST/virtualmachines-rocks0002p5.img&lt;br&gt;
&lt;br&gt;kpartx -dv /dev/virtualmachines/rocks0002&lt;br&gt;&lt;br&gt;# VM 13: Rocks 5.1 x86_64 HPC Compute Cluster HVM domU&lt;br&gt;&lt;br&gt;kpartx -av /dev/virtualmachines/rocks0003&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/rocks0003 of=$DEST/rocks0003.mbr bs=512 count=1&lt;br&gt;
&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0003p1 $DEST/virtualmachines-rocks0003p1.img&lt;br&gt;&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0003p2 $DEST/virtualmachines-rocks0003p2.img&lt;br&gt;
&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0003p5 $DEST/virtualmachines-rocks0003p5.img&lt;br&gt;&lt;br&gt;kpartx -dv /dev/virtualmachines/rocks0003&lt;br&gt;&lt;br&gt;# VM 14: Rocks 5.1 x86_64 HPC Compute Cluster HVM domU&lt;br&gt;
&lt;br&gt;kpartx -av /dev/virtualmachines/rocks0004&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/rocks0004 of=$DEST/rocks0004.mbr bs=512 count=1&lt;br&gt;&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0004p1 $DEST/virtualmachines-rocks0004p1.img&lt;br&gt;
&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0004p2 $DEST/virtualmachines-rocks0004p2.img&lt;br&gt;&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0004p5 $DEST/virtualmachines-rocks0004p5.img&lt;br&gt;
&lt;br&gt;kpartx -dv /dev/virtualmachines/rocks0004&lt;br&gt;&lt;br&gt;# VM 15: Rocks 5.1 x86_64 HPC Compute Cluster HVM domU&lt;br&gt;&lt;br&gt;kpartx -av /dev/virtualmachines/rocks0005&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/rocks0005 of=$DEST/rocks0005.mbr bs=512 count=1&lt;br&gt;
&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0005p1 $DEST/virtualmachines-rocks0005p1.img&lt;br&gt;&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0005p2 $DEST/virtualmachines-rocks0005p2.img&lt;br&gt;
&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-rocks0005p5 $DEST/virtualmachines-rocks0005p5.img&lt;br&gt;&lt;br&gt;kpartx -dv /dev/virtualmachines/rocks0005&lt;br&gt;&lt;br&gt;# VM 16: Slackware64 13.0 amd64 HVM domU&lt;br&gt;&lt;br&gt;kpartx -av /dev/virtualmachines/slackware64&lt;br&gt;
&lt;br&gt;dd if=/dev/virtualmachines/slackware64 of=$DEST/slackware64.mbr bs=512 count=1&lt;br&gt;&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-slackware64p1 $DEST/virtualmachines-slackware64p1.img&lt;br&gt;&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-slackware64p2 $DEST/virtualmachines-slackware64p2.img&lt;br&gt;
&lt;br&gt;kpartx -dv /dev/virtualmachines/slackware64&lt;br&gt;&lt;br&gt;# VM 17: Ubuntu 9.10 Karmic Koala Linux HVM domU&lt;br&gt;&lt;br&gt;kpartx -av /dev/virtualmachines/ubuntu910&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/ubuntu910 of=$DEST/ubuntu910.mbr bs=512 count=1&lt;br&gt;
&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-ubuntu910p1 $DEST/virtualmachines-ubuntu910p1.img&lt;br&gt;&lt;br&gt;kpartx -dv /dev/virtualmachines/ubuntu910&lt;br&gt;&lt;br&gt;# VM 18: Windows XP Home Edition SP3 32-bit HVM domU with VGA passthrough (requires Intel VT-d)&lt;br&gt;
&lt;br&gt;kpartx -av /dev/virtualmachines/winxphome32&lt;br&gt;&lt;br&gt;dd if=/dev/virtualmachines/winxphome32 of=$DEST/winxphome32.mbr bs=512 count=1&lt;br&gt;&lt;br&gt;partimage -d -M -b -z1 save /dev/mapper/virtualmachines-winxphome32p1 $DEST/virtualmachines-winxphome32p1.img&lt;br&gt;
&lt;br&gt;kpartx -dv /dev/virtualmachines/winxphome32&lt;br&gt;&lt;br&gt;# EOF&lt;br&gt;&lt;br&gt;&amp;lt;/SCRIPT&amp;gt;&lt;br&gt;&lt;br&gt;Thank you!&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;
(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;
My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322304&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;
Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322304&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26322304.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318149</id>
	<title>Re: [Xen-users] Re: How to Backup and Restore MBR within Logical Volumes?</title>
	<published>2009-11-12T04:53:52Z</published>
	<updated>2009-11-12T04:53:52Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 6:37 PM, Fajar A. Nugraha &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318149&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fajar@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
On Thu, Nov 12, 2009 at 5:10 PM, Mr. Teo En Ming (Zhang Enming)&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318149&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;/div&gt;&lt;div class=&quot;im&quot;&gt;&amp;gt; Hi,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I don&amp;#39;t think I will be using the LVM snapshot method. I will simply ensure&lt;br&gt;
&amp;gt; that my domU is not running,&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Ah, so you can live with the down time. It makes things a lot simpler then.&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&amp;gt; then I proceed to do the losetup and kpartx&lt;br&gt;
&amp;gt; procedure.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Like others mentioned, you don&amp;#39;t need losetup for LVs. It will only&lt;br&gt;
make things slower.&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&amp;gt; Subsequently I will backup the MBR of my domU by dd-ing&lt;br&gt;
&amp;gt; /dev/loopX and clone all the filesystems of the domU using fsarchiver.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I would like to use fsarchiver because it can support LZMA compression. LZMA&lt;br&gt;
&amp;gt; can compress better than bzip2 and decompress 3x faster than bzip2.&lt;br&gt;
&amp;gt; partimage only supports gzip and bzip2.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;If your concern is the size and speed of backup, here&amp;#39;s one final note&lt;br&gt;
from me: you might want to look at zfs. Possible use scenarios :&lt;br&gt;
- use opensolaris as dom0. Probably the most supported option when it&lt;br&gt;
comes to xen + zfs, but you need to be familiar with how opensolaris&lt;br&gt;
works.&lt;br&gt;
- use external storage server running solaris/opensolaris as iscsi&lt;br&gt;
SAN. Think of it as poor-man&amp;#39;s Netapp.&lt;br&gt;
- use zfs-fuse inside Linux dom0, and store domU storage as files&lt;br&gt;
- use zfs-fuse on domU, and do backup from domU instead of dom0.&lt;br&gt;
&lt;br&gt;
With zfs, you&amp;#39;d get zfs snapshot (which is like instaneous in-place&lt;br&gt;
backup), incremental block-level send (can greatly reduce backup&lt;br&gt;
storage size if your data doesn&amp;#39;t change often), optional transparent&lt;br&gt;
compression for live data (like what ntfs has).&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;Fajar&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;I am not familiar with OpenSolaris but that may change with time.&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;Alma Maters:&lt;br&gt;
(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;
My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318149&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;
Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318149&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26318149.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318098</id>
	<title>Re: [Xen-users] How to Backup and Restore MBR within Logical Volumes?</title>
	<published>2009-11-12T04:50:01Z</published>
	<updated>2009-11-12T04:50:01Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 6:18 PM, Geert Janssens &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318098&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;info@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;On Thursday 12 November 2009, you wrote:&lt;br&gt;
&amp;gt; &amp;gt; dd if=/dev/virtualmachines/windows7-x64 of=mbr.w7-x64 bs=512 count=1&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I think if you do this, you are only backing up the first 512 bytes of the&lt;br&gt;
&amp;gt; logical volume, not the MBR.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Someone correct me if I am wrong.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;I did some tests just to be sure. As far as I can tell, dd interacts with lvm&lt;br&gt;
in exactly the same way as with a physical disk or a loop device.&lt;br&gt;
&lt;br&gt;
In the test I copied the first sector directly from the lvm partition or via&lt;br&gt;
the loop device. It results in exactly the same sector being copied.&lt;br&gt;
&lt;br&gt;
Also, if you try fdisk -l on the lvm disk or the loop device, it results in&lt;br&gt;
the same output.&lt;br&gt;
&lt;br&gt;
Below is the output from my tests:&lt;br&gt;
&lt;br&gt;
[root@aragorn:~]# losetup /dev/loop1 /dev/base/kobaltwit_f11_disk&lt;br&gt;
&lt;br&gt;
[root@aragorn:~]# fdisk -l /dev/base/kobaltwit_f11_disk&lt;br&gt;
&lt;br&gt;
Disk /dev/base/kobaltwit_f11_disk: 10.7 GB, 10737418240 bytes&lt;br&gt;
255 heads, 63 sectors/track, 1305 cylinders&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;div class=&quot;im&quot;&gt;                       Device Boot      Start         End      Blocks   Id&lt;br&gt;
System&lt;br&gt;
&lt;/div&gt;/dev/base/kobaltwit_f11_disk1   *           1        1305    10482381   83&lt;br&gt;
Linux&lt;br&gt;
[root@aragorn:~]# fdisk -l /dev/base/kobaltwit_f11_disk&lt;br&gt;
&lt;br&gt;
Disk /dev/base/kobaltwit_f11_disk: 10.7 GB, 10737418240 bytes&lt;br&gt;
255 heads, 63 sectors/track, 1305 cylinders&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;div class=&quot;im&quot;&gt;                       Device Boot      Start         End      Blocks   Id&lt;br&gt;
System&lt;br&gt;
&lt;/div&gt;/dev/base/kobaltwit_f11_disk1   *           1        1305    10482381   83&lt;br&gt;
Linux&lt;br&gt;
&lt;br&gt;
[root@aragorn:~]# dd if=/dev/base/kobaltwit_f11_disk of=mbr.lvm bs=512 count=1&lt;br&gt;
1+0 records in&lt;br&gt;
1+0 records out&lt;br&gt;
512 bytes (512 B) copied, 7.6e-05 seconds, 6.7 MB/s&lt;br&gt;
&lt;br&gt;
[root@aragorn:~]# dd if=/dev/loop1 of=mbr.loop bs=512 count=1&lt;br&gt;
1+0 records in&lt;br&gt;
1+0 records out&lt;br&gt;
512 bytes (512 B) copied, 0.000151 seconds, 3.4 MB/s&lt;br&gt;
&lt;br&gt;
[root@aragorn:~]# diff mbr.l*&lt;br&gt;
[root@aragorn:~]#&lt;br&gt;
&lt;br&gt;
These test seem to indicate to me that the lvm layer in completely transparent&lt;br&gt;
to userland tools such as fdisk or dd.&lt;br&gt;
&lt;br&gt;
So I still think the losetup step is superfluous and possibly causing&lt;br&gt;
unnecessary overhead.&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
Geert&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
Kobalt W.I.T.&lt;br&gt;
Web &amp;amp; Information Technology&lt;br&gt;
Brusselsesteenweg 152&lt;br&gt;
1850 Grimbergen&lt;br&gt;
&lt;br&gt;
Tel  : +32 479 339 655&lt;br&gt;
Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318098&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;info@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Thank you!&lt;br&gt;&lt;br&gt;I will omit the losetup step.&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;
(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;
My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318098&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;
Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318098&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26318098.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26317880</id>
	<title>Re: How to Backup and Restore MBR within Logical Volumes?</title>
	<published>2009-11-12T04:34:21Z</published>
	<updated>2009-11-12T04:34:21Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 12:32 PM, Mr. Teo En Ming (Zhang Enming) &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317880&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 10:55 AM, Mr. Teo En Ming (Zhang Enming) &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317880&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 10:45 AM, Bryn M. Reeves &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317880&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bmr@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;On Thu, 2009-11-12 at 09:23 +0000, Mr. Teo En Ming (Zhang Enming) wrote:&lt;br&gt;
&amp;gt; Hi All,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have several Xen virtual machines within logical volumes using LVM2.&lt;br&gt;
&amp;gt; I did not use disk images for performance reasons.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Conventionally, if I want to clone my virtual machines, I have to dd&lt;br&gt;
&amp;gt; the LV to an image file. But this consumes a lot of time and harddisk&lt;br&gt;
&amp;gt; space.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; So, instead of doing that, I want to use losetup and kpartx with my&lt;br&gt;
&amp;gt; logical volumes, which contain operating systems of virtual machines.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I can backup the filesystems of a virtual machine in this way:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; # losetup /dev/loop1 /dev/virtualmachines/windows7-x64&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;What&amp;#39;s the point of adding a loopback device on top of the LV? Running&lt;br&gt;
kpartx on the LV itself will work just fine and this just adds an&lt;br&gt;
unnecessary layer of overhead and complexity unless I am missing&lt;br&gt;
something.&lt;br&gt;
&lt;div&gt;&lt;br&gt;
&amp;gt; dd if=/dev/hda of=mbr.hda bs=512 count=1&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Because /dev/hda resides in a logical volume. The logical volume is a&lt;br&gt;
&amp;gt; virtual harddisk for my virtual machine.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Assuming that the LV given above is a whole-disk image containing a DOS&lt;br&gt;
MBR partition table:&lt;br&gt;
&lt;br&gt;
dd if=/dev/virtualmachines/windows7-x64 of=/tmp.mbr.img bs=512 count=1&lt;br&gt;
&lt;br&gt;
You could also do the same with the loopN device that you set up&lt;br&gt;
earlier, although I still don&amp;#39;t see the need for that step.&lt;br&gt;
&lt;div&gt;&lt;br&gt;
&amp;gt; 1) re-create the physical volume (PV)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 2) re-create the volume group&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 3) assign the PV to the volume group&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 4) restore the LVM metadata, i.e. the configuration files for all the&lt;br&gt;
&amp;gt; logical volumes&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 5) restore the MBR of my domU&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 6) restore the filesystems of my domU&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Should work fine, just be sure to test each step so that you are&lt;br&gt;
confident and comfortable with it before you find yourself needing to do&lt;br&gt;
this in anger.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
Bryn.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;fedora-list mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317880&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fedora-list@...&lt;/a&gt;&lt;br&gt;
To unsubscribe: &lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-list&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-list&lt;/a&gt;&lt;br&gt;
Guidelines: &lt;a href=&quot;http://fedoraproject.org/wiki/Communicate/MailingListGuidelines&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://fedoraproject.org/wiki/Communicate/MailingListGuidelines&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;Hi Bryn,&lt;br&gt;&lt;br&gt;I have just tried an experiment without the losetup step. I have verified that it works using kpartx only.&lt;br&gt;&lt;br&gt;root@sysresccd /root % kpartx -av /dev/virtualmachines/winxphome32 &lt;br&gt;


add map virtualmachines-winxphome32p1 (253:22): 0 104840127 linear /dev/virtualmachines/winxphome32 63&lt;br&gt;root@sysresccd /root % cd /dev/mapper &lt;br&gt;root@sysresccd /dev/mapper % ls *winxphome32*&lt;br&gt;virtualmachines-winxphome32  virtualmachines-winxphome32p1&lt;br&gt;


root@sysresccd /dev/mapper % ls -al *winxphome32*&lt;br&gt;brw-rw---- 1 root disk 253,  0 2009-11-12 15:49 virtualmachines-winxphome32&lt;br&gt;brw-rw---- 1 root disk 253, 22 2009-11-12 18:47 virtualmachines-winxphome32p1&lt;br&gt;root@sysresccd /dev/mapper % ls -al *winxphome32*&lt;br&gt;


brw-rw---- 1 root disk 253,  0 2009-11-12 15:49 virtualmachines-winxphome32&lt;br&gt;brw-rw---- 1 root disk 253, 22 2009-11-12 18:47 virtualmachines-winxphome32p1&lt;br&gt;root@sysresccd /dev/mapper % fdisk -l virtualmachines-winxphome32&lt;br&gt;


&lt;br&gt;Disk virtualmachines-winxphome32: 53.7 GB, 53687091200 bytes&lt;br&gt;255 heads, 63 sectors/track, 6527 cylinders&lt;div&gt;&lt;br&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br&gt;&lt;/div&gt;Disk identifier: 0x2b362b35&lt;div&gt;
&lt;br&gt;&lt;br&gt;                       Device Boot      Start         End      Blocks   Id  System&lt;br&gt;&lt;/div&gt;
virtualmachines-winxphome32p1   *           1        6526    52420063+   7  HPFS/NTFS&lt;br&gt;&lt;br&gt;Without the losetup and the corresponding overhead, it will speed up cloning of my virtual machines within LVs.&lt;div&gt;&lt;div&gt;&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;
&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;


My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;

Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317880&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;
Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;Hi All,&lt;br&gt;&lt;br&gt;I have performed a backup of my F11 Dom0&amp;#39;s PV (60 GB) of 3 logical volumes using fsarchiver with the maximum possible LZMA compression. The operation took 4 hours with 2 compression threads. The resulting backup archive size is 8.1 GB for a PV of 60 GB.&lt;br&gt;

&lt;br&gt;My hardware specs:&lt;br&gt;&lt;br&gt;Intel Pentium Dual Core E6300 2.8 GHz&lt;br&gt;Intel Desktop Board DQ45CB&lt;br&gt;6 GB DDR2-800 memory&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;

Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;
My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;
My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317880&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;
Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;
Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;The fsarchiver command I have used is:&lt;br&gt;&lt;br&gt;fsarchiver savefs -v -z 9 -j 2 /mnt/hitachi/test/test.fsa /dev/vg_fedora11_host/lv_home /dev/vg_fedora11_host/lv_root /dev/vg_fedora11_host/lv_var&lt;br clear=&quot;all&quot;&gt;
&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;
My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317880&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;
Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317880&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26317880.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26317850</id>
	<title>Re: How to Backup and Restore MBR within Logical Volumes?</title>
	<published>2009-11-12T04:32:22Z</published>
	<updated>2009-11-12T04:32:22Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 10:55 AM, Mr. Teo En Ming (Zhang Enming) &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317850&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 10:45 AM, Bryn M. Reeves &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317850&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bmr@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;On Thu, 2009-11-12 at 09:23 +0000, Mr. Teo En Ming (Zhang Enming) wrote:&lt;br&gt;
&amp;gt; Hi All,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have several Xen virtual machines within logical volumes using LVM2.&lt;br&gt;
&amp;gt; I did not use disk images for performance reasons.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Conventionally, if I want to clone my virtual machines, I have to dd&lt;br&gt;
&amp;gt; the LV to an image file. But this consumes a lot of time and harddisk&lt;br&gt;
&amp;gt; space.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; So, instead of doing that, I want to use losetup and kpartx with my&lt;br&gt;
&amp;gt; logical volumes, which contain operating systems of virtual machines.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I can backup the filesystems of a virtual machine in this way:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; # losetup /dev/loop1 /dev/virtualmachines/windows7-x64&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;What&amp;#39;s the point of adding a loopback device on top of the LV? Running&lt;br&gt;
kpartx on the LV itself will work just fine and this just adds an&lt;br&gt;
unnecessary layer of overhead and complexity unless I am missing&lt;br&gt;
something.&lt;br&gt;
&lt;div&gt;&lt;br&gt;
&amp;gt; dd if=/dev/hda of=mbr.hda bs=512 count=1&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Because /dev/hda resides in a logical volume. The logical volume is a&lt;br&gt;
&amp;gt; virtual harddisk for my virtual machine.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Assuming that the LV given above is a whole-disk image containing a DOS&lt;br&gt;
MBR partition table:&lt;br&gt;
&lt;br&gt;
dd if=/dev/virtualmachines/windows7-x64 of=/tmp.mbr.img bs=512 count=1&lt;br&gt;
&lt;br&gt;
You could also do the same with the loopN device that you set up&lt;br&gt;
earlier, although I still don&amp;#39;t see the need for that step.&lt;br&gt;
&lt;div&gt;&lt;br&gt;
&amp;gt; 1) re-create the physical volume (PV)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 2) re-create the volume group&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 3) assign the PV to the volume group&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 4) restore the LVM metadata, i.e. the configuration files for all the&lt;br&gt;
&amp;gt; logical volumes&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 5) restore the MBR of my domU&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 6) restore the filesystems of my domU&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Should work fine, just be sure to test each step so that you are&lt;br&gt;
confident and comfortable with it before you find yourself needing to do&lt;br&gt;
this in anger.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
Bryn.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;fedora-list mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317850&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fedora-list@...&lt;/a&gt;&lt;br&gt;
To unsubscribe: &lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-list&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-list&lt;/a&gt;&lt;br&gt;
Guidelines: &lt;a href=&quot;http://fedoraproject.org/wiki/Communicate/MailingListGuidelines&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://fedoraproject.org/wiki/Communicate/MailingListGuidelines&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;Hi Bryn,&lt;br&gt;&lt;br&gt;I have just tried an experiment without the losetup step. I have verified that it works using kpartx only.&lt;br&gt;&lt;br&gt;root@sysresccd /root % kpartx -av /dev/virtualmachines/winxphome32 &lt;br&gt;

add map virtualmachines-winxphome32p1 (253:22): 0 104840127 linear /dev/virtualmachines/winxphome32 63&lt;br&gt;root@sysresccd /root % cd /dev/mapper &lt;br&gt;root@sysresccd /dev/mapper % ls *winxphome32*&lt;br&gt;virtualmachines-winxphome32  virtualmachines-winxphome32p1&lt;br&gt;

root@sysresccd /dev/mapper % ls -al *winxphome32*&lt;br&gt;brw-rw---- 1 root disk 253,  0 2009-11-12 15:49 virtualmachines-winxphome32&lt;br&gt;brw-rw---- 1 root disk 253, 22 2009-11-12 18:47 virtualmachines-winxphome32p1&lt;br&gt;root@sysresccd /dev/mapper % ls -al *winxphome32*&lt;br&gt;

brw-rw---- 1 root disk 253,  0 2009-11-12 15:49 virtualmachines-winxphome32&lt;br&gt;brw-rw---- 1 root disk 253, 22 2009-11-12 18:47 virtualmachines-winxphome32p1&lt;br&gt;root@sysresccd /dev/mapper % fdisk -l virtualmachines-winxphome32&lt;br&gt;

&lt;br&gt;Disk virtualmachines-winxphome32: 53.7 GB, 53687091200 bytes&lt;br&gt;255 heads, 63 sectors/track, 6527 cylinders&lt;div class=&quot;im&quot;&gt;&lt;br&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br&gt;&lt;/div&gt;Disk identifier: 0x2b362b35&lt;div class=&quot;im&quot;&gt;
&lt;br&gt;&lt;br&gt;                       Device Boot      Start         End      Blocks   Id  System&lt;br&gt;&lt;/div&gt;
virtualmachines-winxphome32p1   *           1        6526    52420063+   7  HPFS/NTFS&lt;br&gt;&lt;br&gt;Without the losetup and the corresponding overhead, it will speed up cloning of my virtual machines within LVs.&lt;div&gt;&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;
&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;

My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;
Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317850&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;
Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Hi All,&lt;br&gt;&lt;br&gt;I have performed a backup of my F11 Dom0&amp;#39;s PV (60 GB) of 3 logical volumes using fsarchiver with the maximum possible LZMA compression. The operation took 4 hours with 2 compression threads. The resulting backup archive size is 8.1 GB for a PV of 60 GB.&lt;br&gt;
&lt;br&gt;My hardware specs:&lt;br&gt;&lt;br&gt;Intel Pentium Dual Core E6300 2.8 GHz&lt;br&gt;Intel Desktop Board DQ45CB&lt;br&gt;6 GB DDR2-800 memory&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;
Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;
My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317850&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;
Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317850&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26317850.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26316718</id>
	<title>Re: How to Backup and Restore MBR within Logical Volumes?</title>
	<published>2009-11-12T02:55:12Z</published>
	<updated>2009-11-12T02:55:12Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 10:45 AM, Bryn M. Reeves &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316718&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bmr@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;On Thu, 2009-11-12 at 09:23 +0000, Mr. Teo En Ming (Zhang Enming) wrote:&lt;br&gt;
&amp;gt; Hi All,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have several Xen virtual machines within logical volumes using LVM2.&lt;br&gt;
&amp;gt; I did not use disk images for performance reasons.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Conventionally, if I want to clone my virtual machines, I have to dd&lt;br&gt;
&amp;gt; the LV to an image file. But this consumes a lot of time and harddisk&lt;br&gt;
&amp;gt; space.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; So, instead of doing that, I want to use losetup and kpartx with my&lt;br&gt;
&amp;gt; logical volumes, which contain operating systems of virtual machines.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I can backup the filesystems of a virtual machine in this way:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; # losetup /dev/loop1 /dev/virtualmachines/windows7-x64&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;What&amp;#39;s the point of adding a loopback device on top of the LV? Running&lt;br&gt;
kpartx on the LV itself will work just fine and this just adds an&lt;br&gt;
unnecessary layer of overhead and complexity unless I am missing&lt;br&gt;
something.&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&amp;gt; dd if=/dev/hda of=mbr.hda bs=512 count=1&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Because /dev/hda resides in a logical volume. The logical volume is a&lt;br&gt;
&amp;gt; virtual harddisk for my virtual machine.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Assuming that the LV given above is a whole-disk image containing a DOS&lt;br&gt;
MBR partition table:&lt;br&gt;
&lt;br&gt;
dd if=/dev/virtualmachines/windows7-x64 of=/tmp.mbr.img bs=512 count=1&lt;br&gt;
&lt;br&gt;
You could also do the same with the loopN device that you set up&lt;br&gt;
earlier, although I still don&amp;#39;t see the need for that step.&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&amp;gt; 1) re-create the physical volume (PV)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 2) re-create the volume group&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 3) assign the PV to the volume group&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 4) restore the LVM metadata, i.e. the configuration files for all the&lt;br&gt;
&amp;gt; logical volumes&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 5) restore the MBR of my domU&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 6) restore the filesystems of my domU&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Should work fine, just be sure to test each step so that you are&lt;br&gt;
confident and comfortable with it before you find yourself needing to do&lt;br&gt;
this in anger.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
Bryn.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;fedora-list mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316718&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fedora-list@...&lt;/a&gt;&lt;br&gt;
To unsubscribe: &lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-list&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-list&lt;/a&gt;&lt;br&gt;
Guidelines: &lt;a href=&quot;http://fedoraproject.org/wiki/Communicate/MailingListGuidelines&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://fedoraproject.org/wiki/Communicate/MailingListGuidelines&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Hi Bryn,&lt;br&gt;&lt;br&gt;I have just tried an experiment without the losetup step. I have verified that it works using kpartx only.&lt;br&gt;&lt;br&gt;root@sysresccd /root % kpartx -av /dev/virtualmachines/winxphome32 &lt;br&gt;
add map virtualmachines-winxphome32p1 (253:22): 0 104840127 linear /dev/virtualmachines/winxphome32 63&lt;br&gt;root@sysresccd /root % cd /dev/mapper &lt;br&gt;root@sysresccd /dev/mapper % ls *winxphome32*&lt;br&gt;virtualmachines-winxphome32  virtualmachines-winxphome32p1&lt;br&gt;
root@sysresccd /dev/mapper % ls -al *winxphome32*&lt;br&gt;brw-rw---- 1 root disk 253,  0 2009-11-12 15:49 virtualmachines-winxphome32&lt;br&gt;brw-rw---- 1 root disk 253, 22 2009-11-12 18:47 virtualmachines-winxphome32p1&lt;br&gt;root@sysresccd /dev/mapper % ls -al *winxphome32*&lt;br&gt;
brw-rw---- 1 root disk 253,  0 2009-11-12 15:49 virtualmachines-winxphome32&lt;br&gt;brw-rw---- 1 root disk 253, 22 2009-11-12 18:47 virtualmachines-winxphome32p1&lt;br&gt;root@sysresccd /dev/mapper % fdisk -l virtualmachines-winxphome32&lt;br&gt;
&lt;br&gt;Disk virtualmachines-winxphome32: 53.7 GB, 53687091200 bytes&lt;br&gt;255 heads, 63 sectors/track, 6527 cylinders&lt;br&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br&gt;Disk identifier: 0x2b362b35&lt;br&gt;&lt;br&gt;                       Device Boot      Start         End      Blocks   Id  System&lt;br&gt;
virtualmachines-winxphome32p1   *           1        6526    52420063+   7  HPFS/NTFS&lt;br&gt;&lt;br&gt;Without the losetup and the corresponding overhead, it will speed up cloning of my virtual machines within LVs.&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;
&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;
My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316718&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;
Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316718&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26316718.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26316264</id>
	<title>Re: How to Backup and Restore MBR within Logical  Volumes?</title>
	<published>2009-11-12T02:14:39Z</published>
	<updated>2009-11-12T02:14:39Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/12 Veli-Pekka Kestilä &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316264&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fedora@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;Mr. Teo En Ming (Zhang Enming) wrote:&lt;br&gt;
&lt;/div&gt;&lt;div class=&quot;im&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Thank you for your advice!&lt;br&gt;
&lt;br&gt;
Is it called LVM snapshot?&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;
Yes. That&amp;#39;s what it&amp;#39;s called for.&lt;br&gt;
&lt;br&gt;
-vpk&lt;br&gt;
&lt;br&gt;
PS. And please don&amp;#39;t top post. It breaks the &amp;#39;flow&amp;#39; of the post and makes it hard to read from the archives. Plus is against the list rules in some of the lists you are cross posting this (which is also bad). It would have been better to ask the question separatedly on different lists instead.&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div class=&quot;im&quot;&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
    Problem is that everything else than using dd can have it fair&lt;br&gt;
    share of problems. If the domU can&amp;#39;t be offline too long, you&lt;br&gt;
    could allocate more space and use the lvm:s instant cloning&lt;br&gt;
    features (can&amp;#39;t remember the name just now. ) and then use dd with&lt;br&gt;
    gzip or bzip to make the backup from this clone to keep the space&lt;br&gt;
    requirements minimum for the stored copies. And have minimum&lt;br&gt;
    disruption for the DomU.&lt;br&gt;
&lt;br&gt;
    -vpk&lt;br&gt;
&lt;br&gt;
    --&lt;br&gt;
    Fedora-xen mailing list&lt;br&gt;&lt;/div&gt;
    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316264&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316264&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;&amp;gt;&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
    &lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;
&lt;br&gt;
--&lt;br&gt;
Fedora-xen mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316264&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;Thank you vpk.&lt;br&gt;&lt;br&gt;I will keep that in mind when I have a new question to ask.&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;
Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;
My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316264&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;
Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316264&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26316264.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26316219</id>
	<title>Re: [Xen-users] Re: How to Backup and Restore MBR within Logical Volumes?</title>
	<published>2009-11-12T02:10:18Z</published>
	<updated>2009-11-12T02:10:18Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">Hi,&lt;br&gt;&lt;br&gt;I don&amp;#39;t think I will be using the LVM snapshot method. I will simply ensure that my domU is not running, then I proceed to do the losetup and kpartx procedure. Subsequently I will backup the MBR of my domU by dd-ing /dev/loopX and clone all the filesystems of the domU using fsarchiver.&lt;br&gt;
&lt;br&gt;I would like to use fsarchiver because it can support LZMA compression. LZMA can compress better than bzip2 and decompress 3x faster than bzip2. partimage only supports gzip and bzip2.&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;
Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;
My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316219&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;
Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 10:02 AM, Fajar A. Nugraha &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316219&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fajar@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div class=&quot;im&quot;&gt;On Thu, Nov 12, 2009 at 4:52 PM, Mr. Teo En Ming (Zhang Enming)&lt;br&gt;
&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316219&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt; Now I can proceed with writing the&lt;br&gt;
&amp;gt; backup and restore script for my Fedora 11 Dom0 (all partitions using LVM2&lt;br&gt;
&amp;gt; logical volumes) and all of my Xen virtual machines (contained in logical&lt;br&gt;
&amp;gt; volumes).&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;A reminder though: don&amp;#39;t forget to create a &amp;quot;consistent&amp;quot;, unchanging&lt;br&gt;
version of domU storage before doing backup. Either by shutting down&lt;br&gt;
domU, or by creating LVM snapshot first.&lt;br&gt;
&lt;br&gt;
Also, if it comes to Windows domUs, I find ntfsclone is better than&lt;br&gt;
fsarchiver. One of the reasons is that fsarchiver can not create&lt;br&gt;
compressed files during restore.&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;Fajar&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316219&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26316219.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26316186</id>
	<title>Re: How to Backup and Restore MBR within Logical Volumes?</title>
	<published>2009-11-12T02:07:10Z</published>
	<updated>2009-11-12T02:07:10Z</updated>
	<author>
		<name>Veli-Pekka Kestilä</name>
	</author>
	<content type="html">Mr. Teo En Ming (Zhang Enming) wrote:
&lt;br&gt;&amp;gt; Thank you for your advice!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is it called LVM snapshot?
&lt;br&gt;Yes. That's what it's called for.
&lt;br&gt;&lt;br&gt;-vpk
&lt;br&gt;&lt;br&gt;PS. And please don't top post. It breaks the 'flow' of the post and 
&lt;br&gt;makes it hard to read from the archives. Plus is against the list rules 
&lt;br&gt;in some of the lists you are cross posting this (which is also bad). It 
&lt;br&gt;would have been better to ask the question separatedly on different 
&lt;br&gt;lists instead.
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Problem is that everything else than using dd can have it fair
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; share of problems. If the domU can't be offline too long, you
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; could allocate more space and use the lvm:s instant cloning
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; features (can't remember the name just now. ) and then use dd with
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; gzip or bzip to make the backup from this clone to keep the space
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; requirements minimum for the stored copies. And have minimum
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; disruption for the DomU.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -vpk
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; --
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Fedora-xen mailing list
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316186&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316186&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316186&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26316186.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26316107</id>
	<title>Re: How to Backup and Restore MBR within Logical  Volumes?</title>
	<published>2009-11-12T02:01:12Z</published>
	<updated>2009-11-12T02:01:12Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">Thank you for your advice!&lt;br&gt;&lt;br&gt;Is it called LVM snapshot?&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;
My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;
My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316107&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;
Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/12 Veli-Pekka Kestilä &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316107&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fedora@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;Mr. Teo En Ming (Zhang Enming) wrote:&lt;br&gt;
&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div class=&quot;im&quot;&gt;
Hi All,&lt;br&gt;
&lt;br&gt;
I have several Xen virtual machines within logical volumes using LVM2. I did not use disk images for performance reasons.&lt;br&gt;
&lt;br&gt;&lt;/div&gt;&lt;div class=&quot;im&quot;&gt;
# losetup /dev/loop1 /dev/virtualmachines/windows7-x64&lt;br&gt;&lt;/div&gt;&lt;div class=&quot;im&quot;&gt;
windows7-x64 is the logical volume.&lt;br&gt;
# kpartx -av /dev/loop1&lt;br&gt;
&lt;br&gt;
Then I would see the partitions of the virtual machine within a logical volume, like so:&lt;br&gt;
&lt;br&gt;
/dev/mapper/loop1p1&lt;br&gt;
/dev/mapper/loop1p2&lt;br&gt;
/dev/mapper/loop1p3&lt;br&gt;
&lt;br&gt;
Now that I can access the partitions of the virtual machine within a logical volume, I can use partimage or fsarchiver to backup the partitions (provided the filesystem is supported by the archiver).&lt;br&gt;
&lt;br&gt;
But the problem is that I can only backup/clone the filesystems of my virtual machine within a logical volume. I can&amp;#39;t backup the Master Boot Record (MBR) of the virtual machine within a logical volume. For example,&lt;br&gt;

&lt;br&gt;
dd if=/dev/hda of=mbr.hda bs=512 count=1&lt;br&gt;
&lt;br&gt;
Because /dev/hda resides in a logical volume. The logical volume is a virtual harddisk for my virtual machine.&lt;br&gt;
&lt;/div&gt;&lt;/blockquote&gt;
You can do dd if=/dev/dev/loop1 of=mbr.dha bs=512 count=1 to make the copy of the boot block.&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
I would like to know how to backup and also restore the MBR of my virtual machine/guest operating system/domU within a logical volume because the losetup and kpartx procedure only allows me access to the partitions, not the MBR. A complete backup of a virtual machine (and also a bare metal machine) includes the MBR and all filesystems.&lt;br&gt;

&lt;br&gt;
If there is a catastrophic failure with my logical volumes containing domUs, I would like to&lt;br&gt;
&lt;br&gt;
1) re-create the physical volume (PV)&lt;br&gt;
&lt;br&gt;
2) re-create the volume group&lt;br&gt;
&lt;br&gt;
3) assign the PV to the volume group&lt;br&gt;
&lt;br&gt;
4) restore the LVM metadata, i.e. the configuration files for all the logical volumes&lt;br&gt;
&lt;br&gt;
5) restore the MBR of my domU&lt;br&gt;
&lt;br&gt;
6) restore the filesystems of my domU&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;
Of these steps you can recreate 1,2,3 and 4 just by keeping records of their parameters and using normal fdisk, pvcreate, vgcreate and lvcreate commands.&lt;br&gt;
&lt;br&gt;
For the things inside of lvm you can use losetup to make the loopback device out of the lv where you want to install the quest operating system and then recreate mbr from the file. Problem probably is how to recreate the filesystems if your backup software cannot do it. Also with windows protected system files can be a problem if backup software doesn&amp;#39;t support them.&lt;br&gt;

&lt;br&gt;
One thing you could of course do is to make the system restore backup inside of the DomU when it&amp;#39;s running. And then boot new DomU when starting up and use the system backup to restore. (of course this is still more work that pure dd from one place to another.)&lt;br&gt;

&lt;br&gt;
Problem is that everything else than using dd can have it fair share of problems. If the domU can&amp;#39;t be offline too long, you could allocate more space and use the lvm:s instant cloning features (can&amp;#39;t remember the name just now. ) and then use dd with gzip or bzip to make the backup from this clone to keep the space requirements minimum for the stored copies. And have minimum disruption for the DomU.&lt;br&gt;

&lt;br&gt;
-vpk&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;
&lt;br&gt;
--&lt;br&gt;
Fedora-xen mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316107&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316107&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26316107.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26316018</id>
	<title>Re: How to Backup and Restore MBR within Logical Volumes?</title>
	<published>2009-11-12T01:52:57Z</published>
	<updated>2009-11-12T01:52:57Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">&amp;gt; Maybe I didn&amp;#39;t really understand your setup, but... isn&amp;#39;t your mbr simply on /dev/loop1?&lt;br&gt;&lt;br&gt;Yes, you are right. &lt;br&gt;&lt;br&gt;root@sysresccd /mnt/hitachi/test % fdisk -l /dev/loop1&lt;br&gt;&lt;br&gt;Disk /dev/loop1: 53.7 GB, 53687091200 bytes&lt;br&gt;
255 heads, 63 sectors/track, 6527 cylinders&lt;br&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br&gt;Disk identifier: 0x2b362b35&lt;br&gt;&lt;br&gt;      Device Boot      Start         End      Blocks   Id  System&lt;br&gt;/dev/loop1p1   *           1        6526    52420063+   7  HPFS/NTFS&lt;br&gt;
&lt;br&gt;I am so used with device nomenclature of harddisks being /dev/hda, /dev/hdb, /dev/sda, /dev/md0, /dev/xvda, etc that it didn&amp;#39;t occur to me that the device node of my virtual machine in a logical volume is very simply /dev/loop1 after I have performed the &amp;quot;losetup /dev/loop1 /dev/volumegroup/logicalvolume&amp;quot; step.&lt;br&gt;
&lt;br&gt;Thank you very much for enlightening me! Now I can proceed with writing the backup and restore script for my Fedora 11 Dom0 (all partitions using LVM2 logical volumes) and all of my Xen virtual machines (contained in logical volumes).&lt;br&gt;
&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;
My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316018&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;
Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 9:38 AM, Roberto Ragusa &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316018&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mail@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Mr. Teo En Ming (Zhang Enming) wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; # kpartx -av /dev/loop1&lt;br&gt;
[...]&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&amp;gt; But the problem is that I can only backup/clone the filesystems of my&lt;br&gt;
&amp;gt; virtual machine within a logical volume. I can&amp;#39;t backup the Master Boot&lt;br&gt;
&amp;gt; Record (MBR) of the virtual machine within a logical volume. For example,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; dd if=/dev/hda of=mbr.hda bs=512 count=1&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Because /dev/hda resides in a logical volume. The logical volume is a&lt;br&gt;
&amp;gt; virtual harddisk for my virtual machine.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Maybe I didn&amp;#39;t really understand your setup, but... isn&amp;#39;t your mbr&lt;br&gt;
simply on /dev/loop1?&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
   Roberto Ragusa    mail at &lt;a href=&quot;http://robertoragusa.it&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;robertoragusa.it&lt;/a&gt;&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
fedora-list mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316018&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fedora-list@...&lt;/a&gt;&lt;br&gt;
To unsubscribe: &lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-list&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-list&lt;/a&gt;&lt;br&gt;
Guidelines: &lt;a href=&quot;http://fedoraproject.org/wiki/Communicate/MailingListGuidelines&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://fedoraproject.org/wiki/Communicate/MailingListGuidelines&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316018&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26316018.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26316007</id>
	<title>Re: How to Backup and Restore MBR within Logical Volumes?</title>
	<published>2009-11-12T01:51:58Z</published>
	<updated>2009-11-12T01:51:58Z</updated>
	<author>
		<name>Veli-Pekka Kestilä</name>
	</author>
	<content type="html">Mr. Teo En Ming (Zhang Enming) wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have several Xen virtual machines within logical volumes using LVM2. 
&lt;br&gt;&amp;gt; I did not use disk images for performance reasons.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; # losetup /dev/loop1 /dev/virtualmachines/windows7-x64
&lt;br&gt;&amp;gt; windows7-x64 is the logical volume.
&lt;br&gt;&amp;gt; # kpartx -av /dev/loop1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Then I would see the partitions of the virtual machine within a 
&lt;br&gt;&amp;gt; logical volume, like so:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /dev/mapper/loop1p1
&lt;br&gt;&amp;gt; /dev/mapper/loop1p2
&lt;br&gt;&amp;gt; /dev/mapper/loop1p3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now that I can access the partitions of the virtual machine within a 
&lt;br&gt;&amp;gt; logical volume, I can use partimage or fsarchiver to backup the 
&lt;br&gt;&amp;gt; partitions (provided the filesystem is supported by the archiver).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But the problem is that I can only backup/clone the filesystems of my 
&lt;br&gt;&amp;gt; virtual machine within a logical volume. I can't backup the Master 
&lt;br&gt;&amp;gt; Boot Record (MBR) of the virtual machine within a logical volume. For 
&lt;br&gt;&amp;gt; example,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; dd if=/dev/hda of=mbr.hda bs=512 count=1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Because /dev/hda resides in a logical volume. The logical volume is a 
&lt;br&gt;&amp;gt; virtual harddisk for my virtual machine.
&lt;/div&gt;You can do dd if=/dev/dev/loop1 of=mbr.dha bs=512 count=1 to make the 
&lt;br&gt;copy of the boot block.
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would like to know how to backup and also restore the MBR of my 
&lt;br&gt;&amp;gt; virtual machine/guest operating system/domU within a logical volume 
&lt;br&gt;&amp;gt; because the losetup and kpartx procedure only allows me access to the 
&lt;br&gt;&amp;gt; partitions, not the MBR. A complete backup of a virtual machine (and 
&lt;br&gt;&amp;gt; also a bare metal machine) includes the MBR and all filesystems.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If there is a catastrophic failure with my logical volumes containing 
&lt;br&gt;&amp;gt; domUs, I would like to
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1) re-create the physical volume (PV)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2) re-create the volume group
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 3) assign the PV to the volume group
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 4) restore the LVM metadata, i.e. the configuration files for all the 
&lt;br&gt;&amp;gt; logical volumes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 5) restore the MBR of my domU
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 6) restore the filesystems of my domU
&lt;br&gt;&amp;gt;
&lt;/div&gt;Of these steps you can recreate 1,2,3 and 4 just by keeping records of 
&lt;br&gt;their parameters and using normal fdisk, pvcreate, vgcreate and lvcreate 
&lt;br&gt;commands.
&lt;br&gt;&lt;br&gt;For the things inside of lvm you can use losetup to make the loopback 
&lt;br&gt;device out of the lv where you want to install the quest operating 
&lt;br&gt;system and then recreate mbr from the file. Problem probably is how to 
&lt;br&gt;recreate the filesystems if your backup software cannot do it. Also with 
&lt;br&gt;windows protected system files can be a problem if backup software 
&lt;br&gt;doesn't support them.
&lt;br&gt;&lt;br&gt;One thing you could of course do is to make the system restore backup 
&lt;br&gt;inside of the DomU when it's running. And then boot new DomU when 
&lt;br&gt;starting up and use the system backup to restore. (of course this is 
&lt;br&gt;still more work that pure dd from one place to another.)
&lt;br&gt;&lt;br&gt;Problem is that everything else than using dd can have it fair share of 
&lt;br&gt;problems. If the domU can't be offline too long, you could allocate more 
&lt;br&gt;space and use the lvm:s instant cloning features (can't remember the 
&lt;br&gt;name just now. ) and then use dd with gzip or bzip to make the backup 
&lt;br&gt;from this clone to keep the space requirements minimum for the stored 
&lt;br&gt;copies. And have minimum disruption for the DomU.
&lt;br&gt;&lt;br&gt;-vpk
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316007&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26316007.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26315935</id>
	<title>Re: [Xen-users] How to Backup and Restore MBR within Logical Volumes?</title>
	<published>2009-11-12T01:45:28Z</published>
	<updated>2009-11-12T01:45:28Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">&amp;gt; dd if=/dev/virtualmachines/windows7-x64 of=mbr.w7-x64 bs=512 count=1&lt;br&gt;&lt;br&gt;I think if you do this, you are only backing up the first 512 bytes of the logical volume, not the MBR.&lt;br&gt;&lt;br&gt;Someone correct me if I am wrong.&lt;br&gt;
&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;
My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315935&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;
Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 9:36 AM, Geert Janssens &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315935&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;info@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div class=&quot;im&quot;&gt;On Thursday 12 November 2009, Mr. Teo En Ming (Zhang Enming) wrote:&lt;br&gt;
&amp;gt; Hi All,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have several Xen virtual machines within logical volumes using LVM2. I&lt;br&gt;
&amp;gt; did not use disk images for performance reasons.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Conventionally, if I want to clone my virtual machines, I have to dd the LV&lt;br&gt;
&amp;gt; to an image file. But this consumes a lot of time and harddisk space.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; So, instead of doing that, I want to use losetup and kpartx with my logical&lt;br&gt;
&amp;gt; volumes, which contain operating systems of virtual machines.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I can backup the filesystems of a virtual machine in this way:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; # losetup /dev/loop1 /dev/virtualmachines/windows7-x64&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;Are you sure you need to call losetup first ?&lt;br&gt;
&lt;br&gt;
I remember I used kpartx directly on the lvm containing my vbd.&lt;br&gt;
&lt;br&gt;
Also, I think you can treat the lvm based vbd as a real disk.&lt;br&gt;
&lt;br&gt;
So&lt;br&gt;
dd if=/dev/virtualmachines/windows7-x64 of=mbr.w7-x64 bs=512 count=1&lt;br&gt;
&lt;br&gt;
should backup your mbr.&lt;br&gt;
&lt;br&gt;
Anyone correct me if I&amp;#39;m wrong please.&lt;br&gt;
&lt;br&gt;
Geert&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
Kobalt W.I.T.&lt;br&gt;
Web &amp;amp; Information Technology&lt;br&gt;
Brusselsesteenweg 152&lt;br&gt;
1850 Grimbergen&lt;br&gt;
&lt;br&gt;
Tel  : +32 479 339 655&lt;br&gt;
Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315935&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;info@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
Xen-users mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315935&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Xen-users@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://lists.xensource.com/xen-users&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.xensource.com/xen-users&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315935&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26315935.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26315686</id>
	<title>How to Backup and Restore MBR within Logical Volumes?</title>
	<published>2009-11-12T01:23:10Z</published>
	<updated>2009-11-12T01:23:10Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">Hi All,&lt;br&gt;&lt;br&gt;I have several Xen virtual machines within logical volumes using LVM2. I did not use disk images for performance reasons.&lt;br&gt;&lt;br&gt;Conventionally, if I want to clone my virtual machines, I have to dd the LV to an image file. But this consumes a lot of time and harddisk space.&lt;br&gt;
&lt;br&gt;So, instead of doing that, I want to use losetup and kpartx with my logical volumes, which contain operating systems of virtual machines.&lt;br&gt;&lt;br&gt;I can backup the filesystems of a virtual machine in this way:&lt;br&gt;&lt;br&gt;# losetup /dev/loop1 /dev/virtualmachines/windows7-x64&lt;br&gt;
&lt;br&gt;virtualmachines is the name of my volume group.&lt;br&gt;&lt;br&gt;windows7-x64 is the logical volume.&lt;br&gt;&lt;br&gt;# kpartx -av /dev/loop1&lt;br&gt;&lt;br&gt;Then I would see the partitions of the virtual machine within a logical volume, like so:&lt;br&gt;
&lt;br&gt;/dev/mapper/loop1p1&lt;br&gt;/dev/mapper/loop1p2&lt;br&gt;/dev/mapper/loop1p3&lt;br&gt;&lt;br&gt;Now that I can access the partitions of the virtual machine within a logical volume, I can use partimage or fsarchiver to backup the partitions (provided the filesystem is supported by the archiver).&lt;br&gt;
&lt;br&gt;But the problem is that I can only backup/clone the filesystems of my virtual machine within a logical volume. I can&amp;#39;t backup the Master Boot Record (MBR) of the virtual machine within a logical volume. For example, &lt;br&gt;
&lt;br&gt;dd if=/dev/hda of=mbr.hda bs=512 count=1&lt;br&gt;&lt;br&gt;Because /dev/hda resides in a logical volume. The logical volume is a virtual harddisk for my virtual machine.&lt;br&gt;&lt;br&gt;I would like to know how to backup and also restore the MBR of my virtual machine/guest operating system/domU within a logical volume because the losetup and kpartx procedure only allows me access to the partitions, not the MBR. A complete backup of a virtual machine (and also a bare metal machine) includes the MBR and all filesystems.&lt;br&gt;
&lt;br&gt;If there is a catastrophic failure with my logical volumes containing domUs, I would like to&lt;br&gt;&lt;br&gt;1) re-create the physical volume (PV)&lt;br&gt;&lt;br&gt;2) re-create the volume group&lt;br&gt;&lt;br&gt;3) assign the PV to the volume group&lt;br&gt;
&lt;br&gt;4) restore the LVM metadata, i.e. the configuration files for all the logical volumes&lt;br&gt;&lt;br&gt;5) restore the MBR of my domU&lt;br&gt;&lt;br&gt;6) restore the filesystems of my domU&lt;br&gt;&lt;br&gt;Please advise.&lt;br&gt;&lt;br&gt;Thank you very much.&lt;br clear=&quot;all&quot;&gt;
&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;
My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315686&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;
Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315686&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-Backup-and-Restore-MBR-within-Logical-Volumes--tp26315686p26315686.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26287400</id>
	<title>[Xen-devel] [ANNOUNCE] Xen 3.4.2 released</title>
	<published>2009-11-10T09:12:55Z</published>
	<updated>2009-11-10T09:12:55Z</updated>
	<author>
		<name>Pasi Kärkkäinen</name>
	</author>
	<content type="html">----- Forwarded message from Keir Fraser &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287400&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;keir.fraser@...&lt;/a&gt;&amp;gt; -----
&lt;br&gt;&lt;br&gt;From: Keir Fraser &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287400&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;keir.fraser@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;quot;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287400&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xen-devel@...&lt;/a&gt;&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287400&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xen-devel@...&lt;/a&gt;&amp;gt;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287400&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xen-users@...&lt;/a&gt;
&lt;br&gt;Cc: 
&lt;br&gt;Date: Tue, 10 Nov 2009 16:38:59 +0000
&lt;br&gt;Subject: [Xen-devel] [ANNOUNCE] Xen 3.4.2 released
&lt;br&gt;&lt;br&gt;Folks,
&lt;br&gt;&lt;br&gt;Xen 3.4.2 is the latest maintenance release in the 3.4 stable branch. There
&lt;br&gt;are a range of bug fixes since 3.4.1, and we recommend users to upgrade.
&lt;br&gt;&lt;br&gt;The source repository can be downloaded from:
&lt;br&gt;&lt;a href=&quot;http://xenbits.xensource.com/xen-3.4-testing.hg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xenbits.xensource.com/xen-3.4-testing.hg&lt;/a&gt;&lt;br&gt;The release is tagged 'RELEASE-3.4.2'.
&lt;br&gt;&lt;br&gt;Alternatively source tarballs can be downloaded from:
&lt;br&gt;&lt;a href=&quot;http://www.xen.org/products/xen_source.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.xen.org/products/xen_source.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;-- Keir
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Xen-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287400&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Xen-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.xensource.com/xen-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.xensource.com/xen-devel&lt;/a&gt;&lt;br&gt;&lt;br&gt;----- End forwarded message -----
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287400&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Xen-devel---ANNOUNCE--Xen-3.4.2-released-tp26287400p26287400.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26283266</id>
	<title>Re: Disappointed with the Upcoming Fedora 12 Release</title>
	<published>2009-11-10T05:18:05Z</published>
	<updated>2009-11-10T05:18:05Z</updated>
	<author>
		<name>Pasi Kärkkäinen</name>
	</author>
	<content type="html">On Tue, Nov 10, 2009 at 02:05:10PM +0200, Pasi Kärkkäinen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, Nov 10, 2009 at 04:38:27PM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;Hi,
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;Fedora is my favorite Linux distribution. I have been eagerly anticipating
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;the upcoming release of Fedora 12 but am disappointed to discover that it
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;will not support Xen pv-ops dom0 kernel.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; pv_ops dom0 kernel has only recently started working for many/most
&lt;br&gt;&amp;gt; people, so it was too late for F12 release.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There are still some missing features, most notably missing blktap2 support
&lt;br&gt;&amp;gt; for tap:aio: file-based images.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But it seems features are ported and bugs are fixed pretty fast now, so
&lt;br&gt;&amp;gt; let's hope pv_ops dom0 kernel can be included for F13!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It works for me, and for you aswell. So it's getting there..
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Also Fedora kernel developers want to have all the main features
&lt;br&gt;included in the upstream kernel - they don't want to maintain
&lt;br&gt;out-of-the-tree patches. 
&lt;br&gt;&lt;br&gt;pv_ops dom0 patches are not yet included in the upstream kernel.
&lt;br&gt;Although Jeremy's git tree is tracking upstream pretty closely now.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/master&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/master&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- Pasi
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26283266&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Disappointed-with-the-Upcoming-Fedora-12-Release-tp26280043p26283266.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26282690</id>
	<title>Re: Disappointed with the Upcoming Fedora 12 Release</title>
	<published>2009-11-10T04:38:12Z</published>
	<updated>2009-11-10T04:38:12Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">Sigh...Another six months wait...&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;
My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26282690&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;
Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 10, 2009 at 8:05 PM, Pasi Kärkkäinen &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26282690&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pasik@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div class=&quot;im&quot;&gt;On Tue, Nov 10, 2009 at 04:38:27PM +0800, Mr. Teo En Ming (Zhang Enming) wrote:&lt;br&gt;

&amp;gt;    Hi,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;    Fedora is my favorite Linux distribution. I have been eagerly anticipating&lt;br&gt;
&amp;gt;    the upcoming release of Fedora 12 but am disappointed to discover that it&lt;br&gt;
&amp;gt;    will not support Xen pv-ops dom0 kernel.&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;pv_ops dom0 kernel has only recently started working for many/most&lt;br&gt;
people, so it was too late for F12 release.&lt;br&gt;
&lt;br&gt;
There are still some missing features, most notably missing blktap2 support&lt;br&gt;
for tap:aio: file-based images.&lt;br&gt;
&lt;br&gt;
But it seems features are ported and bugs are fixed pretty fast now, so&lt;br&gt;
let&amp;#39;s hope pv_ops dom0 kernel can be included for F13!&lt;br&gt;
&lt;br&gt;
It works for me, and for you aswell. So it&amp;#39;s getting there..&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
-- Pasi&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26282690&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Disappointed-with-the-Upcoming-Fedora-12-Release-tp26280043p26282690.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26282288</id>
	<title>Re: Disappointed with the Upcoming Fedora 12 Release</title>
	<published>2009-11-10T04:05:10Z</published>
	<updated>2009-11-10T04:05:10Z</updated>
	<author>
		<name>Pasi Kärkkäinen</name>
	</author>
	<content type="html">On Tue, Nov 10, 2009 at 04:38:27PM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Fedora is my favorite Linux distribution. I have been eagerly anticipating
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;the upcoming release of Fedora 12 but am disappointed to discover that it
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;will not support Xen pv-ops dom0 kernel.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;pv_ops dom0 kernel has only recently started working for many/most
&lt;br&gt;people, so it was too late for F12 release.
&lt;br&gt;&lt;br&gt;There are still some missing features, most notably missing blktap2 support
&lt;br&gt;for tap:aio: file-based images.
&lt;br&gt;&lt;br&gt;But it seems features are ported and bugs are fixed pretty fast now, so
&lt;br&gt;let's hope pv_ops dom0 kernel can be included for F13!
&lt;br&gt;&lt;br&gt;It works for me, and for you aswell. So it's getting there..
&lt;br&gt;&lt;br&gt;-- Pasi
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26282288&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Disappointed-with-the-Upcoming-Fedora-12-Release-tp26280043p26282288.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26280043</id>
	<title>Disappointed with the Upcoming Fedora 12 Release</title>
	<published>2009-11-10T00:38:27Z</published>
	<updated>2009-11-10T00:38:27Z</updated>
	<author>
		<name>Mr. Teo En Ming (Zhang Enming)-2</name>
	</author>
	<content type="html">Hi,&lt;br&gt;&lt;br&gt;Fedora is my favorite Linux distribution. I have been eagerly anticipating the upcoming release of Fedora 12 but am disappointed to discover that it will not support Xen pv-ops dom0 kernel.&lt;br&gt;&lt;br&gt;&amp;lt;QUOTE&amp;gt;&lt;br clear=&quot;all&quot;&gt;
&lt;h3&gt; &lt;span class=&quot;mw-headline&quot;&gt; Xen Kernel Support &lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;The &lt;code&gt;kernel&lt;/code&gt; package in Fedora 12 supports booting as a
guest domU, but will not function as a dom0 until such support is
provided upstream. Work is ongoing and hopes are high that support will
be included in &lt;code&gt;kernel&lt;/code&gt; 2.6.33 and Fedora 13.
&lt;/p&gt;&lt;p&gt;The most recent Fedora release with dom0 support is Fedora 8. &lt;br&gt;&lt;/p&gt;&amp;lt;/QUOTE&amp;gt;&lt;br&gt;&lt;br&gt;Link: &lt;a href=&quot;http://fedoraproject.org/wiki/Docs/Beats/Virtualization&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fedoraproject.org/wiki/Docs/Beats/Virtualization&lt;/a&gt;&lt;br&gt;
&lt;br&gt;Here is a list of my Xen pv-ops dom0-related videos on Youtube so far. I am using Fedora 11 x86_64 as my host operating system.&lt;br&gt;&lt;font size=&quot;2&quot;&gt;&lt;br&gt;[1] PCI Express x16 VGA Passthrough to Xen-based Windows XP Home HVM Virtual Machine Part 1 of 2&lt;br&gt;
&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=HNEiSInrav0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=HNEiSInrav0&lt;/a&gt;&lt;br&gt;&lt;br&gt;[2] &lt;/font&gt;&lt;font size=&quot;2&quot;&gt;PCI Express x16 VGA Passthrough to Xen-based Windows XP Home HVM Virtual Machine Part 2 of 2&lt;/font&gt;&lt;br&gt;
&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=_hOT_9LIG5w&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=_hOT_9LIG5w&lt;/a&gt;&lt;br&gt;&lt;br&gt;[3] &lt;font size=&quot;2&quot;&gt;The Final Solution: Open Source Xen VGA Passthrough&lt;/font&gt;&lt;br&gt;&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=1ia3IwG6tp4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=1ia3IwG6tp4&lt;/a&gt;&lt;br&gt;
&lt;br&gt;[4] &lt;font size=&quot;2&quot;&gt;Playing 3D FPS Game Alien Arena in Xen-based Windows XP Home Edition HVM Virtual Machine&lt;/font&gt;&lt;br&gt;&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=5tLzYqIJ7Q0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=5tLzYqIJ7Q0&lt;/a&gt;&lt;br&gt;
&lt;br&gt;[5] &lt;font size=&quot;2&quot;&gt;Xen Virtualization VGA Passthrough: 3D Gaming Benchmark Results Part 2 of 2&lt;/font&gt;&lt;br&gt;&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=yYg6n8yBktM&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=yYg6n8yBktM&lt;/a&gt;&lt;br&gt;
&lt;br&gt;[6] &lt;font size=&quot;2&quot;&gt;Xen Virtualization VGA Passthrough: 3D Gaming Benchmark Results Part 1 of 2&lt;/font&gt;&lt;br&gt;&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=5I13E1MQbMc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=5I13E1MQbMc&lt;/a&gt;&lt;br&gt;
&lt;br&gt;[7] &lt;font size=&quot;2&quot;&gt;Xen Virtualization VGA Passthrough: Disk I/O Benchmark Results&lt;/font&gt;&lt;br&gt;&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=uL7JS4PMpzY&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=uL7JS4PMpzY&lt;/a&gt;&lt;br&gt;&lt;br&gt;[8] &lt;font size=&quot;2&quot;&gt;Xen Virtualization VGA Passthrough: PerformanceTest 7.0 Virtual CPU Benchmark Results&lt;/font&gt;&lt;br&gt;
&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=vLR-o9tX_Tw&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=vLR-o9tX_Tw&lt;/a&gt;&lt;br&gt;&lt;br&gt;[9] &lt;font size=&quot;2&quot;&gt;Xen Virtualization VGA Passthrough: SiSoftware Sandra Virtual Processor Benchmark Part 1 of 2&lt;/font&gt;&lt;br&gt;
&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=BUXOAPce_40&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=BUXOAPce_40&lt;/a&gt;&lt;br&gt;&lt;br&gt;[10] &lt;font size=&quot;2&quot;&gt;Xen Virtualization VGA Passthrough: SiSoftware Sandra Virtual Processor Benchmark Part 2 of 2&lt;/font&gt;&lt;br&gt;
&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=k5lle8WOHLE&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=k5lle8WOHLE&lt;/a&gt;&lt;br&gt;&lt;br&gt;[11] &lt;font size=&quot;2&quot;&gt;Xen Virtualization VGA Passthrough: Playing 3D FPS Games in Windows XP HVM Virtual Machine&lt;/font&gt;&lt;br&gt;
&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=Pikwgl8bac8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=Pikwgl8bac8&lt;/a&gt;&lt;br&gt;&lt;br&gt;[12] &lt;font size=&quot;2&quot;&gt;Xen Virtualization &amp;amp; Intel VT-d: Direct Hardware Access to Graphics Card by Windows Virtual Machines&lt;/font&gt;&lt;br&gt;
&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=HHUwg_zxYgw&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=HHUwg_zxYgw&lt;/a&gt;&lt;br&gt;&lt;br&gt;[13] &lt;font size=&quot;2&quot;&gt;Xen Virtualization, VT-d, VGA Passthrough, &amp;amp; Windows XP HVM Virtual Machine: Super PI 32M Benchmark&lt;/font&gt;&lt;br&gt;
&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=3mxuNRiMxDU&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=3mxuNRiMxDU&lt;/a&gt;&lt;br&gt;&lt;br&gt;[14] &lt;font size=&quot;2&quot;&gt;Xen Virtualization: Super PI 32M Benchmark 2nd Iteration&lt;/font&gt;&lt;br&gt;&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=m7W0OFFcw7I&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=m7W0OFFcw7I&lt;/a&gt;&lt;br&gt;
&lt;br&gt;[15] &lt;font size=&quot;2&quot;&gt;How to Setup a Virtual Supercomputer Center or HPC Cluster using Xen Virtual Machines Part 1 of 2&lt;/font&gt;&lt;br&gt;&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=GmNKi6CoExM&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=GmNKi6CoExM&lt;/a&gt;&lt;br&gt;
&lt;br&gt;[16] &lt;font size=&quot;2&quot;&gt;How to Setup a Virtual Supercomputer Center or HPC Cluster using Xen Virtual Machines Part 2 of 2&lt;/font&gt;&lt;br&gt;&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=dAqDESEWMjM&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=dAqDESEWMjM&lt;/a&gt;&lt;br&gt;
&lt;br&gt;[17] &lt;font size=&quot;2&quot;&gt;Building a Rocks HPC Cluster with Xen Hardware Virtual Machines (HVM)&lt;/font&gt;&lt;br&gt;&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=LbLaPpwNAx4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=LbLaPpwNAx4&lt;/a&gt;&lt;br&gt;&lt;br&gt;
[18] &lt;font size=&quot;2&quot;&gt;Building a Rocks HPC Cluster with Xen Hardware Virtual Machines (HVM) (Update 1)&lt;/font&gt;&lt;br&gt;&lt;br&gt;Link: &lt;a href=&quot;http://www.youtube.com/watch?v=vWHIImVBr4o&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=vWHIImVBr4o&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Because of the absence of official support for Xen pv-ops dom0 kernel in Fedora 11, I have to manually and laboriously configure my home multimedia and general purpose desktop system over a period of 2-3 months. Admittedly I have gained a lot of useful knowledge throughout the process. Thanks to Boris&amp;#39; setup guides, and assistance from Pasi, Han Weidong from Intel Corp, Jeremy Fitzhardinge from Citrix, and the rest of the Xen developers community, I have managed to get a fully working Xen pv-ops dom0 Fedora 11 host operating system.&lt;br&gt;
&lt;br&gt;It will be a daunting task for newbie Linux users who want to setup a Xen pv-ops dom0 system with the more recent releases of Fedora. Please do consider including Xen pv-ops dom0 kernel in the next release of Fedora.&lt;br&gt;
&lt;br&gt;Michael Young has Xen dom0 kernel RPM packages for FC12. I am surprised that they are not included in the upcoming Fedora 12 release.&lt;br&gt;&lt;br&gt;Link: &lt;a href=&quot;http://myoung.fedorapeople.org/dom0/x86_64/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://myoung.fedorapeople.org/dom0/x86_64/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;Thank you.&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)&lt;br&gt;Alma Maters:&lt;br&gt;(1) Singapore Polytechnic&lt;br&gt;(2) National University of Singapore&lt;br&gt;My Primary Blog: &lt;a href=&quot;http://teo-en-ming-aka-zhang-enming.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://teo-en-ming-aka-zhang-enming.blogspot.com&lt;/a&gt;&lt;br&gt;
My Secondary Blog: &lt;a href=&quot;http://enmingteo.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enmingteo.wordpress.com&lt;/a&gt;&lt;br&gt;My Youtube videos: &lt;a href=&quot;http://www.youtube.com/user/enmingteo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/user/enmingteo&lt;/a&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26280043&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;space.time.universe@...&lt;/a&gt;&lt;br&gt;
Mobile Phone (Starhub Prepaid): +65-8369-2618&lt;br&gt;Street: Bedok Reservoir Road&lt;br&gt;Country: Singapore&lt;br&gt;
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26280043&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Disappointed-with-the-Upcoming-Fedora-12-Release-tp26280043p26280043.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26279405</id>
	<title>Re: blktap driver for xen-dom0</title>
	<published>2009-11-09T23:32:32Z</published>
	<updated>2009-11-09T23:32:32Z</updated>
	<author>
		<name>Pasi Kärkkäinen</name>
	</author>
	<content type="html">On Tue, Nov 10, 2009 at 11:38:15AM +0900, ?????? wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I installed xen 3.4.1 &amp; M.young's xendom0 kernel on &amp;nbsp;fedora 12 beta.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Everying works smoothly for me except that I can't use &amp;quot;tap:aio&amp;quot; for PV
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;guest.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;It seems that blktap driver is not installed (not supported) on dom0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;kernel.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I think performance of guest OS is better when is mounted by blktap. Is
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;there anyway I can use this option?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;unfortunately blktap2 is not yet available for pvops dom0.
&lt;br&gt;So atm you should use phy: and lvm-volumes.
&lt;br&gt;&lt;br&gt;If you know C and linux kernel coding you could help with porting the
&lt;br&gt;blktap2 driver from 2.6.18 to pv_ops dom0 2.6.31.x :)
&lt;br&gt;&lt;br&gt;-- Pasi
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26279405&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/blktap-driver-for-xen-dom0-tp26277404p26279405.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26277404</id>
	<title>blktap driver for xen-dom0</title>
	<published>2009-11-09T18:38:15Z</published>
	<updated>2009-11-09T18:38:15Z</updated>
	<author>
		<name>서지혜</name>
	</author>
	<content type="html">I installed xen 3.4.1 &amp;amp; M.young&amp;#39;s xendom0 kernel on  fedora 12 beta.&lt;br&gt;Everying works smoothly for me except that I can&amp;#39;t use &amp;quot;tap:aio&amp;quot; for PV guest. &lt;br&gt;It seems that blktap driver is not installed (not supported) on dom0 kernel. &lt;br&gt;
I think performance of guest OS is better when is mounted by blktap. Is there anyway I can use this option?&lt;br&gt; 
&lt;br /&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26277404&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/blktap-driver-for-xen-dom0-tp26277404p26277404.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26267430</id>
	<title>Re: [virt-tools-list] Fedora 12: virt-install does not set graphical console keymap automatically for Xen guests</title>
	<published>2009-11-09T06:34:28Z</published>
	<updated>2009-11-09T06:34:28Z</updated>
	<author>
		<name>Pasi Kärkkäinen</name>
	</author>
	<content type="html">On Mon, Nov 09, 2009 at 01:47:46PM +0000, Daniel P. Berrange wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, Nov 09, 2009 at 08:46:52AM -0500, Cole Robinson wrote:
&lt;br&gt;&amp;gt; &amp;gt; On 11/08/2009 12:22 PM, Pasi Kärkkäinen wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hello,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I've been playing with Xen stuff on Fedora 12 host/dom0, and I noticed
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; the Xen PV guest graphical console (vfb) keymap is not set up
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; automatically anymore, like it was with RHEL5 version of
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; virt-install/virt-manager tools.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I opened bugzilla entry about this:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=533707&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.redhat.com/show_bug.cgi?id=533707&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; In Fedora 11/12 we carry a virtinst patch which skips setting the keymap. This
&lt;br&gt;&amp;gt; &amp;gt; was intended for qemu/kvm only, since newer versions support a VNC extension
&lt;br&gt;&amp;gt; &amp;gt; which basically allows passing the host keymapping through to the guest.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Sounds like we need to be smarter about this and still generate a keymap for xen.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm fairly sure Xen is also using a new enough QEMU for the VNC extension
&lt;br&gt;&amp;gt; since it has been in QEMU for a long time now.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Well.. I've been using/testing with xen-3.4.1-5 in Fedora 12.
&lt;br&gt;&lt;br&gt;Guest console keymap isn't correct before I edit the guest xen configuration
&lt;br&gt;and specify keymap='fi'.
&lt;br&gt;&lt;br&gt;Do you know what QEMU version has the required VNC extension? 
&lt;br&gt;Or could this be virt-viewer issue?
&lt;br&gt;&lt;br&gt;-- Pasi
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fedora-xen mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26267430&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fedora-xen@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-xen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/mailman/listinfo/fedora-xen&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fedora-12%3A-virt-install-does-not-set-graphical-console-keymap-automatically-for-Xen-guests-tp26255774p26267430.html" />
</entry>

</feed>
