You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
system.img is a raw file , create lot of data on it, then delete data
=> virtual size if 88G ( sparse file ) , physical size is 28G
on it I've a btrfs filesystem, the data on it is 347M ( after delete the 28G of data test)
so :
Hello,
system.img is a raw file , create lot of data on it, then delete data
=> virtual size if 88G ( sparse file ) , physical size is 28G
on it I've a btrfs filesystem, the data on it is 347M ( after delete the 28G of data test)
so :
npRouen>ls -lash system.img
28G -rw-r--r-- 1 root root 88G Jan 23 16:32 system.img
npRouen>partclone.btrfs -c -d1 -s system.img -O system.clone
Partclone v0.3.32 http://partclone.org
Starting to clone device (system.img) to image (system.clone)
Reading Super Block
Calculating bitmap... Please wait...
done!
File system: BTRFS
Device size: 94.4 GB = 5761841 Blocks
Space in use: 347.1 MB = 21184 Blocks
Free Space: 94.1 GB = 5740657 Blocks
Block size: 16384 Byte
Elapsed: 00:00:02, Remaining: 00:00:00, Completed: 100.00%, Rate: 10.41GB/min,
Current block: 3487913, Total block: 5761841, Complete: 100.00%
Total Time: 00:00:02, Ave. Rate: 10.41GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (system.img) to the image (system.clone)
Cloned successfully.
Now i restore the clone :
npRouen>partclone.btrfs -r -s system.clone -O system.afterclone
Partclone v0.3.32 http://partclone.org
Starting to restore image (system.clone) to device (system.afterclone)
Calculating bitmap... Please wait...
Target partition size(0 MB) is smaller than source(94403 MB). Use option -C to disable size checking(Dangerous).
Partclone fail, please check /var/log/partclone.log !
if i use -C the btrfs is not mountable on system.afterclone
Regards,
Nicolas
The text was updated successfully, but these errors were encountered: