备份出现问题

26 views
Skip to first unread message

kai de

unread,
Sep 9, 2025, 9:13:36 AMSep 9
to DRBL
IMG_3541.jpeg好备份系统出现这个问题是什么原因?

Steven Shiau

unread,
Sep 9, 2025, 8:00:18 PMSep 9
to dr...@googlegroups.com

這資訊太少,無法判讀。請提供/var/log/clonezilla.log以及/var/log/partclone.log。

Steven

On 9/9/2025 9:12 PM, kai de wrote:
IMG_3541.jpeg好备份系统出现这个问题是什么原因? --
這是 Google 網路論壇針對「DRBL」群組發送的訂閱通知郵件。
如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到 drbl+uns...@googlegroups.com
如要查看這個討論,請前往 https://groups.google.com/d/msgid/drbl/fbe7d433-0e6f-48a1-b44d-227b5c59f708n%40googlegroups.com
-- 
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/163E3FB0
Fingerprint: EB1D D5BF 6F88 820B BCF5  356C 8E94 C9CD 163E 3FB0

kai de

unread,
Sep 10, 2025, 2:35:19 AMSep 10
to DRBL

/var/log/clonezilla.log

Starting /usr/sbin/ocs-sr at 2025-09-09 02:11:16 UTC...
*****************************************************.
Clonezilla image dir: /home/partimag
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
The selected devices: nvme0n1
PS. 下次您可以直接下这样的指令:
/usr/sbin/ocs-sr -q2 -c -j2 -z9p -i 0 -sfsck -scs -senc -plu -p reboot savedisk 2025-09-09-02-img70049-9 nvme0n1
*****************************************************.
The selected devices: nvme0n1
Searching for data/swap/extended partition(s)...
The data partition to be saved: nvme0n1p1 nvme0n1p2
The selected devices: nvme0n1p1 nvme0n1p2
下个步骤将把这台机器的硬盘/分区存成镜像文件:
*****************************************************.
Machine: NONE
nvme0n1 (2000GB|CT2000P3PSSD8_|pci-0000_03_00_0-nvme-1|2349E887421B)
nvme0n1p1 (512M|vfat(In_CT2000P3PSSD8_)|pci-0000_03_00_0-nvme-1|2349E887421B)
nvme0n1p2 (1.8T|ext4(In_CT2000P3PSSD8_)|pci-0000_03_00_0-nvme-1|2349E887421B)
*****************************************************.
-> "/home/partimag/2025-09-09-02-img70049-9".
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
Starting saving /dev/nvme0n1p1 as /home/partimag/2025-09-09-02-img70049-9/nvme0n1p1.XXX...
/dev/nvme0n1p1 filesystem: vfat.
*****************************************************.
*****************************************************.
Use partclone with zstd to save the image.
Image file will not be split.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Running: partclone.vfat -z 10485760 -N  -L /var/log/clonezilla//partclone.log -c -s /dev/nvme0n1p1 --output - | zstd -c -T0 -3 > /home/partimag/2025-09-09-02-img70049-9/nvme0n1p1.vfat-ptcl-img.zst 2> /tmp/img_out_err.4xctPN
Opening User Interface mode.
Partclone v0.3.37 http://partclone.org
Starting to clone device (/dev/nvme0n1p1) to image (-)
Reading Super Block
memory needed: 21102596 bytes
bitmap 131072 bytes, blocks 2*10485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate:  60.00byte/min, 100.00% completed!
done!
File system:  FAT32
Device size:  536.9 MB = 1048576 Blocks
Space in use:   7.4 MB = 14528 Blocks
Free Space:   529.4 MB = 1034048 Blocks
Block size:   512 Byte
Total block 1048576
Total Time: 00:00:02, Ave. Rate: 223.15MB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/nvme0n1p1) to the image (-)
>>> Time elapsed: 7.43 secs (~ .123 mins)
*****************************************************.
Finished saving /dev/nvme0n1p1 as /home/partimag/2025-09-09-02-img70049-9/nvme0n1p1.vfat-ptcl-img.zst
*****************************************************.
Starting saving /dev/nvme0n1p2 as /home/partimag/2025-09-09-02-img70049-9/nvme0n1p2.XXX...
/dev/nvme0n1p2 filesystem: ext4.
*****************************************************.
*****************************************************.
Use partclone with zstd to save the image.
Image file will not be split.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Running: partclone.ext4 -z 10485760 -N  -L /var/log/clonezilla//partclone.log -c -s /dev/nvme0n1p2 --output - | zstd -c -T0 -3 > /home/partimag/2025-09-09-02-img70049-9/nvme0n1p2.ext4-ptcl-img.zst 2> /tmp/img_out_err.kqSUzG
Opening User Interface mode.
Partclone v0.3.37 http://partclone.org
Starting to clone device (/dev/nvme0n1p2) to image (-)
Reading Super Block
memory needed: 82002436 bytes
bitmap 61030912 bytes, blocks 2*10485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
extfsclone.c: bitmap free count err, partclone get free:318789945 but extfs get 318769988.
Please run fsck to check and repair the file system
Failed to use partclone program to save or restore an image!
*****************************************************.
Failed to save partition /dev/nvme0n1p2.
Saving block devices info in /home/partimag/2025-09-09-02-img70049-9/blkdev.list...
Saving block devices attributes in /home/partimag/2025-09-09-02-img70049-9/blkid.list...
Checking the integrity of partition table in the disk /dev/nvme0n1...
Reading the partition table for /dev/nvme0n1...RETVAL=0
*****************************************************.
Saving the primary GPT of nvme0n1 as /home/partimag/2025-09-09-02-img70049-9/nvme0n1-gpt-1st by dd...
34+0 records in
34+0 records out
17408 bytes (17 kB, 17 KiB) copied, 0.00104566 s, 16.6 MB/s
*****************************************************.
Saving the secondary GPT of nvme0n1 as /home/partimag/2025-09-09-02-img70049-9/nvme0n1-gpt-2nd by dd...
32+0 records in
32+0 records out
16384 bytes (16 kB, 16 KiB) copied, 0.00201504 s, 8.1 MB/s
*****************************************************.
Saving the GPT of nvme0n1 as /home/partimag/2025-09-09-02-img70049-9/nvme0n1-gpt.gdisk by gdisk...
The operation has completed successfully.
*****************************************************.
Saving the MBR data for nvme0n1...
输入了 1+0 块记录
输出了 1+0 块记录
512 字节已复制,0.000429164 s,1.2 MB/s
End of saveparts job for image /home/partimag/2025-09-09-02-img70049-9.
*****************************************************.
*****************************************************.
End of savedisk job for image 2025-09-09-02-img70049-9.
Checking if udevd rules have to be restored...
This program is not started by Clonezilla server, so skip notifying it the job is done.
This program is not started by Clonezilla server, so skip notifying it the job is done.
Finished!
Finished!
*****************************************************.
Running: ocs-put-log-usb 2025-09-09-02-img70049-9
Start copying Clonezilla related log files to Clonezilla live USB device (/run/live/medium)...







/var/log/partclone.log
Opening User Interface mode.
Partclone v0.3.37 http://partclone.org
Starting to clone device (/dev/nvme0n1p2) to image (-)
Reading Super Block
memory needed: 82002436 bytes
bitmap 61030912 bytes, blocks 2*10485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
extfsclone.c: bitmap free count err, partclone get free:318789945 but extfs get 318769988.
Please run fsck to check and repair the file system

Steven Shiau

unread,
Sep 11, 2025, 7:34:43 AMSep 11
to dr...@googlegroups.com

On 9/10/25 13:05, kai de wrote:
> extfsclone.c: bitmap free count err, partclone get free:318789945 but
> extfs get 318769988.
> Please run fsck to check and repair the file system
有這訊息代表你之前沒有正常關機等問題,讓檔案系統沒有正常被卸載。因此,在存印象檔的時候,在以下這個步驟,選"fsck-y":

https://clonezilla.org//clonezilla-live/doc/01_Save_disk_image/images/ocs-08-1-sdb1-as-img-repo-fs-check.png

Steven
Reply all
Reply to author
Forward
0 new messages