Thanks @steven_shiau . My LTS versions (Ubuntu) only go up to 0.3.17. The new LTS should come out soon, and I'll try again.
The latest Patclone is 0.3.27, and the version 0.3.13 you are using is too old. I suggest you try to boot Clonezilla live 3.1.2-22, and use the partclone on it. https://clonezilla.org//downloads.php Steven
I'm on Ubuntu Focal (20.04.6 LTS) trying to back up my RAID partition. The partition mounts just fine, and passes fsck. I'm using partclone v0.3.13 because that's what is in this distribution. The partition is unmounted when I attempt the backup, and here's the relevant part of lsblk -o +fstype output: sda 8:0 0 16.4T 0 disk linux_raid_member └─md127 9:127 0 32.8T 0 raid5 └─md127p1 259:0 0 32.8T 0 part ext4 sdb 8:16 0 16.4T 0 disk linux_raid_member └─md127 9:127 0 32.8T 0 raid5 └─md127p1 259:0 0...
Which version of Partclone did you use? Have you tried the one in Clonezilla live 3.1.2-9 environment? Steven
Partclone makes zero progress backing up my RAID partition
You did not show the partclone you run. Please show that so that we can try to reproduce this issue. Steven
I cannot make partclone back up my MDADM RAID -- it just hangs forever (or until I interrupt it a day later). See the issue at https://askubuntu.com/questions/1503792/partclone-what-am-i-doing-wrong
Hi, What's the difference between partclone.dd and partclone.imager? Partclone.imager saves partitions as partclone images, specially formatted archives designed for efficient storage and manipulation. Some filesystems are not supported by partclone. We still have a chance to do a backup and save to the same format. For details on the partclone image format, see the official documentation: https://partclone.org/usage/partclone.restore.php
Partclone.imager man page is lacking information about --clone and --rescue.
Hi, I have no idea for Just mention we also mount the ISO image on partition sda8 while re-imaging. If your sda8 is mounted, that would make partclone fail. Following your test result, all partitions clone successfully, so the problem may be with other utilities. Check your script 'partclone-image', memory, and available space.
When we are trying to upgrade a system OS from SLES11 -> SLES15 and trying to execute below command through script fails with disk IO ERROR: We have partitions from partitions from sda1 to sda9 and we hit this ERROR while processing only "sda8". Just mention we also mount the ISO image on partition sda8 while re-imaging. CMD: "zcat /srv/www/htdocs/mgmt-server-image/sda8.ext3.ptcl.gz | /usr/sbin/partclone.ext3 –r –o /dev/sda8" Option 1: We tried SKIPPING partion sda8, re-imaging works smotly. Option...
No idea, I followed your steps to try to reproduce this issue. However, it was working well. The working environment I was using is Clonezilla live 2.7.3-19-amd64. After booting: root@debian:~# mkfs.xfs -f -b size=4096 -m reflink=1,crc=1 /dev/sda1 root@debian:~# xfs_db /dev/sda1 xfs_db> version versionnum [0xb4a5+0x18a] = V5,NLINK,DIRV2,ALIGN,LOGV2,EXTFLG,MOREBITS,ATTR2,LAZYSBCOUNT,PROJID32BIT,CRC,FTYPE,FINOBT,SPARSE_INODES,REFLINK root@debian:~# partclone.xfs -c -d -s /dev/sda1 | ssh root@192.168.120.254...
Hello, I use this command : mkfs.xfs -f -b size=4096 -m reflink=1,crc=1 /dev/md4 xfs_db /dev/md4 xfs_db> version versionnum [0xbda5+0x18a] = V5,NLINK,DIRV2,ALIGN,DALIGN,LOGV2,EXTFLG,SECTOR,MOREBITS,ATTR2,LAZYSBCOUNT,PROJID32BIT,CRC,FTYPE,FINOBT,SPARSE_INODES,REFLINK Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-84-generic x86_64) Regards, Erwan RIGOLLOT
So how did you create that XFS file system? Which version of xfs? On which GNU/Linux and version? Please let us know the details so that we can try to reproduce this issue. Thanks. Steven
Hi Steven, Thanks ! I try with version 0.3.17 without success but I don't wait more than 30 minutes. Have a good day Erwan
Please give the latest unstable version 0.3.17 a try: https://partclone.org/download/ Steven
Hi, I try to make a image of a big XFS partition (7To used on 55To) with this command: partclone.xfs -c -d -s /dev/md4 | ssh 10.0.0.1 'cat > /veeam/md4.xfs' And it not move since more than 1 hour: Partclone v0.3.13 http://partclone.org Starting to restore image (-) to device (/dev/md4) Reading Super Block Elapsed: 00:01:43, Remaining: 00:00:00, Completed: 100.00% Total Time: 00:01:43, 100.00% completed! Partclone v0.3.13 http://partclone.org Starting to clone device (/dev/md4) to image (-) Reading...
OK, thanks. I got it to work. I'd already scrounged up 4tb on another drive by moving stuff so that I was able to manually decompress the image and then check it, but it's nice to know I don't have to do that going forward. The comments in the man file for partclone are what caused me an issue as it said that first the redirection could only be done for restores, not both checks and restores, and second it said to not use the -s option at all and just use a dash. Using --source=- worked though. Thanks...
For what it's worth, Rescuezilla v2.2 (Clonezilla GUI) has recently added (early) support for images created by FOG Project. As of Rescuezilla v2.2, there is good support for restoring FOG Project images of Windows (both GPT and MBR) systems, but FOG Project images of Linux systems is not complete (there's more to implement, due to how it does partition resizing: FOG Project automatically modifies the restored partition's /etc/fstsab UUID and a few others not yet implemented by Rescuezilla). Because...
For what it's worth, Rescuezilla (Clonezilla GUI) has recently added early-support for images created by FOG Project. As of Rescuezilla v2.2, there is good support for restoring FOG Project images of Windows (both GPT and MBR) systems, but FOG Project images of Linux systems is not complete (more work because due to how it does partition resizing: FOG Project automatically modifies the restored partition's /etc/fstsab UUID and a few others not yet implemented by Rescuezilla). Because of the limitations...
Hi Scott, You understandably posted the same question on the Clonezilla forum, but the answer is, like many programs, partclone can read from standard input if you use the special filename dash: gunzip -c sda1.ext4-ptcl-img.gz* | sudo partclone.chkimg --source=- From man partclone: -s FILE, --source FILE Source FILE. The FILE could be a image file(made by partclone) or device depend on your action. Normanly, backup source is device, restore source is image file. Receving data from pipe line is supported...
Hi Scott, Like many programs can read from standard input if you use the special filename dash: gunzip -c sda1.ext4-ptcl-img.gz* | sudo partclone.chkimg --source=- From man partclone: -s FILE, --source FILE Source FILE. The FILE could be a image file(made by partclone) or device depend on your action. Normanly, backup source is device, restore source is image file. Receving data from pipe line is supported ONLY for restoring, just ignore -s option or use '-' means receive data from stdin.
Hi Scott, Like many programs can read from standard input, if you use the special filename dash: gunzip -c sda1.ext4-ptcl-img.gz* | sudo partclone.chkimg --source=- From man partclone: -s FILE, --source FILE Source FILE. The FILE could be a image file(made by partclone) or device depend on your action. Normanly, backup source is device, restore source is image file. Receving data from pipe line is supported ONLY for restoring, just ignore -s option or use '-' means receive data from stdin.
Hi Scott, Like many programs can read from standard input, if you use the special filename dash: gunzip -c sda1.ext4-ptcl-img.gz* | sudo partclone.chkimg --source=- From man partclone: -s FILE, --source FILE Source FILE. The FILE could be a image file(made by partclone) or device depend on your action. Normanly, backup source is device, restore source is image file. Receving data from pipe line is supported ONLY for restoring, just ignore -s option or use '-' means receive data from stdin.
How does one go about checking a compressed image? I imaged a 4tb VMWare ESXi installation with clonezilla and elected not to check the image at that time because of the amount of downtime involved, expecting to be able to check it later. Clonezilla doesn't have a way to do it from the menus, so I tried to check it from the command line in Clonezilla live by invoking partclone.chkimg directly. However, it doesn't look like it will accept input from a pipe (e.g. gunzip -c filename | partclone.chkimg...
The hardware is exactly the same. I ran a "New" install (SLES) then tested it to insure everything was working as expected, it was. I then used partclone alone which I installed on a SLES bootable thumbdrive used to clone drives, create backups as needed. All hardware used/cloned is exactly the same so hardware changes should not be an issue. Ill be doing more testing of this to see if this issue happens again.
Clonezilla has cloned the system for you. However, it seems yast reads some configurations about hardware which is different from the source machine so it might fail. Hence you should dig more about why it fails about yast. Steven
partclone.ext3 -N -c -d -s /dev/sda1 -o /home/images/test.img Cloned successfully. localhost:~ # partclone.chkimg -d -s /home/images/test.img Partclone v0.3.11 http://partclone.org Starting to check image (/home/images/test.img) Reading Super Block Calculating bitmap... Please wait... done! File system: EXTFS Device size: 6.4 GB = 1572096 Blocks Space in use: 1.8 GB = 441059 Blocks Free Space: 4.6 GB = 1131037 Blocks Block size: 4096 Byte Elapsed: 00:01:06, Remaining: 00:00:00, Completed: 100.00%,...
partclone.ext3 -N -c -d -s /dev/sda1 -o /home/images/test.img Cloned successfully. localhost:~ # partclone.chkimg -d -s /home/images/test.img Partclone v0.3.11 http://partclone.org Starting to check image (/home/images/test.img) Reading Super Block Calculating bitmap... Please wait... done! File system: EXTFS Device size: 6.4 GB = 1572096 Blocks Space in use: 1.8 GB = 441059 Blocks Free Space: 4.6 GB = 1131037 Blocks Block size: 4096 Byte Elapsed: 00:01:06, Remaining: 00:00:00, Completed: 100.00%,...
partclone.ext3 -N -c -d -s /dev/sda1 -o /home/images/test.img Cloned successfully. localhost:~ # partclone.chkimg -d -s /home/images/test.img Partclone v0.3.11 http://partclone.org Starting to check image (/home/images/test.img) Reading Super Block Calculating bitmap... Please wait... done! File system: EXTFS Device size: 6.4 GB = 1572096 Blocks Space in use: 1.8 GB = 441059 Blocks Free Space: 4.6 GB = 1131037 Blocks Block size: 4096 Byte Elapsed: 00:01:06, Remaining: 00:00:00, Completed: 100.00%,...
partclone.ext3 -N -c -d -s /dev/sda1 -o /home/images/test.img Cloned successfully. localhost:~ # partclone.chkimg -d -s /home/images/test.img Partclone v0.3.11 http://partclone.org Starting to check image (/home/fiscal/images/test.img) Reading Super Block Calculating bitmap... Please wait... done! File system: EXTFS Device size: 6.4 GB = 1572096 Blocks Space in use: 1.8 GB = 441059 Blocks Free Space: 4.6 GB = 1131037 Blocks Block size: 4096 Byte Elapsed: 00:01:06, Remaining: 00:00:00, Completed:...
partclone.ext3 -N -c -d -s /dev/sda1 -o /home/images/test.img Cloned successfully. localhost:~ # partclone.chkimg -d -s /home/images/test.img Partclone v0.3.11 http://partclone.org Starting to check image (/home/fiscal/images/test.img) Reading Super Block Calculating bitmap... Please wait... done! File system: EXTFS Device size: 6.4 GB = 1572096 Blocks Space in use: 1.8 GB = 441059 Blocks Free Space: 4.6 GB = 1131037 Blocks Block size: 4096 Byte Elapsed: 00:01:06, Remaining: 00:00:00, Completed:...
There is no such option for Partclone to do so. However, you can use Clonezilla live to do that if you want: https://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/04_Create_Recovery_Clonezilla Steven
Hello everybody ! I have a question. I use FOG to make captures of operating systems (always windows to say the truth). FOG effectively uses Partclone to capture. My question: is there any way to convert those files that FOG performs (basically partclone performs ) to a WIM, ISO, ... something so that it is bootable to recover on another PC by a USB? BTW this is the extract FOG (partclone) files of one of my captures: 07/05/2021 12:37 17.949.604.798 d1p4.img 07/05/2021 12:26 3.558.639 d1p3.img 07/05/2021...
thanks
The limit is due to Partclone is a block-based program, not file-based. Clonezilla has the same issue since its file system engine is Partclone, but you can have some workaround: https://drbl.org/faq/fine-print.php?path=./2_System/119_larger_to_smaller_disk_restore_clone.faq#119_larger_to_smaller_disk_restore_clone.faq Steven
is it possible to clone from image to smaller drive? I have been testing "Foxclone" which I understand uses Partclone ... Foxclone apparently can not. is that a limitation to that spin or is it not possible with Partclone? Thanks!
I believe it's because the old version of Partclone used old version of BTRFS codes, and it does not support well the newer BTRFS. You can say it's a bug, so the restored partition is not correctly detected as BTRFS file system. Steven
Correct, this image was really created a year ago by some older version partclone in SystemRescue. But this image is correctly readed/checked by partclone.chkimg no issues reported about wrong/old file format but why is restored partition detected as BTRFS but DOS/MBR boot sector???
Hi Steven, thanks for quick reply. I tried to restore same image w. last partclone version, again no issue but mount ends up - wrong fs type, bad option, bad superblock ... Partclone v0.3.17 http://partclone.org Starting to restore image (/mnt/Backup/openSUSE-Leap_sda6.img) to device (/dev/sdc4) Calculating bitmap... Please wait... done! File system: BTRFS Device size: 50,1 GB = 3059868 Blocks Space in use: 29,4 GB = 1796445 Blocks Free Space: 20,7 GB = 1263423 Blocks Block size: 16384 Byte Elapsed:...
I meant you have to use Partclone 0.3.17 to save and restore BTRFS if your BTRFS is newer. If the image was saved by Partclone 0.3.11, I believe it misses some file system attributes... Steven
Hi Steven, thanks for quick reply. I tried to restore same image w. last partclone version, again no issue but mount ends up - wrong fs type, bad option, bad superblock ... Partclone v0.3.17 http://partclone.org Starting to restore image (/mnt/Backup/openSUSE-Leap_sda6.img) to device (/dev/sdc4) Calculating bitmap... Please wait... done! File system: BTRFS Device size: 50,1 GB = 3059868 Blocks Space in use: 29,4 GB = 1796445 Blocks Free Space: 20,7 GB = 1263423 Blocks Block size: 16384 Byte Elapsed:...
Please give Partclone 0.3.17 a try. Steven
Hi all, having a troubles with usage of the partclone.btrfs, even through no errors were reported during backup/restore to another disk partition. Original backuped BTRFS file has been created by partclone.btrfs from single device partition, unmounted containing openSUSE (compressed files, some subvolumes and sparse files) without any error. All steps of backup/restore process passed successfully, but when I finally tried to mount restored partition, its failed: linux:~ # mount -v /dev/sdc4 /data/leap/...
Hello, I have a issue with restore my partclone image to the partition. Error on console: Partclone v0.2.86 http://partclone.org Starting to restore image (-) to device (/dev/sdc1) There is not enough free memory, partclone suggests you should have 749057690765125769 bytes memory Partclone fail, please check /var/log/partclone.log ! The Log file on /var/log: Partclone v0.2.86 http://partclone.org Starting to restore image (-) to device (/dev/sdc1) we need memory: 749057690765125769 bytes image head...
The partclone.dd is actually the same with dd, just with some UI outputs. It does not save any CRC info so actually partclone.chkimg won't be able to check that. Of course, the error message is wrong. I thnk we have to improve that. Steven
Thank you.
Partclone is the file system engine for Clonezilla, though partclone can be used separately. It's recommended to use Clonezilla live for this purpose. Please refer to these docs: https://clonezilla.org/clonezilla-live-doc.php Steven
Hello, I'd like to image the USB key drive that holds the Debian that runs an appliance, so that when it dies, I can simply restore the image to a new drive, and be back in business in a few minutes. I gave dd¤ a try, but 1) it's very slow, and 2) it saves even empty blocks, so that a 32GB drive that only holds 1GB still turns into a 32GB image file. Can Partclone image a whole drive to a single file, including the partition table¤¤, or does it only support imaging a single partition? Thank you....
Problem restoring logical partitions on MSDOS partition table