• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Capturing Image Disk not shrinking, Image size is 0 on server

    FOG Problems
    2
    6
    71
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      reggiep9000 last edited by

      Hi Guys,
      I’m having an issue where during capture I see the error;
      ‘not shrinking disk, detected as fixed’
      the capture continues and completes however the image size in /images is 0

      drwxrwxrwx  7 root       root        4096 Apr 25 20:43 .
      drwxr-xr-x 28 root       root        4096 Apr 20 06:07 ..
      drwxr-xr-x  3 root       root        4096 Apr 25 20:40 dev
      drwx------  2 root       root       16384 Mar  4 14:37 lost+found
      drwxr-xr-x  2 root       root        4096 Mar 16 17:35 MISC-UBUNTUV3.3
      drwxr-xr-x  2 root       root        4096 Mar 29 14:16 MISC-UBUNTUV3.7
      -rwxrwxrwx  1 fogproject fogproject     0 Apr 25 19:41 MISC-UBUNTUV3.8
      -rwxrwxrwx  1 fogproject fogproject     0 Apr 25 20:43 MISC-UBUNTUV3.81
      

      df -h output:

      df -h
      Filesystem      Size  Used Avail Use% Mounted on
      udev            7.8G     0  7.8G   0% /dev
      tmpfs           1.6G  1.5M  1.6G   1% /run
      /dev/sda1       196G   12G  175G   7% /
      tmpfs           7.9G     0  7.9G   0% /dev/shm
      tmpfs           5.0M     0  5.0M   0% /run/lock
      tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
      /dev/loop1      768K  768K     0 100% /snap/gnome-characters/741
      /dev/loop3       56M   56M     0 100% /snap/core18/2344
      /dev/loop5       45M   45M     0 100% /snap/snapd/15534
      /dev/loop2      2.7M  2.7M     0 100% /snap/gnome-system-monitor/174
      /dev/loop0       44M   44M     0 100% /snap/snapd/15177
      /dev/loop4      2.5M  2.5M     0 100% /snap/gnome-calculator/884
      /dev/loop6      219M  219M     0 100% /snap/gnome-3-34-1804/77
      /dev/loop7       62M   62M     0 100% /snap/core20/1376
      /dev/loop8       66M   66M     0 100% /snap/gtk-common-themes/1519
      /dev/loop9       56M   56M     0 100% /snap/core18/2284
      /dev/loop10     2.7M  2.7M     0 100% /snap/gnome-calculator/920
      /dev/loop11     2.5M  2.5M     0 100% /snap/gnome-system-monitor/163
      /dev/loop12     249M  249M     0 100% /snap/gnome-3-38-2004/99
      /dev/loop13     219M  219M     0 100% /snap/gnome-3-34-1804/72
      /dev/loop14      66M   66M     0 100% /snap/gtk-common-themes/1515
      /dev/loop15     768K  768K     0 100% /snap/gnome-characters/761
      /dev/loop16     640K  640K     0 100% /snap/gnome-logs/106
      /dev/loop17      62M   62M     0 100% /snap/core20/1405
      /dev/loop18     128K  128K     0 100% /snap/bare/5
      /dev/loop19     248M  248M     0 100% /snap/gnome-3-38-2004/87
      /dev/sdb        2.0T   77G  1.8T   5% /images
      tmpfs           1.6G   28K  1.6G   1% /run/user/121
      tmpfs           1.6G     0  1.6G   0% /run/user/1000
      

      I’ve gone through all credentials and ensured they all match as per wiki.
      Any ideas where i may be going wrong ?
      Thanks!

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator last edited by

        @reggiep9000 Which version of FOG do you use? We might have an issue similar to what you described with the latest dev-branch.

        About FTP logging: https://forums.fogproject.org/post/130241

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • R
          reggiep9000 @Sebastian Roth last edited by

          @sebastian-roth Thanks that’s worked! are there some ftp logs i can look at to see if theres an ongoing issue ?

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator last edited by

            @reggiep9000 Ok there is your captured image. Not sure why it wasn’t moved over (some FTP issue?!). You can manually move it:

            rm /images/MISC-UBUNTUV3.81
            mv /images/dev/3cecef602ade /images/MISC-UBUNTUV3.81
            

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            R 1 Reply Last reply Reply Quote 0
            • R
              reggiep9000 @Sebastian Roth last edited by

              Hi Sebastian,
              See bellow,

              @sebastian-roth said in Capturing Image Disk not shrinking, Image size is 0 on server:

              ls -al /images/dev

              total 12
              drwxr-xr-x 3 root root 4096 Apr 25 20:40 .
              drwxrwxrwx 7 root root 4096 Apr 25 20:43 ..
              drwxrwxrwx 2 root root 4096 Apr 25 20:43 3cecef602ade
              -rw-r--r-- 1 root root    0 Mar 16 20:13 .mntcheck
              
              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator last edited by

                @reggiep9000 The latest MISC-UBUNTUV3.8 and MISC-UBUNTUV3.81 are not even directories as they should be - compare with the others.

                Please run ls -al /images/dev and post full output here.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                R 1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                59
                Online

                10.4k
                Users

                16.4k
                Topics

                150.7k
                Posts

                Copyright © 2012-2023 FOG Project