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

The disk contains an unclean file system (0, 0)

Scheduled Pinned Locked Moved Solved
FOG Problems
4
12
3.0k
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.
  • W
    willian
    last edited by May 15, 2019, 6:20 PM

    I have a Fog installation (1.5.6) and am having trouble trying to capture a Windows 10 image. I created the image in a VM and ran Sysprep.
    Two months ago I had done an installation with version 1.5.5 and gave the same problem, but I had managed to solve, I just can not remember how šŸ˜‰

    Captura de tela de 2019-05-15 15-03-03.png

    Captura de tela de 2019-05-15 15-05-15.png

    Thanks.

    Fog 1.5.6 (DHCP Server)
    CentOS 7

    1 Reply Last reply Reply Quote 0
    • E
      EduardoTSeoane
      last edited by EduardoTSeoane May 15, 2019, 12:49 PM May 15, 2019, 6:47 PM

      Hi @willian
      With this screenshot I think you have problems with the dirty bit or the hiberfile mark on ntfs block device /dev/sda1.

      You can do something like:

      on the fog.postinit script

      if [[ ${osid} -eq 9 ]]
      then
      ntfsfix -d /dev/sda1
      ## Begin put here the rest of ntfs partitions if you want
      
      ## End
      mount -t ntfs-3g -o remove_hiberfile  /dev/sda1 /mnt
      umount /mnt
      fi
      

      This is the idea. I have code like that in my fog.postinit and fog.postdownload script to grant access to the file system to deploy drivers and hostinfo data on fog.
      Can you repeat on every ntfs partition.
      Maybe it works.

      W 1 Reply Last reply May 15, 2019, 7:36 PM Reply Quote 3
      • W
        willian @EduardoTSeoane
        last edited by May 15, 2019, 7:36 PM

        @EduardoTSeoane Thanks a lot for the help.

        I made the changes to the file you mentioned and it worked, but a question if you can help me, in the attached print shows that /dev/sda4 is being cloned, only 13.3GB of space was used in the image I made, but apparently it is being cloned the partition in its total size 135.7GB and is taking a long time to finish. Is this right?
        Captura de tela de 2019-05-15 16-22-48.png

        Fog 1.5.6 (DHCP Server)
        CentOS 7

        E 1 Reply Last reply May 15, 2019, 7:39 PM Reply Quote 0
        • E
          EduardoTSeoane @willian
          last edited by May 15, 2019, 7:39 PM

          @willian
          yes its right.

          If you read the screen with attention partclone retrieves
          Device size (partition size)
          Space in use
          And
          Free space.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by May 15, 2019, 7:53 PM

            @willian As well make sure you read all this: https://wiki.fogproject.org/wiki/index.php?title=Windows_Dirty_Bit

            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

            W 1 Reply Last reply May 15, 2019, 10:54 PM Reply Quote 0
            • W
              willian @Sebastian Roth
              last edited by May 15, 2019, 10:54 PM

              Hello @Sebastian-Roth

              Yes, I saw it, but since I used sysprep to make the image, I thought that there would not be that problem.

              Fog 1.5.6 (DHCP Server)
              CentOS 7

              1 Reply Last reply Reply Quote 0
              • W
                willian
                last edited by May 16, 2019, 11:33 PM

                Guys, I came back because I think there’s still something wrong with the image capture I’m doing.

                Somehow I can now capture the image without appearing the error I posted in the attached image, I commented the lines I had added fog.postinit script (provided by @EduardoTSeoane ) and nothing else, and now the capture normally occurs, but I still see a problem due to the fact that the whole disk is being uploaded instead of just the space that was used. So I read, it could be something related to Fast Boot, Hibernation or BitLocker, but as the image I made is coming from a VM, then I do not see how this could happen, other than that, the image type is as Single Disk - Resizable .
                Was there anything else that could cause this?

                Thanks.

                Fog 1.5.6 (DHCP Server)
                CentOS 7

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth May 17, 2019, 12:41 AM May 17, 2019, 6:40 AM

                  @willian said in The disk contains an unclean file system (0, 0):

                  So I read, it could be something related to Fast Boot, Hibernation or BitLocker, but as the image I made is coming from a VM,

                  Why should those not be related in the context of a VM? Please make sure Windows 10 Fast Boot is disabled! As well run manage-bde -status C: (ref) in an admin cmd window to see if BitLocker is enabled. Then use shutdown -s -t 0 (ref) to properly shut down the VM before capture!

                  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

                  W 1 Reply Last reply May 17, 2019, 11:16 AM Reply Quote 0
                  • W
                    willian @Sebastian Roth
                    last edited by May 17, 2019, 11:16 AM

                    @Sebastian-Roth but there is no Fast Boot option in the VM, and BitLocker is disabled.

                    Captura de tela de 2019-05-17 08-02-31.png Captura de tela de 2019-05-17 08-06-05.png Captura de tela de 2019-05-17 08-07-16.png

                    And I think the VM is properly shutdown when I run sysprep.

                    Fog 1.5.6 (DHCP Server)
                    CentOS 7

                    Q 1 Reply Last reply May 17, 2019, 11:28 AM Reply Quote 0
                    • Q
                      Quazz Moderator @willian
                      last edited by May 17, 2019, 11:28 AM

                      @willian Fast Strange, there should be more options in the top left corner for power mangement, something like ā€œActions to take when closing lidā€, thats where fastboot option is located.

                      W 1 Reply Last reply May 17, 2019, 11:37 AM Reply Quote 0
                      • W
                        willian @Quazz
                        last edited by May 17, 2019, 11:37 AM

                        @Quazz yeah, but as it is a VM, I think there is no such option.

                        Fog 1.5.6 (DHCP Server)
                        CentOS 7

                        1 Reply Last reply Reply Quote 0
                        • W
                          willian
                          last edited by May 17, 2019, 1:48 PM

                          I don’t know what happened but now it’s just capturing used space.

                          Captura de tela de 2019-05-17 10-01-04.png Captura de tela de 2019-05-17 10-42-28.png

                          Fog 1.5.6 (DHCP Server)
                          CentOS 7

                          1 Reply Last reply Reply Quote 1
                          • 1 / 1
                          1 / 1
                          • First post
                            3/12
                            Last post

                          224

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright Ā© 2012-2024 FOG Project