On 08/02/2021 11.02, Josef Moellers wrote:
On 08.02.21 10:51, Carlos E. R. wrote:
On 08/02/2021 08.21, Josef Moellers wrote:
On 07.02.21 21:20, Carlos E.R. wrote:
...
Thus, logically they are used in blocks of 512 disks, so there would be no problem with the migration.
My ssds are this type, no emulation:
Isengard:~ # fdisk -l Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors Disk model: KINGSTON SMS200S Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt
The problem I worry about is if the source disk says:
Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes
and the destination ssd says 512.
Yes, indeed, you then have a problem because the block numbers used throughout the filesystem metadata refer to the logical block size of the disk and this won't be OK after a "dd".
So your best bet would be to make a new filesystem and then copy all the directories and files over.
"would have" a problem, I don't have that combo :-) Was a theoretical question on my side - wondering about what the OP has. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)