Objective
??
This article will cover the three commands included in the VhdUtil utility as of PVS 7.1.4 and PVS 7.6.1.
Note:?? These commands only work with vhd type files and cannot be used with vhdx files.
??
Instructions
VhdDump
Used to dump the header and footer of the vhd and avhd files to provide information of a vDisk chain. The disk name can be a base or a version disk. In the latter case, the utility will dump the entire chain, starting from the version file specified in the command, down to and including the base version.
??
Example command to dump the vDisk chain information for "MyVDisk" in E:\vDiskStore folder (e.g. from version 3 to base):
??
rundll32 VhdUtil.dll,VhdDump E:\vDiskStore\MyVDisk.3.avhd>E:\vDiskStore\DumpLog.txt
The header and footer for each version and, if available, the pvp file contents are dumped into file E:\vDiskStore\DumpLog.txt.
VhdMerge
Used to perform a manual full merge to a new base image outside of the PVS console.
??
Example command to merge the disk chain from “MyVDisk.3.avhd” to base “MyVDisk.vhd” into a new disk “E:\vDiskStore\MyVDiskMerged.vhd”:
??
rundll32 VhdUtil.dll,VhdMerge E:\vDiskStore\MyVDisk.3.avhd MyVDisk.vhd E:\vDiskStore\MyVDiskMerged.vhd>E:\vDiskStore\MergeLog.txt
The steps of the merging process are logged into file E:\vDiskStore\MergeLog.txt.
This process does not delete the old vDisk or its versions from the store or the PVS console. They will have to be manually deleted.
??
Import the new vDisk to the PVS console.
VhdRename
Used to rename the vDisk vhd chains that have existing versions. For renaming specifically, make a copy of the original vDisk and rename the copy.?? The renaming is a critical action, as we are modifying the disk chain.?? We found that if the network does not have a timing service, a remote slow storage might cause incorrect timestamp vs. the hosting server.
??
Example command to rename the entire disk chain from vDisk "MyVDisk" in E:\vDiskStore folder (e.g. from version 3 to base) to "MyNewVDisk":
??
rundll32 VhdUtil.dll,VhdRename E:\vDiskStore\MyVDisk.3.avhd MyNewVDisk>E:\vDiskStore\RenameLog.txt
The old vdisk chain information for each version and the renaming process are logged into file E:\vDiskStore\RenameLog.txt.
You can then run the VhdDump command to get the info of the renamed vdisk.??
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
A manifest (XML) file with the new vDisk name will be created in the store.
Import the new vDisk into the PVS console, unassign the old vDisk from all targets and assign the new vDisk to them.
Delete the old vDisk but leave the .vhd files.
If you try to delete the associated .vhd files, the error “Management Interface: vDisk properties were lost” will be displayed.
??
Additional Resources
Merging VHD Differencing Disks - http://docs.citrix.com/en-us/provisioning/7-6/pvs-vdisks-lifecycle-wrapper/pvs-vdisks-update-wrapper/pvs-vdisks-vhd-merge.html
Promoting Updated Versions - http://docs.citrix.com/en-us/provisioning/7-6/pvs-vdisks-lifecycle-wrapper/pvs-vdisks-update-wrapper/pvs-vdisks-update-promotion.html
Assigning vDisks and versions to target devices - http://docs.citrix.com/en-us/provisioning/7-6/pvs-vdisks-lifecycle-wrapper/pvs-vdisks-update-disk-types.html
Manually Updating a vDisk Image - http://docs.citrix.com/en-us/provisioning/7-6/pvs-vdisks-lifecycle-wrapper/pvs-vdisks-update-wrapper/pvs-vdisks-update-manual.html
Supporto Citrix
Traduzione automatica
Questo articolo ?? ¨ stato tradotto da un sistema di traduzione automatica e non ?? ¨ stata valutata da persone. Citrix fornisce traduzione automatica per aumentare l'accesso per supportare contenuti; tuttavia, articoli automaticamente tradotte possono possono contenere degli errori. Citrix non ?? ¨ responsabile di incongruenze, errori o danni derivanti dell'uso di articoli automaticamente tradotte.
Citrix技術支持
自動翻譯
這篇文章被翻譯由一個自動翻譯系統,並沒有受到人們的審查。 Citrix提供自動翻譯,增加獲得支持的內容;但是,自動翻譯的文章可能可以包含錯誤。思傑不負責不一致,錯誤或損壞因使用自動翻譯的文章的結果。
Поддержка Citrix
Tradução automática
Эта статья была переведена автоматической системой перевода и не был рассмотрен людьми. Citrix обеспечивает автоматический перевод с целью расширения доступа для поддержки контента; Однако, автоматически переведенные статьи могут может содержать ошибки. Citrix не несет ответственности за несоответствия, ошибки, или повреждения, возникшие в результате использования автоматически переведенных статей.
시트릭스 지원
자동 번역
이 문서 자동 번역 시스템에 의해 번역 된 사람들에 의해 검토되지 않았다. 시트릭스는 컨텐츠를 지원하기 위해 접근을 높이기 위해 자동 번역을 제공합니다; 그러나, 자동으로 번역 기사 오류를 포함 할 수있다. 시트릭스는 자동으로 번역 된 기사의 사용의 결과로 발생하는 불일치, 오류 또는 손해에 대해 책임을지지 않습니다.