通过使用本网站, 您同意 隐私政策.
接受
进入IT进入IT进入IT
  • 家
  • 信息技术专家
  • 技术
  • 微软
    • 天蓝色
    • 配置管理器/SCCM
    • 数字PM
    • 协调者
    • Hyper-V
    • 微软 Edge 预览体验
    • 微星指数
    • 办公室 365
    • 办公室内幕
    • 电力商业智能
    • Skype
    • SQL服务器
    • 团队
  • 视窗
    • Windows 管理中心
    • Windows客户端
    • Windows服务器
  • SCCM查询集合列表
阅读: Hyper-V Virtual Disk Operations: Compact, Convert, Expand, and Shrink – How to Guide and Tips
字体调整器氨基酸
进入IT进入IT
字体调整器氨基酸
  • 家
  • 信息技术专家
  • 技术
  • 微软
  • 视窗
  • SCCM查询集合列表
搜索
  • 家
  • 信息技术专家
  • 技术
  • 微软
    • 天蓝色
    • 配置管理器/SCCM
    • 数字PM
    • 协调者
    • Hyper-V
    • 微软 Edge 预览体验
    • 微星指数
    • 办公室 365
    • 办公室内幕
    • 电力商业智能
    • Skype
    • SQL服务器
    • 团队
  • 视窗
    • Windows 管理中心
    • Windows客户端
    • Windows服务器
  • SCCM查询集合列表
Hyper-V

Hyper-V Virtual Disk Operations: Compact, Convert, Expand, and Shrink – How to Guide and Tips

出版: 二月 4, 2024
5 最小阅读量
分享

Hyper-V Virtual Disk Operations: Compact, Convert, Expand, and Shrink – How to Guide and Tips.

内容
CompactConvertExpandShrink

Compact

1. 运行你的 Hyper-V Manager 并点击 编辑磁盘;

2. 点击 Next;

3. Click on 浏览 to select your disk for operations;

4. After Disk is selected click Next;

5. First option is Compact (this is the simplest operation). 点击 Next;

6. At the next page click Next;

Convert

1. Option Convert (change your Virtual Disk format, *.vhd or *.vhdx). 点击 Next;

2. Select the format and click Next;

3. Select the type of Virtual Disk.

笔记: In enterprise is Best Practice – to use a Virtual Disk type Fixed size.

4. Make a choice and click Next;

5. Click on 浏览 to select the final name and destination of Virtual Disk, 然后单击 Save;

7. If it’s ok – click Next;

8. 点击 结束 to run this operation;

Expand

1. Run Hyper-V Manager and click on Inspect Disk and select target 虚拟磁盘 to show information about it. Click the Close 按钮;

2. We have 60 GB VHDX, Expand it. Click on Edit Disk in Hyper-V Manager; Click the Next 按钮;

3. 点击 the Browse button and select target 虚拟磁盘;

4. After selecting click the Next 按钮;

5. Select Expand option and click the Next 按钮;

6. Enter the new size and click the Next button, I’m set to 80 国标. (You must have free space to do this);

7. Check the final information and click the 结束 按钮;

8. Let’s 检查磁盘 再次. As we see – it now 80 GB size.

9. Connect to VM, which Virtual Disk we Expand. Login in (user must have Local Administrator Rights) and open This PC;

10. As we see it’s 60 国标 (old size) but not 80 国标. Close This PC. 鼠标右键 点击 the Start 按钮并选择 Disk Management;

11. After the Disk Management console opens you will see Unallocated space on the Disk (20 国标);

12. 鼠标右键 click on Disk “(C:)” and select Extend Volume;

13. Click the Next 按钮;

14. It shows up space for extending. Click the Next 按钮;

15. 点击 结束 to apply changes;

16. As we see – The disk is extended to 80 国标, close the Disk Management console;

17. Open “This PC 再次. Hooray “Local Disk (C:)” now has an 80 GB size.

Shrink

1. Run Hyper-V Manager and make sure your Virtual Machine (VM) with target “虚拟磁盘 is in an 离开 state. Close Hyper-V Manager;

2. Open Disk Management on the Hyper-V computer (local pc). 鼠标右键 点击 the Start 按钮并选择 Disk Management;

3. 后 the Disk Management console opens, go to the upper menu. 点击 Action 进而 Attach VHD;

4. 点击 浏览 to select the target 虚拟磁盘 file;

5. After selecting click the 好的 按钮;

6. We connected 虚拟磁盘;

7. 鼠标右键 click on the connected Disk and select Shrink Volume;

8. Enter the size in MB (Megabytes) to shrink from Disk. Click the Shrink 按钮;

9. 完美的, shrinking is successful;

10. 鼠标右键 click on your 虚拟磁盘 and select Detach VHD;

11. 点击 好的 and close the Disk Management console;

12. Run your Hyper-V Manager and click on 编辑磁盘;

13. Click the Next 按钮;

14. Click the 浏览 button to select target 虚拟磁盘;

15. After selecting Disk click the Next 按钮;

16. As you see we get a new option Shrink, select it and click the Next 按钮;

笔记: Option “Shrink” is available if “虚拟磁盘” has “Unallocated” space.

17. Enter the new size and click the 结束 按钮;

18. Inspect our 虚拟磁盘 再次, now it’s 41 国标;

19. In the system;

标记:Microsoft Hyper-V微软视窗服务器视窗视窗 10
上一篇 如何在 Windows Server 上安装 DNS 角色 2016
下一篇 SQL Server SCCM install preparation VHD
发表评论 发表评论

发表回复 取消回复

您的电子邮件地址不会被公开. 必填字段已标记 *

该网站使用 Akismet 来减少垃圾邮件. 了解您的评论数据的处理方式.

翻译

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
经过 Transposh - translation plugin for wordpress

热门帖子

Windows Server 的系统要求 2016
Windows服务器
配置管理器查询集合列表
配置管理器查询集合列表
configmgr
在经典团队网站的新式页面上启用结构化/托管导航
技术
SCCM 无法从 MP 获取预期版本的 DP 位置
configmgr

最近的帖子

在 Ubuntu 上安装和配置 Fail2ban 以实现 SSH 保护 24.04
Linux
在AlmaLinux上启用和配置FirewallD
Linux
AlmaLinux中的用户创建和SSH密钥设置
Linux
如何在AlmaLinux上重置密码
Linux

© 2023 进入IT

转到移动版本
欢迎回来!

登录您的帐户

用户名或电子邮件地址
密码

丢失密码?