ict-freak.nl
Open in
urlscan Pro
192.0.78.25
Public Scan
Submitted URL: http://ict-freak.nl/2011/04/01/storage-vmotion-only-one-hard-disk-to-another-datastore-in-vsphere/
Effective URL: https://ict-freak.nl/2011/04/01/storage-vmotion-only-one-hard-disk-to-another-datastore-in-vsphere/
Submission: On July 27 via manual from US — Scanned from NL
Effective URL: https://ict-freak.nl/2011/04/01/storage-vmotion-only-one-hard-disk-to-another-datastore-in-vsphere/
Submission: On July 27 via manual from US — Scanned from NL
Form analysis
5 forms found in the DOMGET https://ict-freak.nl/
<form role="search" method="get" class="search-form" action="https://ict-freak.nl/">
<label>
<span class="screen-reader-text">Search for:</span>
<input type="search" class="search-field" placeholder="Search …" value="" name="s" title="Search for:">
<span class="search-form-icon"></span>
</label>
<input type="submit" class="search-submit" value="Search">
</form>
POST https://ict-freak.nl/wp-comments-post.php
<form action="https://ict-freak.nl/wp-comments-post.php" method="post" id="commentform" class="comment-form" novalidate=""><input type="hidden" id="highlander_comment_nonce" name="highlander_comment_nonce" value="0cdbb89a2e"><input type="hidden"
name="_wp_http_referer" value="/2011/04/01/storage-vmotion-only-one-hard-disk-to-another-datastore-in-vsphere/">
<input type="hidden" name="hc_post_as" id="hc_post_as" value="guest">
<div class="comment-form-field comment-textarea">
<div id="comment-form-comment">
<textarea id="comment" name="comment" title="Enter your comment here..." placeholder="Enter your comment here..." style="overflow: hidden; overflow-wrap: break-word; resize: none; height: 38px;"></textarea>
</div>
</div>
<div id="comment-form-identity" style="display: none;">
<div id="comment-form-nascar">
<p>Fill in your details below or click an icon to log in:</p>
<ul>
<li class="selected" style="display:none;">
<a href="#comment-form-guest" id="postas-guest" class="nascar-signin-link" title="Login via Guest">
</a>
</li>
<li>
<a href="#comment-form-load-service:WordPress.com" id="postas-wordpress" class="nascar-signin-link" title="Login via WordPress.com">
<svg xmlns="http://www.w3.org/2000/svg" role="presentation" viewBox="0 0 24 24"><rect x="0" fill="none" width="24" height="24"></rect><g><path fill="#0087be" d="M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"></path></g></svg> </a>
</li>
<li>
<a href="#comment-form-load-service:Facebook" id="postas-facebook" class="nascar-signin-link" title="Login via Facebook">
<svg xmlns="http://www.w3.org/2000/svg" role="presentation" viewBox="0 0 24 24"><rect x="0" fill="none" width="24" height="24"></rect><g><path fill="#3B5998" d="M20.007 3H3.993C3.445 3 3 3.445 3 3.993v16.013c0 .55.445.994.993.994h8.62v-6.97H10.27V11.31h2.346V9.31c0-2.325 1.42-3.59 3.494-3.59.993 0 1.847.073 2.096.106v2.43h-1.438c-1.128 0-1.346.537-1.346 1.324v1.734h2.69l-.35 2.717h-2.34V21h4.587c.548 0 .993-.445.993-.993V3.993c0-.548-.445-.993-.993-.993z"></path></g></svg> </a>
</li>
</ul>
</div>
<div id="comment-form-guest" class="comment-form-service selected">
<div class="comment-form-padder">
<div class="comment-form-avatar">
<a href="https://gravatar.com/site/signup/" target="_blank"> <img src="https://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=25&d=&forcedefault=y&r=G" srcset="https://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=25&d=&forcedefault=y&r=G 1x, https://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=38&d=&forcedefault=y&r=G 1.5x, https://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=50&d=&forcedefault=y&r=G 2x, https://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=75&d=&forcedefault=y&r=G 3x, https://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=100&d=&forcedefault=y&r=G 4x" alt="Gravatar" width="25" class="no-grav grav-hashed grav-hijack" id="grav-ad516503a11cd5ca435acc9bb6523536-0">
</a>
</div>
<div class="comment-form-fields">
<div class="comment-form-field comment-form-email">
<label for="email">Email <span class="required">(required)</span> <span class="nopublish">(Address never made public)</span></label>
<div class="comment-form-input"><input id="email" name="email" type="email" value=""></div>
</div>
<div class="comment-form-field comment-form-author">
<label for="author">Name <span class="required">(required)</span></label>
<div class="comment-form-input"><input id="author" name="author" type="text" value=""></div>
</div>
<div class="comment-form-field comment-form-url">
<label for="url">Website</label>
<div class="comment-form-input"><input id="url" name="url" type="url" value=""></div>
</div>
</div>
</div>
</div>
<div id="comment-form-wordpress" class="comment-form-service">
<div class="comment-form-padder">
<div class="comment-form-avatar">
<img src="https://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=25&d=&forcedefault=y&r=G"
srcset="https://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=25&d=&forcedefault=y&r=G 1x, https://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=38&d=&forcedefault=y&r=G 1.5x, https://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=50&d=&forcedefault=y&r=G 2x, https://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=75&d=&forcedefault=y&r=G 3x, https://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=100&d=&forcedefault=y&r=G 4x"
alt="WordPress.com Logo" width="25" class="no-grav grav-hashed grav-hijack" id="grav-ad516503a11cd5ca435acc9bb6523536-1">
</div>
<div class="comment-form-fields">
<input type="hidden" name="wp_avatar" id="wordpress-avatar" class="comment-meta-wordpress" value="">
<input type="hidden" name="wp_user_id" id="wordpress-user_id" class="comment-meta-wordpress" value="">
<input type="hidden" name="wp_access_token" id="wordpress-access_token" class="comment-meta-wordpress" value="">
<p class="comment-form-posting-as pa-wordpress">
<strong></strong> You are commenting using your WordPress.com account. <span class="comment-form-log-out"> ( <a href="javascript:HighlanderComments.doExternalLogout( 'wordpress' );">Log Out</a> /
<a href="#" onclick="javascript:HighlanderComments.switchAccount();return false;">Change</a> ) </span>
<span class="pa-icon"><svg xmlns="http://www.w3.org/2000/svg" role="presentation" viewBox="0 0 24 24">
<rect x="0" fill="none" width="24" height="24"></rect>
<g>
<path fill="#0087be"
d="M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z">
</path>
</g>
</svg></span>
</p>
</div>
</div>
</div>
<div id="comment-form-facebook" class="comment-form-service">
<div class="comment-form-padder">
<div class="comment-form-avatar">
<img src="" alt="Facebook photo" width="25" class="no-grav">
</div>
<div class="comment-form-fields">
<input type="hidden" name="fb_avatar" id="facebook-avatar" class="comment-meta-facebook" value="">
<input type="hidden" name="fb_user_id" id="facebook-user_id" class="comment-meta-facebook" value="">
<input type="hidden" name="fb_access_token" id="facebook-access_token" class="comment-meta-facebook" value="">
<p class="comment-form-posting-as pa-facebook">
<strong></strong> You are commenting using your Facebook account. <span class="comment-form-log-out"> ( <a href="javascript:HighlanderComments.doExternalLogout( 'facebook' );">Log Out</a> /
<a href="#" onclick="javascript:HighlanderComments.switchAccount();return false;">Change</a> ) </span>
<span class="pa-icon"><svg xmlns="http://www.w3.org/2000/svg" role="presentation" viewBox="0 0 24 24">
<rect x="0" fill="none" width="24" height="24"></rect>
<g>
<path fill="#3B5998"
d="M20.007 3H3.993C3.445 3 3 3.445 3 3.993v16.013c0 .55.445.994.993.994h8.62v-6.97H10.27V11.31h2.346V9.31c0-2.325 1.42-3.59 3.494-3.59.993 0 1.847.073 2.096.106v2.43h-1.438c-1.128 0-1.346.537-1.346 1.324v1.734h2.69l-.35 2.717h-2.34V21h4.587c.548 0 .993-.445.993-.993V3.993c0-.548-.445-.993-.993-.993z">
</path>
</g>
</svg></span>
</p>
</div>
</div>
</div>
<div id="comment-form-load-service" class="comment-form-service">
<div class="comment-form-posting-as-cancel"><a href="javascript:HighlanderComments.cancelExternalWindow();">Cancel</a></div>
<p>Connecting to %s</p>
</div>
</div>
<script type="text/javascript">
var highlander_expando_javascript = function() {
function hide(sel) {
var el = document.querySelector(sel);
if (el) {
el.style.setProperty('display', 'none');
}
}
function show(sel) {
var el = document.querySelector(sel);
if (el) {
el.style.removeProperty('display');
}
}
var input = document.createElement('input');
var comment = document.querySelector('#comment');
if (input && comment && 'placeholder' in input) {
var label = document.querySelector('.comment-textarea label');
if (label) {
var text = label.textContent;
label.parentNode.removeChild(label);
comment.setAttribute('placeholder', text);
}
}
// Expando Mode: start small, then auto-resize on first click + text length
hide('#comment-form-identity');
hide('#comment-form-subscribe');
hide('#commentform .form-submit');
if (comment) {
comment.style.height = '10px';
var handler = function() {
comment.style.height = HighlanderComments.initialHeight + 'px';
show('#comment-form-identity');
show('#comment-form-subscribe');
show('#commentform .form-submit');
HighlanderComments.resizeCallback();
comment.removeEventListener('focus', handler);
};
comment.addEventListener('focus', handler);
}
}
if (document.readyState !== 'loading') {
highlander_expando_javascript();
} else {
document.addEventListener('DOMContentLoaded', highlander_expando_javascript);
}
</script>
<div id="comment-form-subscribe" style="display: none;">
<p class="comment-subscription-form"><input type="checkbox" name="subscribe" id="subscribe" value="subscribe" style="width: auto;"> <label class="subscribe-label" id="subscribe-label" for="subscribe" style="display: inline;">Notify me of new
comments via email.</label></p>
<p class="post-subscription-form"><input type="checkbox" name="subscribe_blog" id="subscribe_blog" value="subscribe" style="width: auto;"> <label class="subscribe-label" id="subscribe-blog-label" for="subscribe_blog"
style="display: inline;">Notify me of new posts via email.</label></p>
</div>
<p class="form-submit" style="display: none;"><input name="submit" type="submit" id="comment-submit" class="submit button" value="Post Comment"> <input type="hidden" name="comment_post_ID" value="5343" id="comment_post_ID">
<input type="hidden" name="comment_parent" id="comment_parent" value="0">
</p>
<p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="548afb74ec"></p>
<p style="display: none !important;"><label>Δ<textarea name="ak_hp_textarea" cols="45" rows="8" maxlength="100"></textarea></label><input type="hidden" id="ak_js_1" name="ak_js" value="1690496190073">
<script>
document.getElementById("ak_js_1").setAttribute("value", (new Date()).getTime());
</script>
</p>
</form>
GET https://ict-freak.nl/
<form role="search" method="get" class="search-form" action="https://ict-freak.nl/">
<label>
<span class="screen-reader-text">Search for:</span>
<input type="search" class="search-field" placeholder="Search …" value="" name="s" title="Search for:">
<span class="search-form-icon"></span>
</label>
<input type="submit" class="search-submit" value="Search">
</form>
POST https://subscribe.wordpress.com
<form action="https://subscribe.wordpress.com" method="post" accept-charset="utf-8" data-blog="427991" data-post_access_level="everybody" id="subscribe-blog">
<p>Enter your email address to follow this blog and receive notifications of new posts by email.</p>
<p id="subscribe-email">
<label id="subscribe-field-label" for="subscribe-field" class="screen-reader-text"> Email Address: </label>
<input type="email" name="email" style="width: 95%; padding: 1px 10px" placeholder="Email Address" value="" id="subscribe-field" required="">
</p>
<p id="subscribe-submit">
<input type="hidden" name="action" value="subscribe">
<input type="hidden" name="blog_id" value="427991">
<input type="hidden" name="source" value="https://ict-freak.nl/2011/04/01/storage-vmotion-only-one-hard-disk-to-another-datastore-in-vsphere/">
<input type="hidden" name="sub-type" value="widget">
<input type="hidden" name="redirect_fragment" value="subscribe-blog">
<input type="hidden" id="_wpnonce" name="_wpnonce" value="34d0be3b98"> <button type="submit" class="wp-block-button__link"> Sign me up! </button>
</p>
</form>
POST https://subscribe.wordpress.com
<form method="post" action="https://subscribe.wordpress.com" accept-charset="utf-8" style="display: none;">
<div class="actnbr-follow-count">Join 75 other followers</div>
<div>
<input type="email" name="email" placeholder="Enter your email address" class="actnbr-email-field" aria-label="Enter your email address">
</div>
<input type="hidden" name="action" value="subscribe">
<input type="hidden" name="blog_id" value="427991">
<input type="hidden" name="source" value="https://ict-freak.nl/2011/04/01/storage-vmotion-only-one-hard-disk-to-another-datastore-in-vsphere/">
<input type="hidden" name="sub-type" value="actionbar-follow">
<input type="hidden" id="_wpnonce" name="_wpnonce" value="34d0be3b98">
<div class="actnbr-button-wrap">
<button type="submit" value="Sign me up"> Sign me up </button>
</div>
</form>
Text Content
Skip to content Search for: ICT-Freak.nl Menu * Home * About / Contact * Certificates * Automation * VMware April 1, 2011April 6, 2011 afokkema VMware STORAGE VMOTION ONLY ONE HARD DISK TO ANOTHER DATASTORE IN VSPHERE i 7 Votes Sometimes it’s necessary to only migrate a single hard disk from a VM. This is the case when someone adds two 1 TB VMDK’s and fills them up completely. The maximum size of a VMFS datastore is 2TB minus 512 bytes. So in this case the datastore will be completely filled with no space left to keep the VM running. So if you want to migrate just one hard disk to make sure the VMFS datastore will not fill up. You can use the vSphere client or PowerCLI to do perform this “advanced” Storage vMotion. Note: if you want to reclaim your “wasted” storage back from your SAN, you have to recycle the whole datastore. So you have to migrate the other hard disks and configuration files as well. VSPHERE CLIENT Start the Migrate Virtual Machine wizard and select datastore: In the Select Datastore wizard, click the Advanced button: Now you’re able to select the hard disk you want to migrate and the datastore. Don’t change the other settings: Advertisement Privacy Settings Review the summary and press finish to execute this Storage vMotion: POWERCLI Or you can use the following PowerCLI one-liner to migrate the Hard disk: Get-HardDisk -vm <vmname> | Where {$_.Name -eq "Hard disk <#>"} | ` % {Set-HardDisk -HardDisk $_ -Datastore "<datastore>" -Confirm:$false} The following output will be generated: SHARE THIS: * Twitter * Facebook * Print * Email * LIKE THIS: Like Loading... RELATED PowerCLI: Move-TemplateJanuary 21, 2010In "VMware" An important vSphere 4 storage bug is solved in patch ESX400-200912401-BGFebruary 25, 2010In "VMware" vMotion error: Virtual machine must be running in order to be migratedDecember 30, 2010In "VMware" Tagged PowerCLI, Storage VMotion, vSphere PUBLISHED BY AFOKKEMA View all posts by afokkema 9 THOUGHTS ON “STORAGE VMOTION ONLY ONE HARD DISK TO ANOTHER DATASTORE IN VSPHERE” 1. Gabriel Maciel says: April 6, 2011 at 15:11 11 1 i Rate This Nice! Gabriel Reply 2. Pingback: Migrate individual disk « ICT-Freak.nl | drewreeves 3. Pingback: ESXi on MacMini 6,2 | VirtuallyHyper 4. Ashic Philip says: July 14, 2014 at 10:05 1 0 i Rate This I tried this and Iam getting the error “a general system error occured , failed to start disk migration”. Do you know what can will be the reason?. Reply 5. Myles Gray says: February 13, 2015 at 15:01 0 0 i Rate This Reblogged this on Myles Gray. Reply 6. elciopa says: April 17, 2015 at 14:12 1 0 i Rate This Lovely trick! I didn’t know it. Reply 7. Hitesh says: March 17, 2016 at 13:38 0 0 i Rate This Suppose I have two esxi hosts and I am using the both machine’s HDD as their datastore. So can I do vmotion in this environment where there is no shared storage? Reply 1. afokkema says: April 18, 2016 at 14:45 0 0 i Rate This Yes, if you are running vSphere 5.5 or higher it’s possible to Storage vMotion the virtual machines. You have to use the vSphere Web Client to perform the action. I assume you have a vCenter server running because that’s a requirement too. 8. swutah6ix says: December 2, 2018 at 17:18 0 0 i Rate This What about on a computer running Ubuntu 18.04 Reply LEAVE A REPLY CANCEL REPLY Fill in your details below or click an icon to log in: * * * Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. ( Log Out / Change ) You are commenting using your Facebook account. ( Log Out / Change ) Cancel Connecting to %s Notify me of new comments via email. Notify me of new posts via email. Δ This site uses Akismet to reduce spam. Learn how your comment data is processed. POST NAVIGATION PowerCLI: Host Networking Device info vSphere: VM “freezes” during the removal of a snapshot SEARCH Search for: DISCLAIMER The opinions expressed here are my personal opinions. Content published here does not necessarily reflect the views and opinions of my employer. SOCIAL * View afokkema’s profile on Twitter * View afokkema’s profile on LinkedIn ARCHIVES Archives Select Month December 2020 (1) April 2020 (1) April 2018 (1) October 2017 (1) January 2017 (2) January 2016 (2) April 2015 (1) January 2015 (1) October 2014 (1) August 2014 (1) July 2014 (1) June 2014 (1) January 2014 (1) November 2013 (1) September 2013 (1) July 2013 (1) May 2013 (1) March 2013 (1) February 2013 (2) December 2012 (1) November 2012 (1) October 2012 (5) September 2012 (2) August 2012 (2) July 2012 (3) June 2012 (2) May 2012 (2) April 2012 (2) March 2012 (2) February 2012 (1) December 2011 (2) October 2011 (4) September 2011 (5) August 2011 (1) June 2011 (5) May 2011 (1) April 2011 (6) March 2011 (3) February 2011 (3) January 2011 (5) December 2010 (7) November 2010 (5) October 2010 (10) September 2010 (1) August 2010 (2) July 2010 (2) June 2010 (4) May 2010 (4) March 2010 (4) February 2010 (3) January 2010 (5) December 2009 (6) November 2009 (9) October 2009 (7) September 2009 (5) August 2009 (18) July 2009 (16) June 2009 (20) May 2009 (11) April 2009 (23) March 2009 (21) February 2009 (24) January 2009 (31) December 2008 (17) November 2008 (27) October 2008 (30) September 2008 (30) August 2008 (25) July 2008 (25) June 2008 (35) May 2008 (31) April 2008 (15) March 2008 (20) February 2008 (30) January 2008 (39) December 2007 (34) November 2007 (28) October 2007 (22) September 2007 (28) August 2007 (33) July 2007 (46) June 2007 (11) May 2007 (15) April 2007 (15) March 2007 (25) February 2007 (16) January 2007 (24) December 2006 (25) November 2006 (56) October 2006 (22) September 2006 (45) LATEST TRANCE MIXES FOLLOW BLOG VIA EMAIL Enter your email address to follow this blog and receive notifications of new posts by email. Email Address: Sign me up! Join 1,229 other subscribers LICENSE ICT-Freak.nl by http://ICT-Freak.nl is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Netherlands License. Based on a work at ICT-Freak.nl. CATEGORIES Active Directory Antivirus Automation Backup Book Citrix Hardware Hyper-V Linux Microsoft Powershell Random Scripts SRM Storage Symantec Ubuntu VCB vCenter Veeam VI Client Virtualization VI Toolkit VMUG VMware VMware Server Whitepaper Windows Workstation XenApp Create a website or blog at WordPress.com * Follow Following * ICT-Freak.nl Join 75 other followers Sign me up * Already have a WordPress.com account? Log in now. * * ICT-Freak.nl * Customize * Follow Following * Sign up * Log in * Copy shortlink * Report this content * View post in Reader * Manage subscriptions * Collapse this bar %d bloggers like this: Advertisements Powered by wordads.co We've received your report. Thanks for your feedback! Seen too often Not relevant Offensive Broken Report this adPrivacy