How to migrate the specific Linux partition rather than the entire disk
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!
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
Relevant questions
Will setting docker --storage-opt be deprecated?
asked 2 years agoWooCommerce on Lightsale server
asked a year agoGlue Studio Job - How to add the file name or path as a Source Key output or partition
asked 2 months agolinux partition on Lightsail
asked a month agoProblem with enlarge a non root filesystem
asked a year agoCreating Partitions in Glue Tables
asked 3 months agoGrowpart not working to expand a volume
asked 4 years agoRDS custom oracle disk full
asked 4 days agoDo I need to mitigate possible timing attacks when querying DynamoDB?
Accepted Answerasked 4 months agoHow to migrate the specific Linux partition rather than the entire disk
Accepted Answerasked 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!