问题描述
我有一个带300GB vmdk的Oracle Linux 6.6,该VM具有自定义分区.使它在Azure上启动的最佳方法是什么?
i have a Oracle Linux 6.6 with 300GB vmdk, the VM has custom partitions. What would be the best way to get this to boot on Azure?
正在研究"azure映像生成器"以尝试安装Oracle Linux以通过ISO进行安装,已经申请了专用预览,但不确定是否可以使用
was looking into azure image builder to try install Oracle Linux to install via ISO, have applied for the private preview but not sure if that will work
我在较小的VM(20gb)上尝试过的步骤:
Steps i've tried on a smaller VM (20gb):
1)vmdk转换为vhd
1) vmdk converted to vhd
2)将vhd调整为整数大小
2) Resize vhd to a whole number size
3)作为页面Blob上载到Azure
3) uploaded to Azure as page blob
4)转换为图片
5)创建VM(可行)
5) Create VM (this works)
这仍然是300GB磁盘映像的最佳方法吗?
would this still be the best way for the 300GB disk image?
谢谢
推荐答案
重要的一点是,有时即使将VMDK转换为VHD格式,引导分区也可能会损坏,这取决于原始OS的处理方式.
its important to consider that sometimes even when you convert the VMDK to VHD format the boot partition may get broken, this depends on how the original OS handles it.
如果您只关心如何将大文件上传到天蓝色,我会看到两个选择
if your concern is only on how to upload a big file into azure I see two options
1.使用AZcopy上传,这是最好的主意,如果您的互联网连接上传良好,则可以从https://docs.microsoft.com/zh-cn/azure/storage/common/storage-use- Azcopy
1. upload using AZcopy, this is the best idea if you have a good upload for your internet connection, you can get AZcopy from https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy
2.使用导出/导入服务,以便可以将驱动器运送到DC中,可以在以下位置查看步骤和要求:https://docs.microsoft.com/zh-cn/azure/storage/common/storage-import-export-服务
2. use export/import service so you can ship your drive into the DC, you can review the steps and requirements at https://docs.microsoft.com/en-us/azure/storage/common/storage-import-export-service
如果您有任何问题,请让我知道,如果这回答了您的问题,请将答案标记为已确认
if you have any questions please let me know, if this answers your question please mark the answer as confirmed
最佳
这篇关于300GB VMDK,带有到Azure VM的自定义分区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!