Menu

#373 ntfsclone-ng.c: Bad number of free or total clusters after restoring image to smaller disk

testing_clonezilla
open
nobody
None
5
2021-12-06
2021-11-25
LeMerP
No

Version: clonezilla-live-20211116-jammy-amd64

Hello experts,

following scenario describes an issue with ntfsclone:
1. Install Windows 10 x64 on a 200GB disk on a virtual Machine, like VMWare / VirtualBox.
2. Take an image with following parameters:
ocs-sr -q2 -j2 -z1p -i 4096 -sfsck -scs -senc -p choose savedisk test nvme0n1
3. Replace disk with a smaller one, i.e. size of 100GB.
4. Restore image to smaller disk with this command:
ocs-sr -g auto -e1 auto -e2 -r -icds -j2 -k1 -scr -p choose restoredisk test nvme0n1
5. After successfully restoring the image, take a second image of the smaller disk:
ocs-sr -q2 -j2 -z1p -i 4096 -sfsck -scs -senc -p choose savedisk test2 nvme0n1
ntfsclone now is unable to backup the 4th partition of the disk (bad number of free or total clusters). The super block seems to be wrong.

Kind regards,
Patrick

Discussion

  • LeMerP

    LeMerP - 2021-12-06

    Hi Steven,

    thank you for the information.

    Kind regards,
    Patrick

     

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.