<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jonathan Arbib &#187; volume uuid xen</title>
	<atom:link href="http://arbib.it/tag/volume-uuid-xen/feed/" rel="self" type="application/rss+xml" />
	<link>http://arbib.it</link>
	<description>Mzee mulimu; A bit of my work, life, and experiences.</description>
	<lastBuildDate>Wed, 09 May 2012 11:51:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Volume by UUID and adding the disk to a xen Virtual Machine</title>
		<link>http://arbib.it/2010/05/08/volume-by-uuid-and-adding-the-disk-to-a-xen-virtual-machine/</link>
		<comments>http://arbib.it/2010/05/08/volume-by-uuid-and-adding-the-disk-to-a-xen-virtual-machine/#comments</comments>
		<pubDate>Sat, 08 May 2010 20:36:44 +0000</pubDate>
		<dc:creator>ac3bf1</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[add disk to xen by uuid]]></category>
		<category><![CDATA[usb disk by uuid xen]]></category>
		<category><![CDATA[uuid]]></category>
		<category><![CDATA[volume uuid]]></category>
		<category><![CDATA[volume uuid xen]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://arbib.it/?p=592</guid>
		<description><![CDATA[Get the drive UUID by using the command vold_id vol_id /dev/sda1 The string after &#8220;ID_FS_UUID=&#8221; is the UUID of the drive. Now open your /etc/fstab file and add the following line to the end. Replace the UUID string with your string, your mount point, and customize the other parameters if needed. UUID=THE-UUID-HERE /mnt/USBDrive ext3 user,auto,rw [...]]]></description>
			<content:encoded><![CDATA[<p>Get the drive UUID by using the command vold_id</p>
<pre>vol_id /dev/sda1</pre>
<p>The string after &#8220;ID_FS_UUID=&#8221; is the UUID of the drive. Now open your /etc/fstab file and add the following line to the end. Replace the UUID string with your string, your mount point, and customize the other parameters if needed.</p>
<pre>UUID=THE-UUID-HERE   /mnt/USBDrive   ext3   user,auto,rw   0   0</pre>
<p>To then pass a disk to a xen virtual machine, look at the following lines of the domain config file:</p>
<pre>disk        = [
#...root partition and other partitions here...
'phy:/dev/disk/by-uuid/89b976bc-2f66-4b93-abfb-358d6227f8be,sda,w',
'phy:/dev/disk/by-uuid/1871b9a1-8055-4392-8a94-f5407ff37483,sdb,w',
]</pre>
<p>basically instead of passing the disk as a /dev/sda1 device, pass it by UUID using the path:</p>
<pre>/dev/disk/by-uuid/&lt;the uuid&gt;</pre>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://arbib.it/2010/05/08/volume-by-uuid-and-adding-the-disk-to-a-xen-virtual-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

