<?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>mainesysadmin.com &#187; cli</title>
	<atom:link href="http://mainesysadmin.com/tag/cli/feed/" rel="self" type="application/rss+xml" />
	<link>http://mainesysadmin.com</link>
	<description>SysAdmin in Maine</description>
	<lastBuildDate>Wed, 06 Jan 2010 16:24:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HowTo &#8211; VMware ESX 3.5 and remote syslog configuration</title>
		<link>http://mainesysadmin.com/2008/12/17/howto-vmware-esx-35-and-remote-syslog-configuration/</link>
		<comments>http://mainesysadmin.com/2008/12/17/howto-vmware-esx-35-and-remote-syslog-configuration/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 20:16:46 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vi3]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[snmp]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://mainesysadmin.com/?p=168</guid>
		<description><![CDATA[
SSH over to the ESX server required.  You&#8217;ll need sudo or root access to complete the following.
To view the file:  cat /etc/syslog.conf
To modify the file:  vi /etc/syslog.conf (google for vi help if required, i = insert.  esc = exit insert mode)
Move to the bottom of the file and add the line in the next step [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>SSH over to the ESX server required.  You&#8217;ll need sudo or root access to complete the following.</li>
<li>To view the file:  <em>cat /etc/syslog.conf</em></li>
<li>To modify the file:  <em>vi /etc/syslog.conf</em> (google for vi help if required, i = insert.  esc = exit insert mode)</li>
<li>Move to the bottom of the file and add the line in the next step if you want ALL the logs to be sent over to your syslog server.</li>
<li>#syslog server setup<br />
*.*    @syslogsrv.mydomain</li>
<li>The first line in the above line is commented out by the # sign, the second line tells all the log files to be sent to &#8220;syslogsrv.mydomain&#8221;.  Use an ip address for the syslog server if you want this to work when your DNS server goes down.</li>
<li><em>service syslog restart </em>(restarts the syslog service)<em><br />
</em></li>
<li><em>esxcfg-firewall -o 514,udp,out,syslog </em>(opens the local firewall to allow remote syslogging)<em><br />
</em></li>
<li><em>esxcfg-firewall -l </em>(reloads the new firewall configuration)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mainesysadmin.com/2008/12/17/howto-vmware-esx-35-and-remote-syslog-configuration/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; Disable the system beep from CLI in Ubuntu 8.10</title>
		<link>http://mainesysadmin.com/2008/11/25/howto-disable-the-system-beep-from-cli-in-ubuntu-810/</link>
		<comments>http://mainesysadmin.com/2008/11/25/howto-disable-the-system-beep-from-cli-in-ubuntu-810/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 20:03:56 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[cli]]></category>

		<guid isPermaLink="false">http://mainesysadmin.com/?p=162</guid>
		<description><![CDATA[My previous posting is no longer valid.  Gnome has removed the tab for the sounds menu where you can use the gui to disable the system beep.  Here&#8217;s how you can disable this from the CLI.
sudo rmmod pcspkr
Done deal.  If you want your system beep back, well first off&#8230;curse you if I sit next to [...]]]></description>
			<content:encoded><![CDATA[<p>My previous posting is no longer valid.  Gnome has removed the tab for the sounds menu where you can use the gui to disable the system beep.  Here&#8217;s how you can disable this from the CLI.</p>
<p><em>sudo</em> <em><code>rmmod pcspkr</code></em></p>
<p>Done deal.  If you want your system beep back, well first off&#8230;curse you if I sit next to you.  Type in the following to enable it:</p>
<p><em><code>sudo modprobe pcspkr</code></em></p>
<p>got this from:  <a href="http://lifehacker.com/software/ubuntu/hack-attack-top-10-ubuntu-apps-and-tweaks-195437.php" target="_blank" onclick="javascript:pageTracker._trackPageview ('/outbound/lifehacker.com');">lifehacker</a> (per usual)</p>
]]></content:encoded>
			<wfw:commentRss>http://mainesysadmin.com/2008/11/25/howto-disable-the-system-beep-from-cli-in-ubuntu-810/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>VMware HA Agent has an error</title>
		<link>http://mainesysadmin.com/2008/11/18/vmware-ha-agent-has-an-error/</link>
		<comments>http://mainesysadmin.com/2008/11/18/vmware-ha-agent-has-an-error/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 17:04:55 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[esx]]></category>
		<category><![CDATA[ha]]></category>
		<category><![CDATA[vi3]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[drs]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://mainesysadmin.com/?p=158</guid>
		<description><![CDATA[This vague message turned into a nightmare for myself this past Sunday.  I was able to get the problem fixed with minimal downtime as the issue only came up during a Sunday maint. window (ironic).
I had patched my ESX hosts to Update2 (patched version) and started receiving the error &#8220;VMware HA Agent has an error&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>This vague message turned into a nightmare for myself this past Sunday.  I was able to get the problem fixed with minimal downtime as the issue only came up during a Sunday maint. window (ironic).</p>
<p>I had patched my ESX hosts to Update2 (patched version) and started receiving the error &#8220;VMware HA Agent has an error&#8221; in my virtual infrastructure client.  First step is to make sure you&#8217;re running a compliant version of Virtual Center with your ESX.  Ok, Check.</p>
<p>Next check your host files in each esx host located here:  /etc/hosts</p>
<p>You should see the default line of 127.0.0.1 for localhost, below there needs to be at least one linewith the host your working on.</p>
<p>192.168.1.103     esx9.yourdomain.com     esx9</p>
<p>Over the past 3 years I&#8217;ve seen conflicting guidance over the configuration of the host files .  In 3.0.2 I was required to enter all my hosts in each host file, but now that seems to be resolved and only requires the local details of the host you&#8217;re working with.  In short make sure that you can ping your hosts from each host with the FQDN and/or friendly name and you should be all good there.</p>
<p>The next steps were found on some vmtn.net postings, and I lost the URL amongst all my troubleshooting but I saved the resolution.  For myself I found the following steps helpful in resolving the problem&#8230;.</p>
<p>The problem in my situation was specifically around the Virtual Center agents and conflicting versions.</p>
<ul>
<li>Check the vpxa version on your host: <em> rpm -qa |grep vpxa</em></li>
<li>That will give you the current version of vpxa that you&#8217;re running. eg:  VMware-vpxa-2.5.0-104215</li>
<li>Stop the VMware mgmt service:  <em>service mgmt-vmware stop</em></li>
<li>Stop the vpx agent:  <em>/etc/init.d/vmware-vpxa stop</em></li>
<li>The vpx agent error can be ignored (<em>warning: /etc/vmware/vpxa.cfg saved as /etc/vmware/vpxa.cfg.rpmsave</em>)</li>
<li>Remember your vpx version from the first step and use it here to remove the vpx agent.</li>
<li><em>rpm -e VMware-vpxa-2.5.0-104215</em></li>
<li>Switch over to your Virtual Center client and remove the host you just modified (guest vms will remain)</li>
<li>Reboot the host (vm&#8217;s will go down)</li>
<li>After boot reconnect the host to VC and the latest vpx agent will be intstalled.</li>
<li>Enable HA and the error should disappear.</li>
</ul>
<p>Luckily my event occurred on a Sunday.  This was the first time that the guest vm&#8217;s experienced unplanned downtime without being able to vmotion in 3 years.  Be careful with those VMware patches!</p>
]]></content:encoded>
			<wfw:commentRss>http://mainesysadmin.com/2008/11/18/vmware-ha-agent-has-an-error/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; create a volume greater than 2 terabytes in win2k3 (min sp1)</title>
		<link>http://mainesysadmin.com/2008/10/24/howto-create-a-volume-greater-than-2-terabytes-in-win2k3-min-sp1/</link>
		<comments>http://mainesysadmin.com/2008/10/24/howto-create-a-volume-greater-than-2-terabytes-in-win2k3-min-sp1/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 16:59:12 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[netapp]]></category>
		<category><![CDATA[san]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[win2k3]]></category>

		<guid isPermaLink="false">http://mainesysadmin.com/?p=150</guid>
		<description><![CDATA[For a task that is REALLY easy it took a more googling than I had anticipated to come up with the solution.  Once your volume has been delivered to the server it is important to initialize the disk but not to create any partitions.

Open Windows Disk management.
Click Action -&#62; Rescan disks to make your new [...]]]></description>
			<content:encoded><![CDATA[<p>For a task that is REALLY easy it took a more googling than I had anticipated to come up with the solution.  Once your volume has been delivered to the server it is important to initialize the disk but not to create any partitions.</p>
<ol>
<li>Open Windows Disk management.</li>
<li>Click Action -&gt; Rescan disks to make your new disk appear, if greater than 2tb it will appear as 2 partitions on 1 disk</li>
<li>Right click on the disk and initialize the disk</li>
<li>Open a windows command prompt</li>
<li>type &#8220;diskpart&#8221;</li>
<li>type &#8220;list disk&#8221;</li>
<li>select the new disk that&#8217;s over 2tb</li>
<li>convert gpt</li>
<li>Now from windows Disk Management you should see a single disk greater than 2tb</li>
</ol>
<p>Information on the diskpart utility:   <a href="http://support.microsoft.com/default.aspx/kb/300415" target="_blank" onclick="javascript:pageTracker._trackPageview ('/outbound/support.microsoft.com');">http://support.microsoft.com/default.aspx/kb/300415</a></p>
<p>The most important prereqs include Windows 2k3 is up to at least sp1 and that no partitions exist on the disk.</p>
]]></content:encoded>
			<wfw:commentRss>http://mainesysadmin.com/2008/10/24/howto-create-a-volume-greater-than-2-terabytes-in-win2k3-min-sp1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; enable HA if HA/DRS is not enabled when in Virtual Center and enable fails</title>
		<link>http://mainesysadmin.com/2008/07/21/how-to-enable-ha-if-virtual-center-fails-on-enable/</link>
		<comments>http://mainesysadmin.com/2008/07/21/how-to-enable-ha-if-virtual-center-fails-on-enable/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 14:03:18 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[vi3]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[drs]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://mainesysadmin.com/2008/07/21/how-to-enable-ha-if-virtual-center-fails-on-enable/</guid>
		<description><![CDATA[I came into work this morning and one of the ESX hosts had HA disabled.  The network engineers replaced the core switch and I have to assume the NIC connectivity caused HA to disable since they were all down at once.  One command helped me get HA enabled:
SSH to the host that is disabled and [...]]]></description>
			<content:encoded><![CDATA[<p>I came into work this morning and one of the ESX hosts had HA disabled.  The network engineers replaced the core switch and I have to assume the NIC connectivity caused HA to disable since they were all down at once.  One command helped me get HA enabled:</p>
<p>SSH to the host that is disabled and as root execute:</p>
<p><em>service mgmt-vmware restart</em></p>
<p>Then enable HA after successfully running the command.</p>
]]></content:encoded>
			<wfw:commentRss>http://mainesysadmin.com/2008/07/21/how-to-enable-ha-if-virtual-center-fails-on-enable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; remove a windows service from cli?</title>
		<link>http://mainesysadmin.com/2008/06/03/how-to-remove-a-windows-service-from-cli/</link>
		<comments>http://mainesysadmin.com/2008/06/03/how-to-remove-a-windows-service-from-cli/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 14:24:17 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://mainesysadmin.com/2008/06/03/how-to-remove-a-windows-service-from-cli/</guid>
		<description><![CDATA[If you&#8217;d like to delete a service from your view from within windows server 2003 you can use the following commands.
First top the service:
net stop &#8220;service name&#8221;
the next command will delete it&#8230;
sc delete &#8220;service name&#8221;
***The &#8220;service name&#8221; isn&#8217;t always the name listed under names when you bring up the services console gui.  Select the service [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;d like to delete a service from your view from within windows server 2003 you can use the following commands.</p>
<p>First top the service:</p>
<p><em>net stop &#8220;service name&#8221;</em></p>
<p>the next command will delete it&#8230;</p>
<p><em>sc delete &#8220;service name&#8221;</em><br />
<em>***</em>The &#8220;service name&#8221; isn&#8217;t always the name listed under names when you bring up the services console gui.  Select the service you&#8217;d like to delete and review the properties.  The actual windows registry service name will be listed at the top of the properties sheet for that service.</p>
]]></content:encoded>
			<wfw:commentRss>http://mainesysadmin.com/2008/06/03/how-to-remove-a-windows-service-from-cli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; extend/expand a VM guest in VMware esx vi3</title>
		<link>http://mainesysadmin.com/2008/05/07/how-to-extendexpand-a-vm-guest-in-vmware-esx-vi3/</link>
		<comments>http://mainesysadmin.com/2008/05/07/how-to-extendexpand-a-vm-guest-in-vmware-esx-vi3/#comments</comments>
		<pubDate>Wed, 07 May 2008 17:52:00 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[esx]]></category>
		<category><![CDATA[vi3]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[management]]></category>

		<guid isPermaLink="false">http://mainesysadmin.com/2008/05/07/how-to-extendexpand-a-vm-guest-in-vmware-esx-vi3/</guid>
		<description><![CDATA[Use putty or ssh to connect one of the hosts that can access the files of the vm guest you&#8217;d like to work with.  Browse to the location of the vm guest on your SAN or disk.
Only 1, yes one command on the vmware side to extend or expand the disk.  Please power your VM [...]]]></description>
			<content:encoded><![CDATA[<p>Use putty or ssh to connect one of the hosts that can access the files of the vm guest you&#8217;d like to work with.  Browse to the location of the vm guest on your SAN or disk.</p>
<p>Only 1, yes one command on the vmware side to extend or expand the disk.  Please power your VM guest down before attempting this&#8230;</p>
<p><em>vmkfstools -X 15G disk1.vmdk </em> (where 15G is the final size you want the disk to expand too).</p>
<p>Now if this is the O/S drive for a guest VM you&#8217;ll need to use the VI3 client to attach the VMDK to another VM as a second hard drive.  This is only for a few minutes so that you can run diskpart from within windows.  Diskpart is not allowed to run on an O/S partition.</p>
<p>After you&#8217;ve added the drive as a second drive to another helper VM you can run the following commands.  If the drive is already a second drive you don&#8217;t have to add it to a helper VM.</p>
<p>Open a windows cmd prompt and enter the following&#8230;</p>
<p>1)diskpart.exe<br />
2)list disk<br />
3)list volume<br />
4)select volume=#   (where # = the volume you need to expand)<br />
5)extend</p>
<p>Don&#8217;t forget to detach the vmdk from your helper vm!</p>
]]></content:encoded>
			<wfw:commentRss>http://mainesysadmin.com/2008/05/07/how-to-extendexpand-a-vm-guest-in-vmware-esx-vi3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; generate diagnostic logs for vmware esx from cli</title>
		<link>http://mainesysadmin.com/2008/04/30/how-to-generate-diagnostic-logs-for-vmware-esx-from-cli/</link>
		<comments>http://mainesysadmin.com/2008/04/30/how-to-generate-diagnostic-logs-for-vmware-esx-from-cli/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 18:13:41 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[vi3]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://mainesysadmin.com/2008/04/30/how-to-generate-diagnostic-logs-for-vmware-esx-from-cli/</guid>
		<description><![CDATA[While working with vmware support on the phone they required me to run a job from Virtual center to gather diagnostic log data from our VI3 cluster.  You can try this by opening your, &#8220;Virtual Infrastructure Client&#8221; and selecting the &#8220;Administration&#8221; menu and then &#8220;Export Diagnostic Data&#8221;.  When I run this command for as little [...]]]></description>
			<content:encoded><![CDATA[<p>While working with vmware support on the phone they required me to run a job from Virtual center to gather diagnostic log data from our VI3 cluster.  You can try this by opening your, &#8220;Virtual Infrastructure Client&#8221; and selecting the &#8220;Administration&#8221; menu and then &#8220;Export Diagnostic Data&#8221;.  When I run this command for as little or much information required I ALWAYS get the following error, &#8220;Failed to create diagnostic bundle.&#8221;</p>
<p>If you ssh to your host directly you can run the following command from each host and sftp the logs from the host afterwards.</p>
<p><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">vm-support</span></p>
]]></content:encoded>
			<wfw:commentRss>http://mainesysadmin.com/2008/04/30/how-to-generate-diagnostic-logs-for-vmware-esx-from-cli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; Windows shutdown GUI and remote shutdown capabilities</title>
		<link>http://mainesysadmin.com/2008/04/30/how-to-windows-shutdown-gui-and-remote-shutdown-capabilities/</link>
		<comments>http://mainesysadmin.com/2008/04/30/how-to-windows-shutdown-gui-and-remote-shutdown-capabilities/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 15:38:56 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://mainesysadmin.com/2008/04/30/how-to-windows-shutdown-gui-and-remote-shutdown-capabilities/</guid>
		<description><![CDATA[From a windows command prompt you can get a shutdown gui.  This is cool because you can use it to execute remote shutdowns with ease and not have to remember all the flags.
start-&#62;run-&#62;  cmd
c:\shutdown.exe -i
The gui should be launched.  I find it handy when a server is supposed to reboot and gets &#8220;stuck&#8221;.  Some windows [...]]]></description>
			<content:encoded><![CDATA[<p>From a windows command prompt you can get a shutdown gui.  This is cool because you can use it to execute remote shutdowns with ease and not have to remember all the flags.</p>
<p>start-&gt;run-&gt;  cmd</p>
<p>c:\shutdown.exe -i</p>
<p>The gui should be launched.  I find it handy when a server is supposed to reboot and gets &#8220;stuck&#8221;.  Some windows servers just don&#8217;t shutdown cleanly and hang on the process.  If you execute another remote shutdown command you can force the server out of the endless shutdown, and save yourself from a drive into the server room.</p>
]]></content:encoded>
			<wfw:commentRss>http://mainesysadmin.com/2008/04/30/how-to-windows-shutdown-gui-and-remote-shutdown-capabilities/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; extend a vm vmdk with vmware server or vmware workstation</title>
		<link>http://mainesysadmin.com/2007/08/15/how-to-extend-a-vm-vmdk/</link>
		<comments>http://mainesysadmin.com/2007/08/15/how-to-extend-a-vm-vmdk/#comments</comments>
		<pubDate>Wed, 15 Aug 2007 12:41:00 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[cli]]></category>

		<guid isPermaLink="false">http://mainesysadmin.com/blog/?p=5</guid>
		<description><![CDATA[On your vmware host run the following command from your windows host command prompt:
C:\path to vmware\vmware-vdiskmanager –x 50Gb windows.vmdk  (where windows.vmdk is the vmdk to expand)
Now boot your VM, login and run the following commands from within the vm to expand your new vmdk
1)diskpart.exe
2)list disk
3)list volume
4)select volume=#   (where # = the volume you need to [...]]]></description>
			<content:encoded><![CDATA[<p>On your vmware host run the following command from your windows host command prompt:</p>
<p>C:\path to vmware\vmware-vdiskmanager –x 50Gb windows.vmdk  (where windows.vmdk is the vmdk to expand)</p>
<p>Now boot your VM, login and run the following commands from within the vm to expand your new vmdk</p>
<p>1)diskpart.exe<br />
2)list disk<br />
3)list volume<br />
4)select volume=#   (where # = the volume you need to expand)<br />
5)extend</p>
]]></content:encoded>
			<wfw:commentRss>http://mainesysadmin.com/2007/08/15/how-to-extend-a-vm-vmdk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
