Migration of Rocky 8.7 from a large .vmdk to a smaller one

Personally I prefer to use cpio -p (pass-through mode) instead of cp when copying entire partitions. It tends to do a better job with things like devices, sockets, etc. If those are missing, it tends to cause problems.

Something like

find | cpio -pdm

Then cross check that all files are there and the partitions size is what you think it should be. Spot check ownerships and permissions.

1 Like