6.0

Table Of Contents
VMware, Inc. 31
Chapter 3 Managing Files
Whenyouperformdatastoreresignaturing,considerthefollowingpoints:
Datastoreresignaturingisirreversible.
TheLUNcopythatcontainstheVMFSdatastorethatyouresignatureisnolongertreatedasaLUNcopy.
Aspanneddatastorecanberesignaturedonlyifallitsextentsareonline.
Theresignaturingprocessiscrashandfaulttolerant.Iftheprocessisinterrupted,youcanresumeitlater.
YoucanmountthenewVMFSdatastorewithoutariskofitsUUIDconflictingwithUUIDsofanyother
datastore,suchasanancestororchildinahierarchyofLUNsnapshots.
YoucanresignatureaVMFScopywithESXCLI(see“ResignaturingaVMFSCopywithESXCLI”onpage 31)
orwith
vicfg-volumesee“ResignaturingaVMFSCopywithvicfgvolume”onpage 31.
Resignaturing a VMFS Copy with ESXCLI
Theesxcli storage vmfs snapshotcommandssupportresignaturingasnapshotvolume.Specifyoneof
theconnectionoptionslistedin“ConnectionOptionsforvCLIHostManagementCommands”onpage 18in
placeof<conn_options>.
To resignature a VMFS copy with ESXCLI
1Listunresolvedsnapshotsorreplicavolumes.
esxcli <conn_options> storage vmfs snapshot list
2 (Optional)Unmountthecopy.
esxcli <conn_options> storage filesystem unmount
3Runtheresignaturecommand.
esxcli <conn_options> storage vmfs snapshot resignature
--volume-label=<label>|--volume-uuid=<id>
Thecommandreturnstothepromptorsignalsanerror.
Afterresignaturing,youmighthavetodothefollowing:
Iftheresignatureddatastorecontainsvirtualmachines,updatereferencestotheoriginalVMFSdatastore
inthevirtualmachinefiles,including.vmx,.vmdk,.vmsd,and.vmsn.
Topoweronvirtualmachines,registerthemwiththevCenterServersystem.
Resignaturing a VMFS Copy with vicfg-volume
Youcanusevicfg-volumetomount,unmount,andresignatureVMFSvolumes.
To resignature a VMFS copy with vicfg-volume
1Makesurethecopyisnotmounted.
2Runvicfg-volumewiththeresignatureoption.
vicfg-volume <conn_options> --resignature <VMFS-UUID|label>
Thecommandreturnstothepromptorsignalsanerror.
Reclaiming Unused Storage Space
WhenVMFSdatastoresresideonthinprovisionedLUNs,youcanuseESXCLIcommandstoreclaimthe
unusedlogicalblocksofathinprovisionedLUNformattedwithVMFS.
Whenyourunthecommands,youmustspecifythevolumelabel(--volume-label)orthevolumeid
(--volume-uuid)butyoucannotspecifyboth.