2.0

Table Of Contents
VMware Server User’s Guide
148 VMware, Inc.
Thediskspaceisnotpreallocatedforthevirtualdisk.Ifthediskspaceis
preallocated,youcannotshrinkthedisk.(ClicktheharddiskandselectEditto
determinehowdiskspaceisallocated.)
Thevirtualmachinedoesnothaveasnapshot.Toremoveanexistingsnapshot,see
“RemovingaSnapshot”onpage 199.
Ifthevirtualdiskisanindependentdisk,itmustbepersistent.See“DiskMode
Settings”onpage 142.
To shrink a virtual disk
1 LaunchtheVMwareToolscontrolpanel:
ForaWindowsguest,doubleclicktheVMwareToolsiconinthenotification
areaofthetaskbar.
Iftheiconisnotavailable,selectStart>Settings>ControlPanel,and
doubleclickVMwareTools.
ForaLinux,Solaris,orFreeBSDguest,openaterminalwindow,becomeroot,
andrunvmware-toolbox.
Ifyoushrinkdisksasanonrootuser, youcannotwipethepartsofthevirtual
diskthatrequirerootlevelpermissions.
2IntheVMwareToolscontrolpanel,clicktheShrinktab.
Ifthevirtualmachine
doesnotallowshrinking,theShrinktabshowsthereason.
3 SelectthevirtualdiskstoshrinkandclickPreparetoShrink.
Ifyoudeselectsomepartitions,thewholediskisstillshrunk.However,those
partitionsarenotwipedforshrinking,andtheshrinkprocessdoesnotreducethe
sizeofthe
virtualdiskasmuchasitwouldwithallpartitionsselected.
VMwareToolsreclaimsallunusedportionsofdiskpartitions(suchasdeletedfiles)
andpreparesthemforshrinking.Duringthisphase,youcanstillinteractwiththe
virtualmachine.
WhenVMwareToolsfinisheswipingtheselecteddiskpartitions,aprompt
to
shrinkthedisksappears.
N
OTETheshrinkprocessappliestoallvirtualdisks,evenifyoudonotprepareallthe
virtualdisksinavirtualmachineforshrinking.