EC2 块设备映射列表和 Windows 驱动器之间的映射
ec2 块设备映射列表和 Windows 驱动器之间的映射是如何发生的?
例如,如果我
在启动 Windows 实例时指定 -b "/dev/sdb=snap-XXXXXXX" -b "/dev/sdc=ephemeral0"
,它将 D:\ 映射到 EBS 卷快照和 E:\ 到临时存储。当我以相反的顺序指定映射时,它会执行相同的操作。 想知道 Windows 驱动器上的这种映射是如何发生的? 对于我来说,了解临时存储映射到哪个驱动器实际上很重要,因为我需要在实例启动后在其中存储一些内容。
谢谢!
How does the mapping between list of ec2 block device mappings and windows drives happen?
For eg, if i specify -b "/dev/sdb=snap-XXXXXXX" -b "/dev/sdc=ephemeral0"
while launching a windows instance, it maps D:\ to the EBS volume snapshot and E:\ to ephemeral storage. When I specify the mappings in the reverse order, it does the same.
Want to know how does this mapping really happens with windows drives?
Its actually important for me to know what drive does the ephemeral storage maps to since I need to store something in it after the instance launch.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 powershell 脚本将驱动器号与设备名称映射
在一起
https://docs.aws.amazon.com/ AWSEC2/latest/WindowsGuide/ec2-windows-volumes.html
You can use powershell script to map drive letters with Device Names
Here you go
https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-windows-volumes.html