スキップしてコンテンツを表示

L3 Troubleshooting Workshop - Error when trying to increase the size of the Application settings VHD

0

After dowloading the file Profile.vhdx, I opened Command prompt as administrator and executed these commands : diskpart select vdisk file="C:\path\to\application\settings\Profile.vhdx" but then command 'expand vdisk maximum=5000' returns an error : Diskpart a rencontré une erreur : Paramètre incorrect. Pour plus d'informations, voir le journal d'événements système. Saisissez la description de l'image ici

質問済み 9ヶ月前116ビュー
1回答
0

The error you're encountering while trying to increase the size of the Application Settings VHD for the L3 Troubleshooting Workshop is likely due to an incorrect command syntax or approach. The 'expand vdisk' command you're using is not the correct method for this operation in AppStream 2.0.

To properly increase the size of the Application Settings VHD, follow these steps:

  1. After selecting the VHD file using the 'select vdisk' command, simply type:

    extend

  2. To confirm that the size of the partition on the VHD has increased as expected (for example, to 2 GB), use these commands:

    diskpart select vdisk file="C:\path\to\application\settings\profile.vhdx" list volume

This should increase the size of your VHD without encountering the error you described.

If you continue to face issues, consider the following alternatives:

  1. Ensure you're using the latest version of Windows and that your system is fully updated.

  2. If you're working on a Mac, note that there's no direct way to modify .vhdx files on macOS. In this case, you might need to:

    • Create a Windows EC2 instance
    • Download the .vhdx file from S3 to this EC2 instance
    • Apply the commands on the EC2 instance
    • Upload the modified .vhdx file back to S3

Remember to clear the recycle bin before ending your AppStream session to reduce the physical size of the VHD and improve user experience. Also, make sure not to attempt expanding the VHD during an active streaming session.

If problems persist, you may want to reach out to the L3 workshop support team for further assistance, as they might be aware of specific issues related to the workshop environment.
Sources
Increase the Size of the Application Settings VHD - Amazon AppStream 2.0
Increase the size of the Application Settings VHDX on MacOS | AWS re:Post
Blu Age L3 Refactorings (set up environment) Profile.vhdx dont found | AWS re:Post

回答済み 9ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ