Skip to content

VRPC.COM

Virtual Reality Powered Computer

  • Home
  • Apple
  • Apps
  • Mobile Devices
    • Jailbreak
  • Network
  • Servers
  • Windows
  • Hackintosh

vSphere shrink hard drive on windows OS

Posted on June 27, 2017 - June 27, 2017 by vrpc
  1. shrink HDD using windows disk management.
  2. connect to host using SSH
  3. turn off windows computer
  4. cd /vmfs/volumes/<datastore name>/<VM foldername>
  5. use cat “VM name.vmdk” (not the flat one) to make a note of the RW number#
  6. calculate new size 128GB= 128 * 1024 * 1024 * 1024 /512 = 268435456
  7. vi “VM name.vmdk” replace RW with the new number
  8. vi edit shift I is to edit text; ESC to end editing; exit and save changes shift :x; shift:q! is to exit without changes
  9. use vSphere to migrate or move VM to a temporary host (this will resize the HDD to the new size)
  10. be patient depending on the HDD size it can take some time
  11. verify size in temporary location using vSphere
  12. move back to original location

 

Links:

https://www.experts-exchange.com/articles/12938/HOW-TO-Shrink-a-VMware-Virtual-Machine-Disk-VMDK-in-15-minutes.html

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related

Posted in Servers, WindowsTagged vmware, vSphre

Post navigation

Exchange 2010 add user permissions on other user calendar
Format HDD for exchange 2016 using ReFS

Categories

Recent Posts

  • Fix Core Isolation Turned off on Windows 11
  • ADSelfService GINA Mac Uninstall
  • TLS 1.0
  • Add mac computer to MDM server after initial setup
  • MX-100 1:many NAT not working as expected

Tags

64K AD apple apps backup BOOT chromebook DEP DeployStudio driver DVD EMS exchange 2010 Exchange 2016 Exhange 2010 export FileVault Firefox Firewall fixit G-Suite Google+ Group Policy iphone jailbreak JAMF Linux MAC management error MDM Meraki Mojave Outlook 2016 parental control printer PXE Server Splashtop terminal updates VEEAM vmware WiFi windows 10 windows update 1803

RSS iClarified – Apple News and Tutorials

  • Apple to Launch Standalone Siri App With Auto-Deleting Chats in iOS 27 [Gurman]
  • Apple Cuts iPhone 17 Prices in China Ahead of 618 Shopping Festival
  • Apple, Epic Agree to Legal Schedule for App Store Commission Proceedings
  • Apple Planning to Offer Free AirPods Pro 3 With New Apple Card Sign-Ups [Report]
  • Replit Resolves App Store Dispute With Apple, Releases Agent 4 for iPhone
  • ChatGPT Can Now Connect to Your Bank Accounts
  • Apple's 16-Inch M5 Pro MacBook Pro Drops to a New Record Low of $2,449.99 [Deal]
Proudly powered by WordPress | Theme: micro, developed by DevriX.