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

Canceled capture task still running on host

Scheduled Pinned Locked Moved
FOG Problems
2
10
778
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.
  • M
    MicLima
    last edited by Jul 16, 2020, 5:37 PM

    Can I shut down the host if it’s still capturing? I canceled the task in the web console when I realized it was capturing both disks, I only need the main one, but it’s still capturing on the host.

    G 1 Reply Last reply Jul 16, 2020, 7:28 PM Reply Quote 0
    • G
      george1421 Moderator @MicLima
      last edited by Jul 16, 2020, 7:28 PM

      @MicLima well this is a bit late, but yes you can power off the capture or deployment. Understand that either the workstation or captured image will not be complete and basically broken until you reimage the computer or recapture your base image.

      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
      • M
        MicLima
        last edited by Jul 16, 2020, 7:30 PM

        Yeah, it’s still going even though my entire FOG disk space is gone already, 42 minutes remaining lol. So if I shut down, there will be a chance the machine itself will be broken or just the image being captured?

        1 Reply Last reply Reply Quote 0
        • M
          MicLima
          last edited by Jul 16, 2020, 7:39 PM

          It finally finished up, how can I get it to only capture the main disk?

          1 Reply Last reply Reply Quote 0
          • M
            MicLima
            last edited by Jul 16, 2020, 7:41 PM

            Well, never mind for now, seems I can’t log back into my web console. Strange!

            G 1 Reply Last reply Jul 16, 2020, 7:50 PM Reply Quote 0
            • G
              george1421 Moderator @MicLima
              last edited by george1421 Jul 16, 2020, 1:51 PM Jul 16, 2020, 7:50 PM

              @MicLima said in Canceled capture task still running on host:

              Well, never mind for now, seems I can’t log back into my web console. Strange

              Not so strange if you ran out of disk space. On a full disk the database will stop to prevent corruption. So to get things running again. Log into the FOG server linux console and do the following.

              cd /images/dev
              ls -la
              

              Look in this directory for any directory names that look like mac address, i.e. 0008562F99D0 That is a failed upload. It is safe to remove those directories ONLY. So in my previous example mac address, here is how you would remove that directory and its contents.

              sudo rm -rf 0008562F99D0
              

              That will completely purge that directory. Be aware that the rm -rf command is very powerful, so great power comes with a great responsibility. Use that power very carefully because you ‘could’ wipe your entire disk if you use any wild card characters with that command.

              once you purge the mac address like directories you can see how much free space you have for root with sudo df -h Look for the root partition /

              Once you free up space reboot the fog server and everything should work as normal. After that you will need to work on your space issues.

              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
              • M
                MicLima
                last edited by Jul 17, 2020, 2:23 PM

                Thanks for the replies George. I ended up having to restore from a backup because I couldn’t get it to boot at all. So, besides taking out the extra hdd, is there a way to tell FOG to only capture the main disk sda1?

                1 Reply Last reply Reply Quote 0
                • M
                  MicLima
                  last edited by Jul 17, 2020, 5:23 PM

                  Finally figured it out. I didn’t realize my D drive was in the disk0 slot, so when I told FOG to used /dev/sda it was looking at D instead of C. That’s what I get for assuming the factory installed drive would be in disk0.

                  G 1 Reply Last reply Jul 17, 2020, 5:25 PM Reply Quote 1
                  • G
                    george1421 Moderator @MicLima
                    last edited by Jul 17, 2020, 5:25 PM

                    @MicLima said in Canceled capture task still running on host:

                    I told FOG to used /dev/sda

                    So in this case your “C:” drive is /dev/sdb

                    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
                    • M
                      MicLima
                      last edited by Jul 17, 2020, 5:27 PM

                      Correct, it is uploading properly now. Thanks for the assistance!

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 / 1
                      • First post
                        7/10
                        Last post

                      140

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project