I have a 5TB HD and I want to shrink it to 2TB.
I use Google Compute Engine PaaS.
How can I do that?
Can you suggest any tools to perform this manually if this cannot be solved by Google's tools?
I have a 5TB HD and I want to shrink it to 2TB.
I use Google Compute Engine PaaS.
How can I do that?
Can you suggest any tools to perform this manually if this cannot be solved by Google's tools?
If the disk is not a boot disk you can do the following:
If you have standard disk and you want to shorten the cp time. You can first create new ssd disk from snapshot and copy it to 2T ssd disk. Then make a snapshot from the 2T disk and create a new 2T standard disk.
If your disk is a boot disk, you can use a tool like fsarchiver:
fsarchiver savefs /mnt/backup/boot_disk.fsa /dev/sda
fsarchiver restfs /mnt/backup/boot_disk.fsa id=0,dest=/dev/sdb