<?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>Utility Computing dot China &#187; vmware</title>
	<atom:link href="http://www.utilitycomputing.com.cn/tag/vmware/feed" rel="self" type="application/rss+xml" />
	<link>http://www.utilitycomputing.com.cn</link>
	<description>数 据 嘉 年 华</description>
	<lastBuildDate>Wed, 25 Aug 2010 14:32:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>VMWARE Keyboard Repeating Madness</title>
		<link>http://www.utilitycomputing.com.cn/the-cloud/vmware-keyboard-repeating-madness</link>
		<comments>http://www.utilitycomputing.com.cn/the-cloud/vmware-keyboard-repeating-madness#comments</comments>
		<pubDate>Wed, 25 Aug 2010 10:46:49 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[The Cloud]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[keystuck]]></category>
		<category><![CDATA[repeat]]></category>
		<category><![CDATA[stuck keys]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=561</guid>
		<description><![CDATA[This issue has bugged me for well over 5 years.  VMWARE has some weird issue - mainly with Linux hosts where the keyoard goes crazy and a single key press cause a million entries to appear.]]></description>
			<content:encoded><![CDATA[<p>This issue has bugged me for well over 5 years.  VMWARE has some weird issue &#8211; mainly with Linux hosts where the keyoard goes crazy and a single key press cause a million entries to appear.  Much like the stoned virus of circa 1989 that really got to me when it ruined my Wing Commander install!</p>
<p>Anyway &#8211; this problem gets worse with the distributed IDC/Cloud.  So just add this little line to the advnced properties of any (read all) hosts.</p>
<p>keyboard.typematicMinDelay = 2000000</p>
<p>While one normally uses SSH or RDP to get to remote machines &#8211; when boot strapping, or post cloning and need to change a mac address binding or any other of small thing, this keyboard bug will drive you nuts.  Especially when a 30 second downtime blows out.  And all you want to do is edit 2 or 3 characters.</p>
<p>Breath&#8230;. please take this all and be happy as I am now.  <img src='http://www.utilitycomputing.com.cn/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/the-cloud/vmware-keyboard-repeating-madness/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CANDIS got a mention in a Drupal.org write up for our work with TheBeijinger.com</title>
		<link>http://www.utilitycomputing.com.cn/china/i-got-a-mention-in-a-drupalorg-writeup</link>
		<comments>http://www.utilitycomputing.com.cn/china/i-got-a-mention-in-a-drupalorg-writeup#comments</comments>
		<pubDate>Wed, 25 Mar 2009 05:09:52 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Business Development]]></category>
		<category><![CDATA[China]]></category>
		<category><![CDATA[FOSS/GNU/Linux]]></category>
		<category><![CDATA[The Cloud]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[virtualisation]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=183</guid>
		<description><![CDATA[While no way near as cool or professional as my stint in CNN a couple of years back. It is still cool though; http://drupal.org/node/357715]]></description>
			<content:encoded><![CDATA[<p>While no way near as cool or professional as my stint in CNN a couple of years back.  It is still cool though;</p>
<p><a href="http://drupal.org/node/357715">http://drupal.org/node/357715</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/china/i-got-a-mention-in-a-drupalorg-writeup/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Busy Bee, China Storage Fabric, Thin Clients, iSCSI SAN’s and more</title>
		<link>http://www.utilitycomputing.com.cn/china/busy-bee-china-storage-fabric-thin-clients-iscsi-sans-and-more</link>
		<comments>http://www.utilitycomputing.com.cn/china/busy-bee-china-storage-fabric-thin-clients-iscsi-sans-and-more#comments</comments>
		<pubDate>Mon, 20 Oct 2008 17:34:04 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Business Development]]></category>
		<category><![CDATA[China]]></category>
		<category><![CDATA[The Cloud]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[san]]></category>
		<category><![CDATA[utility computing]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=182</guid>
		<description><![CDATA[Been a bit busy of late. Many new clients and some large contracts (our largest to date). Our utility infrastructure has grown a lot too. Some of the projects and services that we are working on now and hope to launch very soon are: - Grid Computing - China wide redundant &#8220;Storage Fabric&#8221; - China [...]]]></description>
			<content:encoded><![CDATA[<p>Been a bit busy of late.  Many new clients and some large contracts (our largest to date).  Our utility infrastructure has grown a lot too.  Some of the projects and services that we are working on now and hope to launch very soon are:</p>
<p><span id="more-182"></span></p>
<p>- Grid Computing</p>
<p>- China wide redundant &#8220;Storage Fabric&#8221;</p>
<p>- China Optimised International and Local Routing</p>
<p>- Geographic IP and IDC Failover</p>
<p>- More thin client goodness</p>
<p>BTW &#8211; never use Windows Server 2008.  It sucks.  It has &#8220;VISTA&#8221; written all over it&#8230;.literally in all the help files and what not.  It is a true dog of an OS&#8230;but the Terminal Services support is WAAAAAY better.  Not that W2K3 was bad &#8211; this is just even more fluid &#8211; especially under virtualisation.</p>
<p>Will update soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/china/busy-bee-china-storage-fabric-thin-clients-iscsi-sans-and-more/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESX: Recover from expanded disk with existing snapshot or corrupted snapshots</title>
		<link>http://www.utilitycomputing.com.cn/the-cloud/recover-from-expanded-disk-with-existing-snapshot-or-corrupted-snapshots</link>
		<comments>http://www.utilitycomputing.com.cn/the-cloud/recover-from-expanded-disk-with-existing-snapshot-or-corrupted-snapshots#comments</comments>
		<pubDate>Tue, 13 Nov 2007 16:35:32 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[The Cloud]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[expansion]]></category>
		<category><![CDATA[snapshots vi3]]></category>
		<category><![CDATA[virtual disks]]></category>
		<category><![CDATA[vmkfstools]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=120</guid>
		<description><![CDATA[I had a nasty shock this week with ESX3. I was going about expanding virtual disks and reallocating resources for one client. Now, I have done this MANY times, so I thought that &#8220;the 2 day old backup is sufficient&#8221; and did not wait 3-4 hours for a new backup, right before what will be [...]]]></description>
			<content:encoded><![CDATA[<p>I had a nasty shock this week with ESX3.</p>
<p>I was going about expanding virtual disks and reallocating resources for one client.  Now, I have done this MANY times, so I thought that &#8220;the 2 day old backup is sufficient&#8221; and did not wait 3-4 hours for a new backup, right before what will be a 10 min task.</p>
<p>I went to expand the virtual disks from the COS and noticed that there were some &#8220;Virtual-Disk-000001-delta.vmdk&#8221; and &#8220;Virtual-Disk-000001.vmdk&#8221; files present.</p>
<p><em>&#8220;Oh, a snapshot is here for some reason..?&#8221;</em>, I pondered.  I then went into the VI3 management console, drilled down to said VPS and went to the snapshot manager, expecting to find a snapshot and then simply commit it to the main disk so I could get back to expanding.</p>
<p><span id="more-120"></span> What I found was &#8220;No Snapshots for this Virtual Server&#8221;.</p>
<p>Hmmm&#8230;.. <em>&#8220;maybe they are old snapshot files that should have been deleted, but weren&#8217;t&#8221;</em>, I further mused.  And =IF= it is a snapshot, surely vmkfstools will not let me run a dangerous or incompatible command.  So off I went to expand this virtual disk by another 100GB.</p>
<p>- Expand disk:</p>
<p><strong>&#8220;vmware-cmd –X 220GB Virtual-Disk.vmdk&#8221;</strong></p>
<p>Expansion done.  All looks good.  Fire up VPS&#8230;..</p>
<p>&#8220;Sorry VPS can&#8217;t be started because one of the base files that a given snapshot is based on has been modified and thus can&#8217;t be mounted&#8221;.</p>
<p><strong> &#8221; *^&amp;#*^&amp;@(*&amp;!(@&amp;(!*&amp;(&amp;! &#8220;</strong></p>
<p>Ok, no harm no foul.  The actual disk is not changed.  Doing an expand with vmkfstools just adds a marker for more size&#8230; surely I can just remove the extra addition, &#8216;rollback the expansion&#8217; so to speak and all will be spiffy?</p>
<p>Nup.  Even though I knew in the back of my head that shrinking a VMDK was NOT POSSIBLE in ESX3 as it was in ESX2.5, I still went searching in the faint hope that I had overlooked some trick during past information gathering exercises when I was not under so much pressure and panic as I was this time.</p>
<p>No dice.  What I knew was confirmed.  I can&#8217;t shrink it.  I can&#8217;t even load up ghost and mirror, because the main problem is that this  <em>Virtual-Disk-000001-delta.vmdk </em>file should be appended to the end.  And seeing as it was 25GB in size, for what is a 100GB virtual disk and the data stamp was some 3 months prior &#8211; there is A LOT of data and changes that are at risk now.</p>
<p><strong> &#8221; *^&amp;#*^&amp;@(*&amp;!(@&amp;(!*&amp;(&amp;! &#8220;</strong></p>
<p>OK, on to google again.  After some searching and a lot of effort in trying to refine my query, which was needed, because as opposed to what I actually found out (this being the #4 and #5 global support issues for VMWARE), information was scant.   I did manage to find a couple of blogs that had some very brief and lacking in all technical detail, reviews of the recent VMWorld summit.</p>
<p>So with that hook, I then started to search on detailed info from that summit and managed to get a PPT file from one of the developers.  And inside were all the details that I needed.  Or thought that I needed.  Because with any system as complicated as VMWARE, definitions of words and correct semantics can make if very difficult to get a clear grasp of one problem, versus a slight variation of it.  And even a slight change can come with very different procedures to use and using the wrong ones could make a problem worse.  First rule &#8211; do no more harm.</p>
<p>I then went to the page that was titled <strong>&#8220;Expanding the size of a VMDK with an existing Snapshot&#8221;</strong>.  I did not know if this meant, <em>&#8220;how to expand a VMDK with an existing snapshot and keep it intact&#8221;</em>, or <em>&#8220;How to recover from a monumental screw up that only an idiot would do, when expecting vmkfstools to do all due diligence for him and has fucked up the VMDK that happened to have a current and active snapshot that wasn&#8217;t committed to the main VMDK file first&#8221;</em></p>
<p>I assumed it meant the latter, being &#8220;tech support&#8221; and &#8220;high rating&#8221;&#8230; if it was documentary of a feature or process it would have been, well, better documented.</p>
<p>The procedure is this:</p>
<p>- After I was an idiot and issued this command to cause all the problems:</p>
<p><strong><em> &#8220;vmkfstools –X 220G Virtual-Disk.vmdk&#8221; </em></strong></p>
<p>- Check the &#8220;Virtual-Disk.vmdk&#8221; file with vi and look for the following lines:</p>
<p><em><strong> RW 482344960 VMFS &#8220;Virtual-Disk-000001-delta.vmdk&#8221;</strong></em></p>
<p>- Now check the &#8220;Virtual-Disk-000001.vmdk&#8221; file and look for the following lines:</p>
<p><em><strong> RW 209715200 VMFS &#8220;Virtual-Disk-000001-delta.vmdk&#8221;</strong></em></p>
<p>What we now know is the current RW value on the newly expanded &#8220;Virtual-Disk.vmdk&#8221; and it is 482344960.  We want to &#8216;trick&#8217; the system into thinking that the expand never happened.  So we then go and replace that value with the one we got from the delta vmdk.  So we replace 492344960 with 209715200.</p>
<p>- Now we need to commit all snap shots:</p>
<p><strong><em> &#8220;vmware-cmd /vmfs/volumes/VMFSVOLUME/VPS/VPS.vmx removesnapshots&#8221;</em></strong></p>
<p>Unfortunately I was not done yet.  The system reported back that the virtual machine &#8220;VPS.vmx&#8221; did not have any snapshots present!  <em>&#8220;Ah ha&#8221;</em> I thought.  While this is not good, it is also the reason why vmkfstools went on and screwed everything in the start.  There is a snapshot there &#8211; that is a fact &#8211; but the system does not believe so.</p>
<p>This is where global common VMWARE problem #5 comes in, <strong>&#8220;Corrupted .VMSD file&#8221;</strong>.  In a nutshell this means that the file that tracks all this snapshot info (amongst other tid bits) is somehow compromised.  So a new one is needed.  This is also fairly simple once you know how:</p>
<p>- First rename the current VMSD file:</p>
<p><strong> mv VPS.vmsd VPS.vmsd.old</strong></p>
<p>- Now create a new snapshot to force the system to generate a new all emcompasing VMSD file:</p>
<p><strong>&#8220;vmware-cmd VPS.vmx createsnapshot addedforrecovey &#8220;You are an IDIOT&#8221; </strong></p>
<p>- Now commit all snapshots like we wanted to do before anyway.  You have to commit them all:</p>
<p><strong>&#8220;vmware-cmd VPS.vmx removesnapshots&#8221;</strong></p>
<p>Now that all the snapshots are committed (the original one and the temp one we made to help recreate the VMSD file) we can continue the process of fixing up our expanding a disk issue.   And this is as simple as running the initial vmkfstools expand command that we ran before, that caused all the problems.  This is needed so that the correct RW values are set in Virtual-Disk.vmdk&#8221; because in the end, the virtual disk IS expanded already.</p>
<p>- So issue the command:</p>
<p><strong>&#8220;vmware-cmd –X 220GB Virtual-Disk.vmdk&#8221; </strong></p>
<p>In the end, I am NOT STUPID enough to try and expand a virtual disk with a snapshot.  However if you DO SEE delta files in your file system, do not trust the VI3 clients snapshot manager if it says &#8220;No Snapshots present&#8221;.  As a matter of caution, I would follow the process above to recreate a new VMSD file to be sure and commit the temporary and any other snapshots that may exist.  Then you can go on and expand your disks.</p>
<p>Also, make sure that you have backups.  While I did and they weren&#8217;t totally fresh and the client was not too upset when briefed of the situation, it could have been much worse.</p>
<p><strong>ALWAYS BACKUP! </strong></p>
<p><strong>DON&#8217;T LET A JUNIOR TECH TOUCH THINGS!</strong></p>
<p><strong>TAKE THE TIME TO RELAX AND ASSES THE SITUATION BEFORE YOU POSSIBLY MAKE IT WORSE! </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/the-cloud/recover-from-expanded-disk-with-existing-snapshot-or-corrupted-snapshots/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>The New Virtual Infrastructure</title>
		<link>http://www.utilitycomputing.com.cn/tech-horizon/the-new-virtual-infrastrucutre</link>
		<comments>http://www.utilitycomputing.com.cn/tech-horizon/the-new-virtual-infrastrucutre#comments</comments>
		<pubDate>Sun, 04 Nov 2007 19:08:33 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Tech Horizon]]></category>
		<category><![CDATA[The Cloud]]></category>
		<category><![CDATA[big iron]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=114</guid>
		<description><![CDATA[I have been using VMWARE/BOCHS and UML for around 7 years now. And boy have things moved quickly! Most recently VMWARE announced their new products. ESX 3.5 is basically the same as ESX3, the main new feature that all people could use is the central patch management system. The feature that is really putting this [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using VMWARE/BOCHS and UML for around 7 years now.  And boy have things moved quickly!  Most recently VMWARE announced their new products.  ESX 3.5 is basically the same as ESX3, the main new feature that all people could use is the central patch management system.  The feature that is really putting this product well into the &#8220;Enterprise&#8221; class is the SAN motion system.  Think VMOTION for SAN&#8217;s.  Well seeing as most SANS cost around 300,000 RMB, it must be nice to be able to have at least TWO of them, to then use this functionality.</p>
<p>What is a mixed bag in my mind is the new ESX3i.  It will be first released in the new Dell VORSO servers, originally due to ship this month and as confirmed by my DELL Sales manager, is slipping into the new year.  These servers will not need hard disks (So what about core dumps, logs and swap?) but will have embedded flash with the hypervisor installed.</p>
<p><span id="more-114"></span> On the surface it looks like the Hypervisor is now part of the system board.  It ain&#8217;t.  So I don&#8217;t expect ESX3i to give any speed increase.  What I do expect is that it will give a massive boost to deployment times.  If you are deploying new servers at the rate of one or more a week, this is cool.  Right now at CANDIS with blades, we have all the wiring already in place due to the chassis.  But we still need to go in through the management card to setup the OS.  Yes we can open the box and slide in the blade and have a new server fully setup physically.  But not the software.  From the looks of ESX3i, it goes a step further.  Power on the system, it finds a VC server, configures itself, boots up and presents it&#8217;s resources to the farm, ready to be dynamically allocated by the VC server.</p>
<p>Oh, they also have smart power management that can power down systems when their computing resources are not needed.  This is cool.  Since we pay about .2 RMB per kilowatt of power, it does add up.  The new low voltage XEON&#8217;s are great power savers, as are the new high efficiency power supplies.  However add in those dynamic server on/off controls and you will be able to make a serious dent in your power bill.  Oh, and keep the <a href="http://www.greenpeace.org/">&#8220;Eco-Terrorists&#8221;</a> happy too and thus maybe avoid a politically correct jihad aimed at you, unlike poor <a href="http://gizmodo.com/gadgets/greenpeace-vs-iphone/greenpeace-responds-to-alarmist-claims-admits-targeting-apple-grabs-headlines-313728.php">Apple Inc</a>.</p>
<p><a href="http://www.vmware.com"> VMWARE</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/tech-horizon/the-new-virtual-infrastrucutre/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When 73GB is not 73GB!  Enter LVM</title>
		<link>http://www.utilitycomputing.com.cn/fossgnulinux/when-73gb-is-not-73g</link>
		<comments>http://www.utilitycomputing.com.cn/fossgnulinux/when-73gb-is-not-73g#comments</comments>
		<pubDate>Sat, 06 Oct 2007 20:38:25 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[FOSS/GNU/Linux]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=99</guid>
		<description><![CDATA[Thought I should write something tech for a change! It is golden week here and all are away on break. So instead of forcing a staff member to come back, I thought I would take care of some stuff myself. My problems started when a client who has a large advertising cluster, was running their [...]]]></description>
			<content:encoded><![CDATA[<p>Thought I should write something tech for a change!  <img src='http://www.utilitycomputing.com.cn/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>It is golden week here and all are away on break.  So instead of forcing a staff member to come back, I thought I would take care of some stuff myself.</p>
<p>My problems started when a client who has a large advertising cluster, was running their main statistics database (for click fraud detection) on a Dell 1950 with only 1 SAS 15K drive.</p>
<p>I had suggested that this node, not being redundant like the tomcat servers be individually redundant, so DRAC card, redundant power and RAID.</p>
<p>Anyway, some new blades, Dell 1955&#8242;s arrived for the cluster and I thought, well, lets save the client some money, image the old 1950 DB server and load it onto a new 1955 server?</p>
<p>I thought this would be simple with Acronis.</p>
<p>No it wasn&#8217;t.</p>
<p>It turns out that a 3.5 Inch 73GB SAS drive is not the same size as a 2.5 Inch 73GB SAS drive.  So I could not write my system image to the blades raid 1 array of 2 x 15K 73GB SAS drives.</p>
<p><span id="more-99"></span> Shite!  If I reinstall the DB server it is not worth my time.  Cheaper to buy the upgrade parts for the 1950.</p>
<p>Then I thought, well, I have LVM, I should be able to do this, after all I have used LVM before many times on large storage arrays.</p>
<p>So my goal was this, I needed a system image that was a couple hundred megs smaller than it was now, so it will go into the 1955&#8242;s ok.</p>
<p>This is where I added in VMWARE to the mix and made this an easy task.  The steps are below:</p>
<ol>
<li>Image the 1950 server to some ACRONIS TIB files somewhere.  I used FTP</li>
<li>Image the TIB file to a new VPS made with a 73GB virtual disk</li>
<li>Create and attach a new 65GB virtual disk to the virtual machine</li>
<li>Image the MBR and /boot partitions using acronis onto the new 65GB virtual disk</li>
<li>Boot virtual machine with a rescue/live CD</li>
<li>Load FDISK for /dev/sdb and create a new LVM (Type 8e) partition in the remaining space on the 65GB virtual drive</li>
<li>Enter LVM with the <em>&#8220;lvm&#8221;</em> command</li>
<li>Activate all Volume Groups with the command <em>&#8220;vgchange -a y&#8221;</em></li>
<li>EXIT out of LVM and then run this command to resize the EXT3 file system, <em>&#8220;resize2fs /dev/VolGroup/LogVol00 40G&#8221;</em>, you may have to run <em>&#8220;e2fschk -f /dev/VolGroup00/LogVol00&#8243; </em>first too</li>
<li>Enter LVM again with the <em>&#8220;lvm&#8221;</em> command</li>
<li>Now we can reduce the Logical Volume that had the recently shrunk EXT3 file system on it with this command, <em>&#8220;lvreduce LogVol00 -L 45G&#8221;</em></li>
<li>Because we are making a new custom boot image and we have already imaged over the /boot partition and MBR, we now want our old 73GB virtual drive to not have any of the same markings as our embryonic new 65GB virtual drive.  To do this we need to change the Volume Group and Logical Volume names to something new:</li>
<li><em>lvrename VolGroup00 LogVol00 LogVol10</em></li>
<li><em>lvrename VolGroup00 LogVol01 LogVol11</em></li>
<li><em>lvchange LogVol10 -a n</em></li>
<li><em>lvchange LogVol11 -a n</em></li>
<li><em>vgchange VolGroup00 VolGroup10</em></li>
<li>Now we can create the new Logical Volumes and Volume Groups on the 65GB virtual disk in preparation for cloning our now 40GB EXT3 file system</li>
<li>Make a new Physical Volume first wit, <em>&#8220;pvcreate /dev/sdb2&#8243;</em></li>
<li><em>pvscan</em></li>
<li><em>vgcreate VolGroup00 /dev/sdb2</em></li>
<li><em>vgscan</em></li>
<li><em>lvcreate VolGroup00 /dev/sdb2 -n LogVol01 -L 2G</em></li>
<li><em>lvcreate VolGroup00 /dev/sdb2 -n LogVol00 -L 50G</em></li>
<li><em>lvscan</em></li>
<li>Now we need to make our new LVM&#8217;s online and visible to the system so we run the command vgchange again,  <em>&#8220;vgchange -a y&#8221;</em></li>
<li>EXIT</li>
<li>Back at the command prompt we need to now setup our new SWAP partition, so we issue the command, <em>&#8220;mkswap /dev/VolGroup00/LogVol01&#8243;</em></li>
<li>Now we can clone our old 40GB EXT3 partion that we shrunk to our new LVM which is larger than 40GB, but smaller than 65GB, so it will image onto the PE1955 2.5 SAS drive array</li>
<li>We use an old favourite for this, <em>&#8220;dd if=/dev/VolGroup10/LogVol10 of=/dev/VolGroup00/LogVol00&#8243;</em></li>
<li>Once done, shutdown the VPS, boot up in Acronis and image the new 65GB virtual drive and then load it onto the PE1955 server.  DONE!</li>
</ol>
<p>I did all of this in single user mode so as to minimise the need for KUDZU to rescan and change all hardware.  I can do this because of the hardware commonality in the 9th generation Dell servers.</p>
<p>Also once done, the new LVM will be smaller than the full capacity of the 73GB SAS 2.5 SAS drive.  This is easily fixed while online. by making a new partition /dev/sda3 of LVM type (8e), making it into a Physical Volume, adding it to VolGroup00 and then extending the LogVol00 logical volume with the newly added extents.   Once that is done, go back to the command prompt and use the ext2online command to finally expand your EXT3 partition to use all the space on the LVM.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/fossgnulinux/when-73gb-is-not-73g/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Off-shoring and Fujitsu took my idea!</title>
		<link>http://www.utilitycomputing.com.cn/china/fujitsu-did-you-take-my-business-plan</link>
		<comments>http://www.utilitycomputing.com.cn/china/fujitsu-did-you-take-my-business-plan#comments</comments>
		<pubDate>Sun, 19 Aug 2007 14:17:59 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Business Development]]></category>
		<category><![CDATA[China]]></category>
		<category><![CDATA[Tech Horizon]]></category>
		<category><![CDATA[The Cloud]]></category>
		<category><![CDATA[aggregation]]></category>
		<category><![CDATA[Outsourcing]]></category>
		<category><![CDATA[thin clients]]></category>
		<category><![CDATA[utility computing]]></category>
		<category><![CDATA[virtualized environments]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=40</guid>
		<description><![CDATA[It is nice to see that I am not too &#8220;out there&#8221; in my thoughts. http://www.zdnetasia.com/news/business/0,39044229,62030996,00.htm Difference is, they are still paying too much $$$$ to over paid western IT staff that really don&#8217;t do any serious Computer Science or R+D. That&#8217;s where China comes in! Global economy people, get with it, or get left [...]]]></description>
			<content:encoded><![CDATA[<p>It is nice to see that I am not too &#8220;out there&#8221; in my thoughts.<a href="http://www.zdnetasia.com/news/business/0,39044229,62030996,00.htm"> http://www.zdnetasia.com/news/business/0,39044229,62030996,00.htm </a></p>
<p>Difference is, they are still paying too much $$$$ to over paid western IT staff that really don&#8217;t do any serious Computer Science or R+D.  That&#8217;s where China comes in!  Global economy people, get with it, or get left behind.   Times they are a changing, as is technology.  Put these two  together and one had better not get too comfortable in their own job in this industry and this day and age.</p>
<p><span id="more-40"></span></p>
<p>I can&#8217;t believe that in Australia some IT workers still claim 100+ K salaries.  While that is fine for a capable and experienced business analyst, but a web developer or any kind of programmer in general??  Desktop support staff?  DBA&#8217;s?   That is the real danger to this industry, over paid, self important IT geeks who believe that IT can only be done well in the west and that everything that comes out of India, Korea, Brazil or China must be dodgy or below quality.</p>
<p><a href="http://news.com.com/Offshoring+U.S.+needs+reforms,+not+rhetoric/2009-1070_3-5198156.html">FUD.</a></p>
<p>Some people are in for a rude shock in the coming years.  Especially those without a diversified skill set that reaches beyond tech or who can&#8217;t fluently speak at least one foreign language (Chinese or Spanish being ideal candidates).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/china/fujitsu-did-you-take-my-business-plan/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
