Can anyone tell me what happens [...] if da1 is smaller then da0
dd
will just stop copying when reaching the end of the targetSure, a truncated one. Although "usable" would most likely be defined above the block layer. And with a typical filesystem, it's very likely there was crucial data in the truncated part, so, most likely: no.Does da1 contain a usable copy of da0?
It most definitely does not work, just tried it and it messed up the boot sector on the target disk.probably not
recreate the partitions and dump/restore the fs on them
mnt /dev/ada1p2 /mnt
dump -f /dev/ada0p2 /mnt
dump(8)/restore(8) works on filesystems, not disk blocks.It most definitely does not work, just tried it and it messed up the boot sector on the target disk.
That makes no sense. The boot stuff (MBR, partition table and boot partition) are at the beginning of the disk, and should have been copied, no problem.It most definitely does not work, just tried it and it messed up the boot sector on the target disk.
It is almost impossible to find, with zfs for sure but even with ufs.if da1 is smaller then da0 but is greater than the space used on da0?