<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wikiold.home.tartarefr.eu/index.php?action=history&amp;feed=atom&amp;title=Virt%2FLinuxGuest</id>
	<title>Virt/LinuxGuest - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wikiold.home.tartarefr.eu/index.php?action=history&amp;feed=atom&amp;title=Virt%2FLinuxGuest"/>
	<link rel="alternate" type="text/html" href="https://wikiold.home.tartarefr.eu/index.php?title=Virt/LinuxGuest&amp;action=history"/>
	<updated>2026-07-06T20:15:30Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wikiold.home.tartarefr.eu/index.php?title=Virt/LinuxGuest&amp;diff=2864&amp;oldid=prev</id>
		<title>Didier le 25 août 2014 à 07:32</title>
		<link rel="alternate" type="text/html" href="https://wikiold.home.tartarefr.eu/index.php?title=Virt/LinuxGuest&amp;diff=2864&amp;oldid=prev"/>
		<updated>2014-08-25T07:32:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 25 août 2014 à 07:32&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Ligne 5 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 5 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is possible to add or remove a SCSI device explicitly, or to re-scan an entire SCSI bus without rebooting a running Linux VM guest. This how to is tested under Vmware Server and Vmware Workstation v6.0 (but should work with older version too). All instructions are tested on RHEL, Fedora, CentOS and Ubuntu Linux guest / hosts operating systems.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is possible to add or remove a SCSI device explicitly, or to re-scan an entire SCSI bus without rebooting a running Linux VM guest. This how to is tested under Vmware Server and Vmware Workstation v6.0 (but should work with older version too). All instructions are tested on RHEL, Fedora, CentOS and Ubuntu Linux guest / hosts operating systems.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Step # 1: &lt;/del&gt;Add a New Disk To Vm Guest ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Add a New Disk To Vm Guest ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;First, you need to add hard disk by visiting vmware hardware settings menu.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;First, you need to add hard disk by visiting vmware hardware settings menu.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l36&quot;&gt;Ligne 36 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 36 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Finally, set file location and click on Finish.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Finally, set file location and click on Finish.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Step # 2: &lt;/del&gt;Rescan the SCSI Bus to Add a SCSI Device Without rebooting the VM ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Rescan the SCSI Bus to Add a SCSI Device Without rebooting the VM ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A rescan can be issued by typing the following command:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A rescan can be issued by typing the following command:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l131&quot;&gt;Ligne 131 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 131 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Step #3: &lt;/del&gt;Format a New Disk ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Format a New Disk ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, you can create partition using fdisk and format it using mkfs.ext3 command:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, you can create partition using fdisk and format it using mkfs.ext3 command:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l137&quot;&gt;Ligne 137 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 137 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  mkfs.ext3 /dev/sdc3&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  mkfs.ext3 /dev/sdc3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Step #4: &lt;/del&gt;Create a Mount Point And Update /etc/fstab ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Create a Mount Point And Update /etc/fstab ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  mkdir /disk3&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  mkdir /disk3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Didier</name></author>
	</entry>
	<entry>
		<id>https://wikiold.home.tartarefr.eu/index.php?title=Virt/LinuxGuest&amp;diff=2856&amp;oldid=prev</id>
		<title>Didier : Page créée avec « &lt;big&gt;&lt;big&gt;&#039;&#039;&#039;Vmware Linux Guest Add a New Hard Disk Without Rebooting Guest&#039;&#039;&#039;&lt;/big&gt;&lt;/big&gt;  As a system admin, I need to use additional hard drives for to provide more sto... »</title>
		<link rel="alternate" type="text/html" href="https://wikiold.home.tartarefr.eu/index.php?title=Virt/LinuxGuest&amp;diff=2856&amp;oldid=prev"/>
		<updated>2014-08-25T07:29:05Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « &amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;Vmware Linux Guest Add a New Hard Disk Without Rebooting Guest&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;  As a system admin, I need to use additional hard drives for to provide more sto... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;Vmware Linux Guest Add a New Hard Disk Without Rebooting Guest&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As a system admin, I need to use additional hard drives for to provide more storage space or to separate system data from user data. This procedure, adding physical block devices to virtualized guests, describes how to add a hard drive on the host to a virtualized guest using VMWare software running Linux as guest.&lt;br /&gt;
&lt;br /&gt;
It is possible to add or remove a SCSI device explicitly, or to re-scan an entire SCSI bus without rebooting a running Linux VM guest. This how to is tested under Vmware Server and Vmware Workstation v6.0 (but should work with older version too). All instructions are tested on RHEL, Fedora, CentOS and Ubuntu Linux guest / hosts operating systems.&lt;br /&gt;
&lt;br /&gt;
== Step # 1: Add a New Disk To Vm Guest ==&lt;br /&gt;
&lt;br /&gt;
First, you need to add hard disk by visiting vmware hardware settings menu.&lt;br /&gt;
Click on VM &amp;gt; Settings&lt;br /&gt;
&lt;br /&gt;
[[Fichier:VirtualMachineSettings1.png]]&amp;lt;br&amp;gt;Fig.01: Vmware Virtual Machine Settings&lt;br /&gt;
&lt;br /&gt;
Alternatively you can press CTRL + D to bring settings dialog box.&lt;br /&gt;
&lt;br /&gt;
Click on Add+ to add new hardware to guest:&lt;br /&gt;
&lt;br /&gt;
[[Fichier:VirtualMachineSettings2.png]]&amp;lt;br&amp;gt;Fig.02: VMWare adding a new hardware&lt;br /&gt;
&lt;br /&gt;
Select hardware type Hard disk and click on Next&lt;br /&gt;
&lt;br /&gt;
[[Fichier:VirtualMachineSettings3.png]]&amp;lt;br&amp;gt;Fig.03 VMware Adding a new disk wizard&lt;br /&gt;
&lt;br /&gt;
Select create a new virtual disk and click on Next&lt;br /&gt;
&lt;br /&gt;
[[Fichier:VirtualMachineSettings4.png]]&amp;lt;br&amp;gt;Fig.04: Vmware Wizard Disk&lt;br /&gt;
&lt;br /&gt;
Set virtual disk type to SCSI and click on Next&lt;br /&gt;
&lt;br /&gt;
[[Fichier:VirtualMachineSettings5.png]]&amp;lt;br&amp;gt;Fig.05: Vmware Virtual Disk&lt;br /&gt;
&lt;br /&gt;
Set maximum disk size as per your requirements and click on Next&lt;br /&gt;
&lt;br /&gt;
[[Fichier:VirtualMachineSettings6.png]]&amp;lt;br&amp;gt;Fig.06: Finalizing Disk Virtual Addition&lt;br /&gt;
&lt;br /&gt;
Finally, set file location and click on Finish.&lt;br /&gt;
&lt;br /&gt;
== Step # 2: Rescan the SCSI Bus to Add a SCSI Device Without rebooting the VM ==&lt;br /&gt;
&lt;br /&gt;
A rescan can be issued by typing the following command:&lt;br /&gt;
 echo &amp;quot;- - -&amp;quot; &amp;gt; /sys/class/scsi_host/host#/scan&lt;br /&gt;
 fdisk -l&lt;br /&gt;
 tail -f /var/log/message&lt;br /&gt;
&lt;br /&gt;
Sample outputs:&lt;br /&gt;
&lt;br /&gt;
[[Fichier:LinuxRescanHardDisk.png]]&amp;lt;br&amp;gt;Fig.01:Linux Vmware Rescan New Scsi Disk Without Reboot&lt;br /&gt;
&lt;br /&gt;
Replace host# with actual value such as host0. You can find scsi_host value using the following command:&lt;br /&gt;
 ls /sys/class/scsi_host&lt;br /&gt;
&lt;br /&gt;
Output:&lt;br /&gt;
 host0&lt;br /&gt;
Now type the following to send a rescan request:&lt;br /&gt;
 echo &amp;quot;- - -&amp;quot; &amp;gt; /sys/class/scsi_host/host0/scan&lt;br /&gt;
 fdisk -l&lt;br /&gt;
 tail -f /var/log/message&lt;br /&gt;
&lt;br /&gt;
Sample Outputs:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:   Vendor: VMware,   Model: VMware Virtual S  Rev: 1.0&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:  target0:0:1: Beginning Domain Validation&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:  target0:0:1: Domain Validation skipping write tests&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:  target0:0:1: Ending Domain Validation&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:  target0:0:1: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 127)&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: SCSI device sdb: 2097152 512-byte hdwr sectors (1074 MB)&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sdb: Write Protect is off&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sdb: cache data unavailable&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sdb: assuming drive cache: write through&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: SCSI device sdb: 2097152 512-byte hdwr sectors (1074 MB)&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sdb: Write Protect is off&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sdb: cache data unavailable&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sdb: assuming drive cache: write through&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:  sdb: unknown partition table&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sd 0:0:1:0: Attached scsi disk sdb&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sd 0:0:1:0: Attached scsi generic sg1 type 0&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:   Vendor: VMware,   Model: VMware Virtual S  Rev: 1.0&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:  target0:0:2: Beginning Domain Validation&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:  target0:0:2: Domain Validation skipping write tests&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:  target0:0:2: Ending Domain Validation&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:  target0:0:2: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 127)&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: SCSI device sdc: 2097152 512-byte hdwr sectors (1074 MB)&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sdc: Write Protect is off&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sdc: cache data unavailable&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sdc: assuming drive cache: write through&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: SCSI device sdc: 2097152 512-byte hdwr sectors (1074 MB)&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sdc: Write Protect is off&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sdc: cache data unavailable&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sdc: assuming drive cache: write through&lt;br /&gt;
Jul 18 16:29:39 localhost kernel:  sdc: unknown partition table&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sd 0:0:2:0: Attached scsi disk sdc&lt;br /&gt;
Jul 18 16:29:39 localhost kernel: sd 0:0:2:0: Attached scsi generic sg2 type 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
How Do I Delete a Single Device Called /dev/sdc?&lt;br /&gt;
&lt;br /&gt;
In addition to re-scanning the entire bus, a specific device can be added or existing device deleted using the following command:&lt;br /&gt;
 echo 1 &amp;gt; /sys/block/devName/device/delete&lt;br /&gt;
 echo 1 &amp;gt; /sys/block/sdc/device/delete&lt;br /&gt;
&lt;br /&gt;
How Do I Add a Single Device Called /dev/sdc?&lt;br /&gt;
&lt;br /&gt;
To add a single device explicitly, use the following syntax:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;echo &amp;quot;scsi add-single-device &amp;lt;H&amp;gt; &amp;lt;B&amp;gt; &amp;lt;T&amp;gt; &amp;lt;L&amp;gt;&amp;quot; &amp;gt; /proc/scsi/scsi&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where,&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;&amp;lt;H&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; : Host&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;&amp;lt;B&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; : Bus (Channel)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;&amp;lt;T&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; : Target (Id)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;&amp;lt;L&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; : LUN numbers&lt;br /&gt;
For e.g. add /dev/sdc with &amp;lt;nowiki&amp;gt;host # 0, bus # 0, target # 2, and LUN # 0&amp;lt;/nowiki&amp;gt;, enter:&lt;br /&gt;
 echo &amp;quot;scsi add-single-device 0 0 2 0&amp;quot;&amp;gt;/proc/scsi/scsi&lt;br /&gt;
 fdisk -l&lt;br /&gt;
 cat /proc/scsi/scsi&lt;br /&gt;
&lt;br /&gt;
Sample Outputs:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Attached devices:&lt;br /&gt;
Host: scsi0 Channel: 00 Id: 00 Lun: 00&lt;br /&gt;
  Vendor: VMware,  Model: VMware Virtual S Rev: 1.0&lt;br /&gt;
  Type:   Direct-Access                    ANSI SCSI revision: 02&lt;br /&gt;
Host: scsi0 Channel: 00 Id: 01 Lun: 00&lt;br /&gt;
  Vendor: VMware,  Model: VMware Virtual S Rev: 1.0&lt;br /&gt;
  Type:   Direct-Access                    ANSI SCSI revision: 02&lt;br /&gt;
Host: scsi0 Channel: 00 Id: 02 Lun: 00&lt;br /&gt;
  Vendor: VMware,  Model: VMware Virtual S Rev: 1.0&lt;br /&gt;
  Type:   Direct-Access                    ANSI SCSI revision: 02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Step #3: Format a New Disk ==&lt;br /&gt;
&lt;br /&gt;
Now, you can create partition using fdisk and format it using mkfs.ext3 command:&lt;br /&gt;
 fdisk /dev/sdc&lt;br /&gt;
 mkfs.ext3 /dev/sdc3&lt;br /&gt;
&lt;br /&gt;
== Step #4: Create a Mount Point And Update /etc/fstab ==&lt;br /&gt;
&lt;br /&gt;
 mkdir /disk3&lt;br /&gt;
&lt;br /&gt;
Open /etc/fstab file, enter:&lt;br /&gt;
 vi /etc/fstab&lt;br /&gt;
&lt;br /&gt;
Append as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/sdc3               /disk3           ext3    defaults        1 2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save and close the file.&lt;br /&gt;
&lt;br /&gt;
== Optional Task: Label the partition ==&lt;br /&gt;
&lt;br /&gt;
You can label the partition using e2label. For example, if you want to label the new partition /backupDisk, enter&lt;br /&gt;
 e2label /dev/sdc1 /backupDisk&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
The VMware guest now has an additional virtualized storage device. The procedure works for all physical block devices, this includes CD-ROM, DVD and floppy devices. Next, time I will write about adding an additional virtualized storage device using XEN software.&lt;/div&gt;</summary>
		<author><name>Didier</name></author>
	</entry>
</feed>