<?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>NetworkJew &#187; linux</title>
	<atom:link href="http://networkjew.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://networkjew.com</link>
	<description>Network tips, news and technology.</description>
	<lastBuildDate>Fri, 21 May 2010 13:10:17 +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>Expand Virtual Disks in VMWare ESX with GParted</title>
		<link>http://networkjew.com/2009/04/17/expand-virtual-disks-in-vmware-esx-with-gparted/</link>
		<comments>http://networkjew.com/2009/04/17/expand-virtual-disks-in-vmware-esx-with-gparted/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 18:08:16 +0000</pubDate>
		<dc:creator>Network Jew</dc:creator>
				<category><![CDATA[Drive Utilities]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[expand]]></category>
		<category><![CDATA[expand boot drive]]></category>
		<category><![CDATA[gparted]]></category>
		<category><![CDATA[vmdk]]></category>
		<category><![CDATA[vmkfstools]]></category>

		<guid isPermaLink="false">http://networkjew.com/?p=274</guid>
		<description><![CDATA[<a href=http://networkjew.com/2009/04/17/expand-virtual-disks-in-vmware-esx-with-gparted/><img src=http://networkjew.com/wp-content/uploads/2009/04/gparted_logo2-300x300.png class=imgtfe hspace=5 align=left width=225  border=0></a>]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-275" href="http://networkjew.com/2009/04/17/expand-virtual-disks-in-vmware-esx-with-gparted/gparted_logo2/"><img class="alignleft size-medium wp-image-275" title="gparted_logo2" src="http://networkjew.com/wp-content/uploads/2009/04/gparted_logo2-300x300.png" alt="gparted logo2 300x300 Expand Virtual Disks in VMWare ESX with GParted" width="300" height="300" /></a>Every now and then one of your virtual server&#8217;s C:\ drive will get close to filling up. Windows 2003 and earlier don&#8217;t make it that easy to expand the size of the boot partition. Luckily, by using some built-in VMWare tools and a handy GParted Live CD we can still make this happen without reformatting.</p>
<p>First, shut down the virtual guest with the full hard drive. Once it&#8217;s shut down, commit any snapshots to disk by deleting all snapshots in the snapshot manager.</p>
<p>Connect to your ESX server host via console or ssh, and navigate to the directory where the .vmdk files reside for this guest. Decide on a size that you want to increase your hard drive to. Make sure to leave room for future services packs and patches, etc.,</p>
<p>type this:</p>
<p><a href="http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=994&amp;sliceId=1&amp;docTypeID=DT_KB_1_1&amp;dialogID=679825&amp;stateId=0%200%20677372">vmkfstools</a> t -X <em>50g </em><em>myvmguest.</em>vmdk</p>
<p>Replace <em>myvmguest </em>with the appropriate vmdk file name and replace <em>50g </em>with the appropriate size for your environment.</p>
<p>It should only take a second or two, as all its doing is making a change to the file&#8217;s header so it thinks its now larger than it was.</p>
<p>Now, go grab a copy of <a href="http://gparted.sourceforge.net/download.php">GPARTED here</a>. Download the ISO. In the CD-ROM Settings for your Virtual Guest, point it to the ISO you just downloaded. You may need to SCP this file to the server. Make sure its set to CONNECTED and CONNECT AT STARTUP.</p>
<p>Now power on the virtual guest, but quickly get keyboard control and hit ESC to choose another boot device. Choose CD and the GPARTED live CD should fire up.</p>
<p>Answer the keyboard questions when they come up. After a minute or so, GPARTED should load up and discover your hard drives automatically.</p>
<p>You should see a visual representation of your boot drive now, with a bunch of free space at the endthe partition. Right-click on the partition and choose Resize/Move. Drag the slider to increase the partition to the new size.  Click Resize. Click Apply at the top. Depending on the size of your partition, this may take a while. Check the progress, and when its done, quit, reboot back into Windows.</p>
<p>Your boot drive should now be larger.  No charge.</p>
]]></content:encoded>
			<wfw:commentRss>http://networkjew.com/2009/04/17/expand-virtual-disks-in-vmware-esx-with-gparted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SIOCSIFADDR Error After Moving Ubuntu Virtual Machine to ESX Server</title>
		<link>http://networkjew.com/2009/04/14/siocsifaddr-error-after-moving-ubuntu-virtual-machine-to-esx-server/</link>
		<comments>http://networkjew.com/2009/04/14/siocsifaddr-error-after-moving-ubuntu-virtual-machine-to-esx-server/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 14:36:14 +0000</pubDate>
		<dc:creator>Network Jew</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[no such device]]></category>
		<category><![CDATA[SIOCSIFADDR]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://networkjew.com/?p=267</guid>
		<description><![CDATA[<a href=http://networkjew.com/2009/04/14/siocsifaddr-error-after-moving-ubuntu-virtual-machine-to-esx-server/><img src=http://networkjew.com/wp-content/uploads/2009/04/ubuntu-1280x1024-300x240.png class=imgtfe hspace=5 align=left width=225  border=0></a>]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-268" href="http://networkjew.com/2009/04/14/siocsifaddr-error-after-moving-ubuntu-virtual-machine-to-esx-server/ubuntu-1280x1024/"><img class="alignleft size-medium wp-image-268" title="ubuntu-1280x1024" src="http://networkjew.com/wp-content/uploads/2009/04/ubuntu-1280x1024-300x240.png" alt="ubuntu 1280x1024 300x240 SIOCSIFADDR Error After Moving Ubuntu Virtual Machine to ESX Server" width="180" height="144" /></a>After moving a virtual machine (Ubuntu guest) from Vmware Server to VMWare ESX server using VMware Converter, I received the following error after powering up the new VM:</p>
<p><strong>SIOCSIFADDR: No such device eth0<br />
eth0: ERROR while getting interface flags: No such device</strong></p>
<p>When I ran ifconfig only lo showed up. No eth0 to be seen anywhere. After hunting around the net for a few minutes I came across some tips that helped.</p>
<p>First I ran:<br />
<strong>ifconfig -a</strong></p>
<p>This showed me two adapters &#8211; lo and eth2. Aha!</p>
<p><strong>sudo ifconfig eth2 up</strong> brought the interface up for me, and sudo dhclient got me an ipaddress, but after rebooting the problem came back.</p>
<p>Next step was to edit this file:<br />
<strong>/etc/udev/rules.d/70-persistent-net.rules</strong></p>
<p>Looking at that file, I could see my adapter listed as well as a couple others. I commented out the ones with the wrong MAC address, found the correct one and changed the entry for eth2 to eth0.</p>
<p>I rebooted and everything was gold.</p>
<p>Thank you Google.</p>
]]></content:encoded>
			<wfw:commentRss>http://networkjew.com/2009/04/14/siocsifaddr-error-after-moving-ubuntu-virtual-machine-to-esx-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
