Menu

#3 incorrect information in the log

open
nobody
None
5
2012-10-05
2012-10-05
No

I found the partclone.vmfs3 outputs the incorrect information to the log.
I attach the patch to solve it.
The patch includes fixes for some other filesystem.

Version-Release number of selected component (if applicable):
partclone 0.2.49-1drbl (clonezilla-live-1.2.12-67-amd64)

How reproducible:
always

Steps to reproduce:
1. Build the vmfs-tools-0.2.5
2. Extract the test.img of the vmfs-tools-0.2.5
$ ./imager/imager -x test.img > vmfs3-test.img
3. Copy the vmfs3-test.img to the file server
4. Run Clonezilla Live
5. Enter command line prompt
6. Becomming root
7. Mount the file server
# prep-ocsroot
8. Change directory to the directory containing the vmfs3-test.img
# cd /home/partimag/vmfs3-test
9. Create the loop device
# losetup -v -f vmfs3-test.img
Loop device is /dev/loop1
10. Run partclone.vmfs3
# partclone.vmfs3 -c -s /dev/loop1 --output - | cat > /dev/null
11. Run the following command:
# grep ^Calculating /var/log/partclone.log

Expected result:
incorrect number of free blocks

Actual result:
correct number of free blocks

Discussion

  • Thomas

    Thomas - 2012-10-08

    Thank you for path vmfs3, I will review and commit to git repository.

     
  • Masayuki Moriyama

    Thank you for reviewing and accepting the patch.

    Best regards

     

Log in to post a comment.