By using AWS re:Post, you agree to the Terms of Use
/How to migrate the specific Linux partition rather than the entire disk/

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!

1 Answers
1
Accepted Answer

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

MODERATOR
answered a month ago
  • 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!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions