- Details
- Written by: sam
- Category: 電腦相關
- Hits: 2044
For ELK use, we need attach new datadisk
root@abc:/mnt# grep SCSI /var/log/syslog
Nov 21 12:36:37 localhost kernel: [333388.594976] sd 5:0:0:0: [sdc] Attached SCSI disk
root@abc:/mnt# fdisk /dev/sdc
- Details
- Written by: sam
- Category: 電腦相關
- Hits: 2013
When you done with your vm, and upload to azure
Here is
Download tools from Microsoft
Open "Powershell" with administrator authorization and import
Import-Module "C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1"
Converto vhd (replace column to fit you setting)
PS C:\Windows\system32> ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath "d:\vm-elk\elk.vmdk" -DestinationLiteralPath "D:\" -VhdType DynamicHardDisk -VhdFormat Vhd
Azure login
