<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: Obtaining VMware Guest Disk Free Space for NFS Sizing</title> <atom:link href="http://vmtoday.com/2008/12/obtaining-vmware-guest-disk-free-space-for-nfs-sizing/feed/" rel="self" type="application/rss+xml" /><link>http://vmtoday.com/2008/12/obtaining-vmware-guest-disk-free-space-for-nfs-sizing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=obtaining-vmware-guest-disk-free-space-for-nfs-sizing</link> <description>VMware News, Views, &#38; How-To&#039;s from vExpert Josh Townsend</description> <lastBuildDate>Thu, 09 Feb 2012 18:56:44 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Richard</title><link>http://vmtoday.com/2008/12/obtaining-vmware-guest-disk-free-space-for-nfs-sizing/comment-page-1/#comment-3200</link> <dc:creator>Richard</dc:creator> <pubDate>Wed, 04 Jan 2012 17:02:33 +0000</pubDate> <guid
isPermaLink="false">http://vmtoday.com/?p=11#comment-3200</guid> <description>Is there a change that needs to be made to the function used for binding Excel to support 2010?
# Function used for binding to Excel
function Invoke([object]$m, [string]$method, $parameters)
{  $m.PSBase.GetType().InvokeMember($method, [Reflection.BindingFlags]::InvokeMethod, $null, $m, $parameters, [System.Globalization.CultureInfo]&quot;en-US&quot;)  }</description> <content:encoded><![CDATA[<p>Is there a change that needs to be made to the function used for binding Excel to support 2010?<br
/> # Function used for binding to Excel<br
/> function Invoke([object]$m, [string]$method, $parameters)<br
/> {  $m.PSBase.GetType().InvokeMember($method, [Reflection.BindingFlags]::InvokeMethod, $null, $m, $parameters, [System.Globalization.CultureInfo]&#8220;en-US&#8221;)  }</p> ]]></content:encoded> </item> <item><title>By: Joshua Townsend</title><link>http://vmtoday.com/2008/12/obtaining-vmware-guest-disk-free-space-for-nfs-sizing/comment-page-1/#comment-2186</link> <dc:creator>Joshua Townsend</dc:creator> <pubDate>Fri, 21 Jan 2011 16:29:10 +0000</pubDate> <guid
isPermaLink="false">http://vmtoday.com/?p=11#comment-2186</guid> <description>You beat me to it!  Thanks for sharing back, Brendan!</description> <content:encoded><![CDATA[<p>You beat me to it!  Thanks for sharing back, Brendan!</p> ]]></content:encoded> </item> <item><title>By: Brendan</title><link>http://vmtoday.com/2008/12/obtaining-vmware-guest-disk-free-space-for-nfs-sizing/comment-page-1/#comment-2185</link> <dc:creator>Brendan</dc:creator> <pubDate>Fri, 21 Jan 2011 15:04:13 +0000</pubDate> <guid
isPermaLink="false">http://vmtoday.com/?p=11#comment-2185</guid> <description>Had one of our SQL query gurus take a look and we had to make the following adjustments for this platform.SELECT VPX_GUEST_DISK.VM_ID, VPX_GUEST_DISK.PATH, VPX_GUEST_DISK.CAPACITY,
CONVERT(bigint, VPX_GUEST_DISK.CAPACITY) / 1048576 AS &#039;CAPACITY_MB&#039;, VPX_GUEST_DISK.FREE_SPACE,
CONVERT(bigint, VPX_GUEST_DISK.FREE_SPACE) / 1048576 AS &#039;FREE_MB&#039;, VPX_HOST.ID,
VPX_HOST.DATACENTER_ID, VPX_HOST.DNS_NAME, VPX_VM.ID, VPX_VM.DATACENTER_ID, VPX_VM.FILE_NAME,
VPX_VM.LOCAL_FILE_NAME, VPX_VM.POWER_STATE, VPX_VM.GUEST_OS, VPX_VM.GUEST_STATE, VPX_VM.MEM_SIZE_MB,
VPX_VM.NUM_DISK, VPX_VM.DNS_NAME, VPX_VM.IS_TEMPLATE, VPX_VM.HOST_ID
FROM [database_name].[dbo].VPX_GUEST_DISK, [database_name].[dbo].VPX_HOST, [database_name].[dbo].VPX_VM
WHERE [database_name].[dbo].VPX_VM.ID = [database_name].[dbo].VPX_GUEST_DISK.VM_ID AND [database_name].[dbo].VPX_HOST.ID = [database_name].[dbo].VPX_VM.HOST_ID</description> <content:encoded><![CDATA[<p>Had one of our SQL query gurus take a look and we had to make the following adjustments for this platform.</p><p>SELECT VPX_GUEST_DISK.VM_ID, VPX_GUEST_DISK.PATH, VPX_GUEST_DISK.CAPACITY,<br
/> CONVERT(bigint, VPX_GUEST_DISK.CAPACITY) / 1048576 AS &#8216;CAPACITY_MB&#8217;, VPX_GUEST_DISK.FREE_SPACE,<br
/> CONVERT(bigint, VPX_GUEST_DISK.FREE_SPACE) / 1048576 AS &#8216;FREE_MB&#8217;, VPX_HOST.ID,<br
/> VPX_HOST.DATACENTER_ID, VPX_HOST.DNS_NAME, VPX_VM.ID, VPX_VM.DATACENTER_ID, VPX_VM.FILE_NAME,<br
/> VPX_VM.LOCAL_FILE_NAME, VPX_VM.POWER_STATE, VPX_VM.GUEST_OS, VPX_VM.GUEST_STATE, VPX_VM.MEM_SIZE_MB,<br
/> VPX_VM.NUM_DISK, VPX_VM.DNS_NAME, VPX_VM.IS_TEMPLATE, VPX_VM.HOST_ID<br
/> FROM [database_name].[dbo].VPX_GUEST_DISK, [database_name].[dbo].VPX_HOST, [database_name].[dbo].VPX_VM<br
/> WHERE [database_name].[dbo].VPX_VM.ID = [database_name].[dbo].VPX_GUEST_DISK.VM_ID AND [database_name].[dbo].VPX_HOST.ID = [database_name].[dbo].VPX_VM.HOST_ID</p> ]]></content:encoded> </item> <item><title>By: Joshua Townsend</title><link>http://vmtoday.com/2008/12/obtaining-vmware-guest-disk-free-space-for-nfs-sizing/comment-page-1/#comment-2184</link> <dc:creator>Joshua Townsend</dc:creator> <pubDate>Thu, 20 Jan 2011 19:01:23 +0000</pubDate> <guid
isPermaLink="false">http://vmtoday.com/?p=11#comment-2184</guid> <description>Brendan - I don&#039;t know off the top of my head, but your timing couldn&#039;t be better.  I was just about to try this query against my 4.1/SQL 2008 setup.  I&#039;ll let you know what I discover.</description> <content:encoded><![CDATA[<p>Brendan &#8211; I don&#8217;t know off the top of my head, but your timing couldn&#8217;t be better.  I was just about to try this query against my 4.1/SQL 2008 setup.  I&#8217;ll let you know what I discover.</p> ]]></content:encoded> </item> <item><title>By: Brendan</title><link>http://vmtoday.com/2008/12/obtaining-vmware-guest-disk-free-space-for-nfs-sizing/comment-page-1/#comment-2183</link> <dc:creator>Brendan</dc:creator> <pubDate>Thu, 20 Jan 2011 18:58:39 +0000</pubDate> <guid
isPermaLink="false">http://vmtoday.com/?p=11#comment-2183</guid> <description>Any idea what VMware vCenter and SQL platforms/releases are associated with SQL query above?We&#039;re trying to run against vCenter 4.1, SQL 2008 and getting syntax errors.  Our presumption is that the DB schema may be different thus throwing an error.</description> <content:encoded><![CDATA[<p>Any idea what VMware vCenter and SQL platforms/releases are associated with SQL query above?</p><p>We&#8217;re trying to run against vCenter 4.1, SQL 2008 and getting syntax errors.  Our presumption is that the DB schema may be different thus throwing an error.</p> ]]></content:encoded> </item> <item><title>By: Guest Free Disk Space Revisited &#124; VMtoday</title><link>http://vmtoday.com/2008/12/obtaining-vmware-guest-disk-free-space-for-nfs-sizing/comment-page-1/#comment-8</link> <dc:creator>Guest Free Disk Space Revisited &#124; VMtoday</dc:creator> <pubDate>Fri, 16 Jan 2009 15:52:50 +0000</pubDate> <guid
isPermaLink="false">http://vmtoday.com/?p=11#comment-8</guid> <description>[...] wrote about a method for determining guest free disk space using a PowerShell script a couple weeks ago.  Scott Lowe picked up the post on his blog last [...]</description> <content:encoded><![CDATA[<p>[...] wrote about a method for determining guest free disk space using a PowerShell script a couple weeks ago.  Scott Lowe picked up the post on his blog last [...]</p> ]]></content:encoded> </item> <item><title>By: Joshua Townsend</title><link>http://vmtoday.com/2008/12/obtaining-vmware-guest-disk-free-space-for-nfs-sizing/comment-page-1/#comment-5</link> <dc:creator>Joshua Townsend</dc:creator> <pubDate>Wed, 07 Jan 2009 18:56:57 +0000</pubDate> <guid
isPermaLink="false">http://vmtoday.com/?p=11#comment-5</guid> <description>Thanks for the pingback, Scott. You are correct on there being a vCenter plugin for obtaining free disk space - Rich Garsthagen wrote a plug-in called VCPlus that accomplishes this (http://www.run-virtual.com/?page_id=145). I used it for a while a few years back and had mixed results (some VM’s were just not being reported on). Rich and I emailed back and forth a few times trying to figure it out but I dropped off as new projects demanded time. VCPlus also offers a few other neat options such as showing snapshot status and syncing the DNS name with the VC display name for each guest. Rich also has a sample script for the VI Perl Toolkit called VMDiskFree that can report on guest free space.Josh</description> <content:encoded><![CDATA[<p>Thanks for the pingback, Scott. You are correct on there being a vCenter plugin for obtaining free disk space &#8211; Rich Garsthagen wrote a plug-in called VCPlus that accomplishes this (<a
href="http://www.run-virtual.com/?page_id=145" rel="nofollow">http://www.run-virtual.com/?page_id=145</a>). I used it for a while a few years back and had mixed results (some VM’s were just not being reported on). Rich and I emailed back and forth a few times trying to figure it out but I dropped off as new projects demanded time. VCPlus also offers a few other neat options such as showing snapshot status and syncing the DNS name with the VC display name for each guest. Rich also has a sample script for the VI Perl Toolkit called VMDiskFree that can report on guest free space.</p><p>Josh</p> ]]></content:encoded> </item> <item><title>By: Virtualization Short Take #25 - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers</title><link>http://vmtoday.com/2008/12/obtaining-vmware-guest-disk-free-space-for-nfs-sizing/comment-page-1/#comment-4</link> <dc:creator>Virtualization Short Take #25 - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers</dc:creator> <pubDate>Wed, 07 Jan 2009 18:29:46 +0000</pubDate> <guid
isPermaLink="false">http://vmtoday.com/?p=11#comment-4</guid> <description>[...] Townsend has a good post at VMtoday.com about using PowerShell and SQL queries to determine the amount of free space within guest VMs. As he states in his post, this can often [...]</description> <content:encoded><![CDATA[<p>[...] Townsend has a good post at VMtoday.com about using PowerShell and SQL queries to determine the amount of free space within guest VMs. As he states in his post, this can often [...]</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 4/23 queries in 0.034 seconds using disk: basic
Object Caching 434/444 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: cloudfront.vmtoday.com

Served from: vmtoday.com @ 2012-02-10 07:54:09 -->
