
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.thelinuxwiki.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Add_a_Hard_Drive_to_XenServer</id>
		<title>Add a Hard Drive to XenServer - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Add_a_Hard_Drive_to_XenServer"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=Add_a_Hard_Drive_to_XenServer&amp;action=history"/>
		<updated>2026-05-13T17:50:02Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.5</generator>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=Add_a_Hard_Drive_to_XenServer&amp;diff=625&amp;oldid=prev</id>
		<title>Nighthawk: Created page with &quot;Version 6.2  == adding a new hard drive i.e. /dev/sdb ==  1) verify the drive of interest is recognized   # '''cat /proc/partitions'''  major minor  #blocks  name     7       ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=Add_a_Hard_Drive_to_XenServer&amp;diff=625&amp;oldid=prev"/>
				<updated>2014-01-23T20:09:22Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Version 6.2  == adding a new hard drive i.e. /dev/sdb ==  1) verify the drive of interest is recognized   # &amp;#039;&amp;#039;&amp;#039;cat /proc/partitions&amp;#039;&amp;#039;&amp;#039;  major minor  #blocks  name     7       ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Version 6.2&lt;br /&gt;
&lt;br /&gt;
== adding a new hard drive i.e. /dev/sdb ==&lt;br /&gt;
&lt;br /&gt;
1) verify the drive of interest is recognized&lt;br /&gt;
&lt;br /&gt;
 # '''cat /proc/partitions'''&lt;br /&gt;
 major minor  #blocks  name&lt;br /&gt;
&lt;br /&gt;
   7        0      52378 loop0&lt;br /&gt;
   8        0  976762584 sda&lt;br /&gt;
   8        1    4193297 sda1&lt;br /&gt;
   8        2    4193297 sda2&lt;br /&gt;
   8        3  968372935 sda3&lt;br /&gt;
   8       16 1953514584 sdb&lt;br /&gt;
 252        0  968359936 dm-0&lt;br /&gt;
&lt;br /&gt;
sdb shows up so we are good...&lt;br /&gt;
&lt;br /&gt;
2) Find the disk ID of the new device&lt;br /&gt;
&lt;br /&gt;
 # '''ll /dev/disk/by-id'''&lt;br /&gt;
 total 0&lt;br /&gt;
 lrwxrwxrwx 1 root root  9 Jan 23 13:35 edd-int13_dev81 -&amp;gt; ../../sdb&lt;br /&gt;
 lrwxrwxrwx 1 root root  9 Jan 23 13:35 scsi-SATA_WDC_WD10EACS-00_WD-WCASJ1527948 -&amp;gt; ../../sda&lt;br /&gt;
 lrwxrwxrwx 1 root root 10 Jan 23 13:35 scsi-SATA_WDC_WD10EACS-00_WD-WCASJ1527948-part1 -&amp;gt; ../../sda1&lt;br /&gt;
 lrwxrwxrwx 1 root root 10 Jan 23 13:35 scsi-SATA_WDC_WD10EACS-00_WD-WCASJ1527948-part2 -&amp;gt; ../../sda2&lt;br /&gt;
 lrwxrwxrwx 1 root root 10 Jan 23 13:35 scsi-SATA_WDC_WD10EACS-00_WD-WCASJ1527948-part3 -&amp;gt; ../../sda3&lt;br /&gt;
 lrwxrwxrwx 1 root root  9 Jan 23 13:35 scsi-SATA_WDC_WD20EARS-00_WD-WMAZA2044059 -&amp;gt; ../../sdb&lt;br /&gt;
&lt;br /&gt;
3) Find out the 'host-uuid' in XenServer&lt;br /&gt;
&lt;br /&gt;
 # '''xe host-list''' &lt;br /&gt;
 uuid ( RO)                : 89568def-9ecf-44e4-ae21-35e353c40c82&lt;br /&gt;
          name-label ( RW): myxenbox&lt;br /&gt;
    name-description ( RW): Default install of XenServer&lt;br /&gt;
&lt;br /&gt;
4) Create a Storage Repository (SR) using data from above:&lt;br /&gt;
&lt;br /&gt;
xe sr-create content-type=user device-config:device=/dev/disk/by-id/''&amp;lt;scsi-xxxxxxxxxxxxxxxxxxxxxxxxx&amp;gt;'' host-uuid=''&amp;lt;host-uuid&amp;gt;'' name-label=”Local Storage 2” shared=false type=lvm&lt;br /&gt;
&lt;br /&gt;
example:&lt;br /&gt;
 # xe sr-create content-type=user device-config:device=/dev/disk/by-id/scsi-SATA_WDC_WD20EARS-00_WD-WMAZA2044059 host-uuid=89568def-9ecf-44e4-ae21-35e353c40c82 name-label=datastore1 shared=false type=lvm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category:xenserver]]&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>