Menu

#406 backup (partclone) fails on btrfs partition

open
nobody
9
2023-08-08
2023-07-30
Marcus
No

Clonezilla suddenly stopped working.

My backup storage in on an ext4 drive.
ONE of my btrfs partitions fails.

Since this is not something new, I just link to the closed bug report that you say is "fixed", it's not.
This bug is still existing:
https://sourceforge.net/p/clonezilla/bugs/327/
(I get picture no 3 error IMMEDIATELY when trying to backup the last drive on the disk or if I choose only this partition)

I can no longer rely on clonezilla, both full disk backups and partition backups FAIL because partclone SUDDENLY (I have been creating a backups once a week like this for a few months) reports disk is full, it is not, not even close.

I have checked the partitions, both the partition that is failing and the partition I save the images to, both mounted and unmounted, no errors.

Log is from partition backup, it is the exact same as if I run a full disk backup, all other drives gets backed up (incl other btrfs partitions) but this, the last one fails immediately when starting without reason.
This btrfs drive has no subvolumes (unlike the one that actually gets backed up).

cat /run/media/root/backup/partition-home-2023-07-30-img/saving-error-202307300226

Starting /usr/sbin/ocs-sr at 2023-07-30 02:25:24 UTC...
*****************************************************.
Clonezilla image dir: /home/partimag
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
The selected devices: sda8
PS. Next time you can run this command directly:
/usr/sbin/ocs-sr -q2 -c -j2 -z9p -i 0 -sfsck -senc -p reboot saveparts partition-home-2023-07-30-img sda8
*****************************************************.
The selected devices: sda8
The following step is to save the hard disk/partition(s) on this machine as an image:
*****************************************************.
Machine: X670 AORUS ELITE AX
sda8 (104.5G_btrfs(In_Samsung_SSD_860_)_Samsung_SSD_860_EVO_500GB_S4XBNF0N714542E)
*****************************************************.
-> "/home/partimag/partition-home-2023-07-30-img".
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
Starting saving /dev/sda8 as /home/partimag/partition-home-2023-07-30-img/sda8.XXX...
/dev/sda8 filesystem: btrfs.
*****************************************************.
*****************************************************.
Use partclone with zstdmt to save the image.
Image file will not be split.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Running: partclone.btrfs -z 10485760 -N -L /var/log/partclone.log -c -s /dev/sda8 --output - | zstdmt -c -3 > /home/partimag/partition-home-2023-07-30-img/sda8.btrfs-ptcl-img.zst 2> /tmp/img_out_err.dz1876
Partclone v0.3.23 http://partclone.org
Starting to clone device (/dev/sda8) to image (-)
Reading Super Block

btrfsclone.c: btrfs library version = Btrfs v6.0.1 
block_size = 16384
usedblock = 3012795
device_size = 112237481984
totalblock = 6850432
btrfsclone.c: fs_close
memory needed: 21827828 bytes
bitmap 856304 bytes, blocks 2*10485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait... 

btrfsclone.c: btrfs library version = Btrfs v6.0.1 
Failed to use partclone program to save or restore an image!
*****************************************************.
Failed to save partition /dev/sda8.
21 Attachments

Discussion

  • Steven Shiau

    Steven Shiau - 2023-08-02

    Please show the content of the Partclone log file: /var/log/partclone.log

    Steven

     
  • Steven Shiau

    Steven Shiau - 2023-08-08

    Thanks for your feedback.
    Please give testing Clonezilla live >= 3.1.1-12 or 20230807-* a try:
    https://clonezilla.org/downloads.php
    This release uses Partclone 0.3.25, which has updated btrfs-related codes.
    Maybe the issue you have has been fixed. Not sure.
    If your issue remains, please run "btrfs check" and "btrfs scrub" in the command line prompt, then try it again.
    Please let us know the results. Thanks.

    Steven

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.