Cloning and Resizing HDD and Partitions
I am running a SLES 12 sp5 server that has a 500gb drive with partitions that are not configured optimally.
I tried using Clonezilla. Worthless and clone will not boot (I am sure it is something with btrfs designations in Grub (but spending time to fix it is not a good alternative).
Problem is I have a small btrfs partition and a large ext5 partition. I need to shrink the ext5 and then expand the btrfs partitions where my apps run. I know I could toss a new drive in and span the btrfs to it, but this would make backing up too complex. Right now I periodically use DD to copy everything to old harddrive that I could toss in in an emergency. So I like this backup approach.
I cannot believe there are no top notch commerical cloning and partition resizing options. parted does not work.
I thought maybe I could shrink ext5 using rescue off of DVD. Will this work? If so, is there a way to expand the size of btrfs partition into space made by shrinking? -- I experimented DD everything to a larger drive and on boot it just created a bunch of tmpfs partitions.