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

Cannot image - Mount point cannot be found

Scheduled Pinned Locked Moved Solved
FOG Problems
3
19
1.7k
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.
  • Z
    zclift15
    last edited by Aug 30, 2019, 2:50 PM

    Server Debian 10
    Version 1.5.7
    Client Win10

    Currently I cannot image any computers as I recieve this error after attempting to deploy
    alt text

    G 1 Reply Last reply Aug 30, 2019, 5:03 PM Reply Quote 0
    • G
      george1421 Moderator @zclift15
      last edited by Aug 30, 2019, 5:03 PM

      @zclift15 Look in /images and /images/dev for a hidden file .mntcheck If that file is missing then it will throw that error.

      ls -la /images
      ls -la /images/dev

      I’ve seen this happen if/when someone moves the location of the /images directory because they were adding new storage.

      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!

      Z 1 Reply Last reply Aug 30, 2019, 5:10 PM Reply Quote 0
      • Z
        zclift15 @george1421
        last edited by zclift15 Aug 30, 2019, 11:15 AM Aug 30, 2019, 5:10 PM

        @george1421 Yeah that would definitely be it we did not mount images until after installation for server reasons. where can I get that file?

        1 Reply Last reply Reply Quote 0
        • Z
          zclift15
          last edited by zclift15 Aug 30, 2019, 11:17 AM Aug 30, 2019, 5:15 PM

          Wait no its there. My guess is that it came over because its our old /images directory from our outdated server

          G 1 Reply Last reply Aug 30, 2019, 5:45 PM Reply Quote 0
          • G
            george1421 Moderator @zclift15
            last edited by george1421 Aug 30, 2019, 11:47 AM Aug 30, 2019, 5:45 PM

            @zclift15 So just go in an touch that file in both directories.
            touch /images/.mntcheck
            touch /images/dev/.mntcheck

            Or just rerun the fog install script and it should recreate the missing file structure.

            EDIT: Ok rereading your last post the files are in there??

            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!

            Z 1 Reply Last reply Aug 30, 2019, 5:54 PM Reply Quote 0
            • Z
              zclift15 @george1421
              last edited by Aug 30, 2019, 5:54 PM

              @george1421 okay I ran those commands and now I get this error
              alt text

              G 1 Reply Last reply Aug 30, 2019, 5:55 PM Reply Quote 0
              • G
                george1421 Moderator @zclift15
                last edited by george1421 Aug 30, 2019, 11:58 AM Aug 30, 2019, 5:55 PM

                @zclift15 ok so what does this look like ?
                ls -la /images

                and more to the point, does /images/Laptop_Fall19 have files in it?

                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!

                Z 1 Reply Last reply Aug 30, 2019, 6:02 PM Reply Quote 0
                • Z
                  zclift15 @george1421
                  last edited by zclift15 Aug 30, 2019, 12:04 PM Aug 30, 2019, 6:02 PM

                  @george1421
                  yeah seems like its empty. Also not a directory?
                  alt text

                  Z G 2 Replies Last reply Aug 30, 2019, 6:04 PM Reply Quote 0
                  • Z
                    zclift15 @zclift15
                    last edited by Aug 30, 2019, 6:04 PM

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • G
                      george1421 Moderator @zclift15
                      last edited by Aug 30, 2019, 6:08 PM

                      @zclift15 Well I missed that its not a directory because we’ve been tracking a similar error at that just point in the deploy script: https://github.com/FOGProject/fos/blob/master/Buildroot/board/FOG/FOS/rootfs_overlay/bin/fog.download#L76

                      Back to your point, that needs to be a directory with files in it. That is why the error is being thrown there. The script is checking to ensure the imagepath directory exists, which of course is no, because its a file.

                      I think you need to go back to your old server and find the files. If you old server is still operational I can give you the commands to connect and copy the files.

                      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!

                      Z 1 Reply Last reply Aug 30, 2019, 6:09 PM Reply Quote 0
                      • Z
                        zclift15 @george1421
                        last edited by Aug 30, 2019, 6:09 PM

                        @george1421 Actually its a new image so I can just recapture it

                        G 1 Reply Last reply Aug 30, 2019, 6:11 PM Reply Quote 0
                        • G
                          george1421 Moderator @zclift15
                          last edited by george1421 Aug 30, 2019, 12:11 PM Aug 30, 2019, 6:11 PM

                          @zclift15 Did you capture it first time on this fog server, or did you copy it over? I’ve never seen fog do that so I’m curious…

                          Before you recapture it, remove the files from the images directory or the capture will fail at the very end.

                          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!

                          Z 2 Replies Last reply Aug 30, 2019, 6:12 PM Reply Quote 0
                          • Z
                            zclift15 @george1421
                            last edited by zclift15 Aug 30, 2019, 12:13 PM Aug 30, 2019, 6:12 PM

                            @george1421 Yes I did, and thanks for the tip!`

                            1 Reply Last reply Reply Quote 0
                            • Z
                              zclift15 @george1421
                              last edited by Aug 30, 2019, 9:02 PM

                              @george1421 I just finished recapturing but the file is still not a directory

                              G 1 Reply Last reply Aug 30, 2019, 9:16 PM Reply Quote 0
                              • G
                                george1421 Moderator @zclift15
                                last edited by Aug 30, 2019, 9:16 PM

                                @zclift15 That is not possible.

                                How fog works is that the capture creates a directory in /images/dev/<mac_address> that <mac_address> matches the mac address of the target computer. The files are uploaded into that directory. After the capture is done and just before it reports updating the database, the target computer will connect to the FOG server over ftp, and issue a FTP move command to move the directory from /images/dev/<mac_address> to /images/<image_name>. At no time a file should be created with the same name as <image_name>

                                When you capture the image, is that mac_address directory created, or is that directory still in existence? If everything is working correctly, there should be no directories in /images/dev that have a mac address name unless an upload is currently underway.

                                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 Sebastian Roth Aug 31, 2019, 12:37 AM Aug 31, 2019, 6:37 AM

                                  @zclift15 Make sure to change ownership of every file und sub dir… chown -R fogproject:fogproject /images

                                  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

                                  Z 1 Reply Last reply Sep 1, 2019, 7:41 PM Reply Quote 0
                                  • Z
                                    zclift15 @Sebastian Roth
                                    last edited by Sep 1, 2019, 7:41 PM

                                    @Sebastian-Roth Okay That seems to have solved that problem but now, (no matter how safely I shut down windows) fog is spitting the windows dirty bit error at me

                                    @george1421

                                    G 1 Reply Last reply Sep 1, 2019, 8:45 PM Reply Quote 0
                                    • G
                                      george1421 Moderator @zclift15
                                      last edited by Sep 1, 2019, 8:45 PM

                                      @zclift15 This is one way to shut it down cleanly shutdown -s -t 0 That should close all files, and clear the dirty bit flag.

                                      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 Sep 2, 2019, 9:27 AM

                                        @zclift15 As well read through 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

                                        1 Reply Last reply Reply Quote 1
                                        • 1 / 1
                                        1 / 1
                                        • First post
                                          15/19
                                          Last post

                                        219

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project