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

Error 'Could not open inode 'XXXXXX" through the library'

Scheduled Pinned Locked Moved Solved
FOG Problems
10
35
9.8k
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.
  • S
    Sebastian Roth Moderator
    last edited by Jan 31, 2018, 9:45 PM

    @Jarl2-0 We got an answer! 🙂 Someone is interested to look into this, analyse metadata and try to fix the issue. But he also suggested to defrag the disk before doing the resize (capture)! Could be a workaround till we figure this out. Please give it a try and report back.

    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
    • S
      Sebastian Roth Moderator
      last edited by Feb 2, 2018, 12:36 PM

      @Jarl2-0 I thought I’d set up a test machine to replicate the issue but I am very short on time at the moment and therefore would ask you to create a metadata dump to send to the developer to look into. Quoting from his mail:

      I am interested in really fixing the issue, but I need to have a full picture of the metadata. This will not contain any user data, though the file names will be visible. Nevertheless this will be a big file which you will have to upload to a server for me to download (it will not fix in an email attachment).
      To extract the metadata image, do (as root) :
      ntfsclone -mst -O - /dev/xxx | gzip > metadata.gz (replace xxx by the partition name, like sda2)
      If you have a powerful computer, you will get better compression by using “xz -T0” (without the quotes) instead of gzip.
      This will require the partition to be consistent, you may have to do a chkdsk on Windows beforehand. If you cannot, you may add the extra option --ignore-fs-check but I might not be able to reproduce the issue.

      Please let me know if you need space to upload that metadata file somewhere but I guess you have google drive or dropbox or something like that. Please send me the link (in a private chat message if you like) and I will forward it to the developer. Thanks in advance.

      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
        rj7658
        last edited by Mar 13, 2018, 1:59 AM

        I am having the same issue as described here. I was running FOG version 1.4.0 first few tries. I upgraded to version 1.5.0 to see if it helped. I tried check disk and defrag using built in windows tools. I did manually resizing my image using Disk Management and Windows couldn’t complete the resize if I drop free space lower than 30%. The Image size of Windows is 37.9G and couldn’t shrink below 58.4G. I dont like the idea of using a non-resizable disk because it adds the extra step of extending the volume manually, BUT it does work.

        If I had to guess, Microsoft is writing something out there that FOG can’t move and is in conflict with the leaving only 2G of free space.

        G 1 Reply Last reply Mar 13, 2018, 2:44 AM Reply Quote 0
        • G
          george1421 Moderator @rj7658
          last edited by Mar 13, 2018, 2:44 AM

          @rj7658 Another solution (which we used before fog supported resizable disks) where to create the reference image in a VM with the disk smaller than the smallest size we had in our environment. So at the time we created our reference image on a 40GB virtual disk. Captured and deployed with FOG, then in the setupcomplete.cmd piped some commands into diskpart to expand the disk to the size of the target hard drive.

          You could use a similar concept by creating your reference image on an artificially small hard drive, capture with FOG single disk resizable, then when FOG deploys to a target system it will expand to the size of the target hard drive.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Mar 14, 2018, 4:31 AM

            @rj7658 Thanks for bringing the issue up again. As you see in my last post I had contact to one of the developers already and he offered to look into it. Would you be able to setup a test machine to try and replicate the issue and provide debug data as described in my last post?

            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
            • S
              Sebastian Roth Moderator
              last edited by Mar 24, 2018, 5:23 PM

              @rj7658 @george1421 @Jarl2-0 Ok, got some news here. Contacting the developer about this again and he told me that others have reported an issue as well and provided debug meta data to look at.

              Here are the two commits kind of related to that issue:
              https://sourceforge.net/p/ntfs-3g/ntfs-3g/ci/f334c1fdc397d92d2bb4aa9cf75b75dbb33eff40/
              and
              https://sourceforge.net/p/ntfs-3g/ntfs-3g/ci/1f8b751341944545eceb6037176f288843eb7b26/

              @Tom-Elliott Any chance we could add that new version / or the patches to our FOS image without too much hassle? Or should we just wait till the fix is upstream? I really wonder that we have seen those errors a couple of times months ago and now it is all quiet again.

              Hint for everyone: Defragging the disk might help even without the patches.

              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

              T 1 Reply Last reply Mar 25, 2018, 4:28 AM Reply Quote 1
              • T
                Tom Elliott @Sebastian Roth
                last edited by Mar 25, 2018, 4:28 AM

                @sebastian-roth I’ve made a patch that includes these fixes. I’m currently building the new init’s which will take quite a long time, but I have uploaded the patch to our fos repository. Sorry it will take a while to get some inits built.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                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 1
                • T
                  Tom Elliott
                  last edited by Mar 25, 2018, 4:08 PM

                  Inits have been uploaded.

                  If you want to give them a try:

                  wget --no-check-certificate -O /var/www/fog/service/ipxe/init.xz https://fogproject.org/inits/init.xz
                  wget --no-check-certificate -O /var/www/fog/service/ipxe/init_32.xz https://fogproject.org/inits/init_32.xz
                  

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  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

                  S 3 Replies Last reply Mar 26, 2018, 6:22 AM Reply Quote 0
                  • S
                    Szeraax @Tom Elliott
                    last edited by Mar 26, 2018, 6:22 AM

                    @tom-elliott @Sebastian-Roth Hahaha, we just ran into this as well. Can image 1703. Can image 1709. Can’t image once removed the windows.old via running Disk Cleanup as administrator and selecting the “Previous Windows installstion(s)” (about 28gb of data) option for removal. Do you need anything else to help diagnose this issue? Or just testers to report?

                    Will try chkdsk + defrag tomorrow. When it doesn’t work, I’ll try to apply your init and report.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Szeraax
                      last edited by Mar 26, 2018, 6:22 AM

                      Also of note: upgrading to 1709 RESET our fast boot option and we had to disable it again.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Szeraax @Tom Elliott
                        last edited by Mar 26, 2018, 6:41 PM

                        @tom-elliott I decided to do your fix before checkdisk, defrag, or resize. Is now capturing an image!

                        1 Reply Last reply Reply Quote 0
                        • S
                          Szeraax @Tom Elliott
                          last edited by Mar 26, 2018, 7:01 PM

                          @tom-elliott Image did capture correctly. Can you explain to us newbs what was A) wrong and B) the fix? Just out of casual curiousity, so not a big deal if you don’t want to type it out. 🙂

                          Right now, my guess is that the disk cleanup to remove old windows installations did something funky that may have moved certain stuff that fog didn’t expect to change and now it sometimes thought certain things were in bounds but actually aren’t and your fix gets the correct new location. But that’s TOTALLY baseless.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Mar 26, 2018, 7:04 PM

                            @szeraax said in Error 'Could not open inode 'XXXXXX" through the library':

                            I decided to do your fix before checkdisk, defrag, or resize. Is now capturing an image!

                            Great to hear. Sounds like the fix actually is working! Awesome.

                            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

                            S 1 Reply Last reply Mar 26, 2018, 7:13 PM Reply Quote 0
                            • T
                              Tom Elliott
                              last edited by Mar 26, 2018, 7:05 PM

                              I don’t know what the problem was. All I did was patch the ntfs-3g files with the suggested fixes from Sebastian and rebuilt the inits with the changes.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              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 1
                              • S
                                Szeraax @Sebastian Roth
                                last edited by Mar 26, 2018, 7:13 PM

                                @sebastian-roth I agree! Well done sir. Do you care to explain what was happening? Or is to too long that you don’t even want to sum up?

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Mar 27, 2018, 5:51 AM

                                  @Szeraax As I am not the developer of the ntfs-3g stuff I can only guess on what exactly was wrong. We try to resize the partition / filesystem to a size relativly close to the actual size of the data for capturing a resizable image and this seems to be a kind of peculiar case where things can go wrong more easily. I don’t know why this issue can be triggered by removing old Windows install data though.

                                  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

                                  S 1 Reply Last reply Mar 27, 2018, 5:52 AM Reply Quote 0
                                  • S
                                    Szeraax @Sebastian Roth
                                    last edited by Mar 27, 2018, 5:52 AM

                                    @sebastian-roth Cool cool. thanks!

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      TaTa
                                      last edited by Mar 28, 2018, 4:27 PM

                                      @Sebastian-Roth @Tom-Elliott Huge thanks for the fix. 1709 is uploading after updating init and init_32.

                                      S 1 Reply Last reply Mar 17, 2021, 1:49 PM Reply Quote 1
                                      • S
                                        scoude @TaTa
                                        last edited by Mar 17, 2021, 1:49 PM

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          scoude
                                          last edited by scoude Mar 17, 2021, 7:54 AM Mar 17, 2021, 1:53 PM

                                          @Sebastian-Roth @Tom-Elliott

                                          Hi everybody,

                                          With my new FOG 1.5.9, I have the same problem after removing the old windows installation (=> 20H2), exactly the same as described in this post ! Was the fix init.xz included in the latest version 1.5.9 ?

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

                                          136

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project