I wanted to shrink the GCP persistent disk size 100GB disk to 40 GB.
So I added a new 40 GB disk and made it ext4 format using sudo mkfs.ext4 /dev/sdb
and copied all the files from the main disk sda1 to sdb1 using sudo rsync -avxHAX --info=progress2 --exclude={"/lost+found"} / /mnt/newmountpoint
command since weresync doesn't work. But the new disk is still not booting up. Any idea what to do to make it work?