Starting /usr/sbin/ocs-sr at 2022-05-19 07:45:58 UTC...
*****************************************************.
Clonezilla image dir: /tmp/ocs_onthefly_src.4rKFF7
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
Running: task_restoreparts "d2d-pseudo-tmp-cnvted" "nvme0n1p1 nvme0n1p2" "ld2d"
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
Creating partition in /dev/nvme0n1...
Trying to clean the MBR and GPT partition table on the destination disk first: /dev/nvme0n1
Informing the OS of partition table changes... done!
Running: dd if=/dev/zero of=/dev/nvme0n1 bs=512 count=1
1+0 records in
1+0 records out
512 bytes copied, 0.000138609 s, 3.7 MB/s
Running: LC_ALL=C grep -Ev '^last-lba:' /tmp/d2d-pseudo-tmp-cnvted/nvme0n1-pt.sf | sfdisk --wipe always --force /dev/nvme0n1 2>&1
Checking that no-one is using this disk right now ... OK
Disk /dev/nvme0n1: 3.49 TiB, 3840755982336 bytes, 937684566 sectors
Disk model: SAMSUNG MZWLJ3T8HBLS-00007
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new GPT disklabel (GUID: CE0CD23B-C3BC-C44E-A8E6-291A81BB3B1E).
/dev/nvme0n1p1: Created a new partition 1 of type 'Linux filesystem' and of size 2.1 GiB.
Partition #1 contains a vfat signature.
/dev/nvme0n1p2: The last usable GPT sector is 937684560, but 3231522815 is requested.
Failed to add #2 partition: Invalid argument
Leaving.
This was done by: LC_ALL=C grep -Ev '^last-lba:' /tmp/d2d-pseudo-tmp-cnvted/nvme0n1-pt.sf | sfdisk --wipe always --force /dev/nvme0n1 2>&1
Failed to create a partition table on this disk: /dev/nvme0n1
Is this disk too small: /dev/nvme0n1?
Program terminated!!
Now syncing - flush filesystem buffers...
Ending /usr/sbin/ocs-onthefly at 2022-05-19 07:46:08 UTC...
我在在将一个LBA 512B的设备上的数据备份到LBA 4K的设备上。
再生龙会在分区表处理这个步骤直接罢工。
sudo partclone.fat32 -b -s /dev/disk/by-id/nvme-ZHITAI_TiPlus5000_2TB_ZTA22T0KA220440DW3-part1 -o /dev/nvme0n1p1
Partclone v0.3.19 http://partclone.org
开始备份 装置 (/dev/disk/by-id/nvme-ZHITAI_TiPlus5000_2TB_ZTA22T0KA220440DW3-part1) 到 装置 (/dev/nvme0n1p1)
经过:00:00:01, 剩余: 00:00:00, 完成:100.00%
全部时间:00:00:01, 100.00% completed!
done!
文件系统: FAT32
Device size: 536.9 MB = 1048576 Blocks
Space in use: 1.6 MB = 3216 Blocks
Free Space: 535.2 MB = 1045360 Blocks
装置块大小: 512 Byte
经过:00:00:02, 剩余: 00:00:00, 完成:100.00%, 速率: 49.40MB/min
current block: 4872, total block: 1048576, Complete: 100.00%
全部时间:00:00:02, 平均速率: 49.4MB/min, 100.00% completed!
Syncing... OK!
备份 装置 (/dev/disk/by-id/nvme-ZHITAI_TiPlus5000_2TB_ZTA22T0KA220440DW3-part1) 到 装置 (/dev/nvme0n1p1) 完成
Cloned successfully.
partclone虽然报告备份成功,但实际上目标分区挂载时系统会报告超级块损坏。