• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. shruggy
    3. Best
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 23
    • Best 3
    • Controversial 0
    • Groups 0

    Best posts made by shruggy

    • RE: 1.5.7.89: partclone doesn't capture an image in dd mode: wrong options in fog.upload

      I tested and uploaded another version: this time it’s the latest Partclone with the fix suggested by @Sebastian-Roth, i.e.

      diff --git a/src/ddclone.c b/src/ddclone.c
      index 04f8775..cab5386 100644
      --- a/src/ddclone.c
      +++ b/src/ddclone.c
      @@ -30,7 +30,9 @@ void read_super_blocks(char* device, file_system_info* fs_info)
              }
              strncpy(fs_info->fs, raw_MAGIC, FS_MAGIC_SIZE);
              fs_info->block_size  = PART_SECTOR_SIZE;
      -       //fs_info->device_size = get_partition_size(&src);
      +#ifdef IMG
      +       fs_info->device_size = get_partition_size(&src);
      +#endif
              fs_info->totalblock  = fs_info->device_size / PART_SECTOR_SIZE;
              fs_info->usedblocks  = fs_info->device_size / PART_SECTOR_SIZE;
              close(src);
      

      The symbol IMG is defined in Makefile when building partclone.imager and prevents this change from being built into partclone.dd. For now, I’ve successfully captured a disk from one machine and restored it to another one. After the coming Microsoft Patch Day (probably over the next weekend) I am planning to capture another disk image with this and deploy it to my pool in multi-cast mode.

      This time, I also built the 64-bit kernel 4.19.94 and used it together with this image. It’s here.

      posted in FOG Problems
      S
      shruggy
    • RE: Syntax error

      @Quazz @Sebastian-Roth
      The two awk lines changed in this commit are underquoted:
      https://github.com/FOGProject/fos/commit/5f0e7b5f7d77986b0e0019dd23c875c6d40ec869

      posted in Bug Reports
      S
      shruggy
    • RE: [dev-branch] multicast: for some hosts DB not updated after restore

      @shruggy said in 1.5.7.89: partclone doesn't capture an image in dd mode: wrong options in fog.upload:

      After the coming Microsoft Patch Day (probably over the next weekend) I am planning to capture another disk image with this and deploy it to my pool in multi-cast mode.

      I did it last weekend and the results are mixed. Yes, the image was successfully captured and then restored to 36 PCs in multi-cast. But: On five hosts I got this error message after restoring the image:

      Reattempting to update database: Failed

      The image was restored successfully on those hosts nevertheless. Only the FOG database wasn’t updated. All 36 PCs are identical hardware.

      In the Imaging Log the End column for those five hosts says:

      -0001-11-30 00:00:00

      while the Duration column says:

      2020 years 1 month 18 days 15 hours 35 minutes 43 seconds

      It looks like somehow the data for Start timestamp got written into Duration?

      posted in FOG Problems
      S
      shruggy
    • 1 / 1