How to migrate the specific Linux partition rather than the entire disk

0

A Linux box has one 500GB hard disk, 200GB is the "/" partition, 10GB is "swap" partition, remaining is "unallocated" space. I am using MGN to lift and shift this Linux box to AWS, but agent always migrates the entire disk including the "unallocated" space.

To save the storage cost, can I just migrate specific partition? Thanks in advance!

已提問 2 年前檢視次數 298 次
1 個回答
1
已接受的答案

Unfortunately you can only migrate an entire disk. MGN has no partition awareness so it is not possible to resize a disk during migration. You can change the disk type (eg io1 to gp3 etc). See this page for the settings which can be changed during migration.

In this scenario I usually advise customers to explore RePlatform options because the cost of lift and shift has become higher due to the overprovision. For example can you redeploy the application on a new optimized instance with latest OS potentially using infrastucture as code techniques. You need to evaluate if this engineering effort is equal to the cost savings compared to the lift and shift

AWS
專家
Peter_G
已回答 2 年前
  • I am sure Azure customers will face the same requirement of increasing/decreasing storage from time-to-time. Why AWS has no tools to help this move? I don't think AWS does this by locking the higher storage for higher charge/profit. This will likely scrap the AWS migration plan. thanks!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南