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

NVMe Imaging Problems

Scheduled Pinned Locked Moved
Hardware Compatibility
4
6
4.4k
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.
  • D
    dang_that_guy
    last edited by Aug 4, 2017, 8:21 PM

    Hello awesome Fog Community,
    On my source machine I have a 512GB Samsung EVO M2 NVME SSD with a 475GB NTFS Partition (the partition has been shrunk to that size in an attempt to get around the issue below the drive only has about 200GB in use). This is just the data-drive of a build-machine who’s OS runs off a traditional SATA SSD so it doesn’t have any other partitions or special configurations.

    It’s failing to capture as a “Single Disk Resizeable” (gave error “disk contains an unclean file system” however I did perform every test possible and it IS good/clean). I have it currently captured as a “Multi-Partition Single Disk” capture (though it captures successfully as a RAW as well). When attempting to deploy the image to an identical M2 NVMe drive it fails immediately stating “Target partition size(500107 MB) is smaller than source(511060 MB). Use option -C to disable size checking (Dangerous).”

    TLDR; So I’m rather stuck, although i’m using identical drives – the image won’t deploy when captured, and I can’t capture it as a re-sizable partition.

    My thought is I either need to capture it as resizeable, or determine how to shrink the image ON the fog server itself. I’d really appreciate any insight you guys might have.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Aug 4, 2017, 8:22 PM

      We need information. What version of FOG are you using?

      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 0
      • S
        Sebastian Roth Moderator
        last edited by Aug 5, 2017, 6:55 AM

        @dang_that_guy said in NVMe Imaging Problems:

        Target partition size(500107 MB) is smaller than source(511060 MB).

        This is most probably because the disks aren’t identical in size! You need to know that 512GB disks do not all have the exact same amount of sectors/space. That’s how it is.

        As well it would be great to see the actual partition layout (and size) of those disks. So please schedule a debug capture job for the source machine and when you get to the shell run fdisk -l /dev/nvme0n1. Take a clear picture and shut off the machine. Do the same thing with the destination machine/disk (doesn’t matter if you schedule deploy or capture, just make sure it’s a debug job) and post both pictures here.

        As well we need to know which version of FOG you are running as Tom said. Otherwise we are not able to help you.

        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
        • X
          x23piracy
          last edited by x23piracy Aug 6, 2017, 2:06 PM Aug 6, 2017, 7:57 PM

          try to shutdown your windows with:

          shutdown -s -t 0 -f
          

          then capture (i assume u are capturing windows).

          It’s because shutdown /s performs a conventional shutdown. The shutdown via the GUI performs a fast shutdown for Windows 8 & 10, where it does something that’s pretty much like a hibernation, so that startup and shutdown are fast.

          https://askubuntu.com/questions/462381/cant-mount-ntfs-drive-the-disk-contains-an-unclean-file-system

          If you permanently like to disable that you can use (admin rights needed):

          powercfg -h off
          

          You don’t need to increase the partition yourself, fog will do that before it captures everything 😉

          Regards X23

          ║▌║█║▌│║▌║▌█

          1 Reply Last reply Reply Quote 0
          • D
            dang_that_guy
            last edited by Aug 8, 2017, 7:33 PM

            @x23piracy

            Fantastic advice and right on the money. The windows 10 hybrid shutdown is what caused the unclean file system error and explains why the Windows 10 DART disk never picked up the error because it saw it as “normal”. That let me successfully capture and deploy the image on the NVMe.

            @Tom-Elliott

            For full documentation: Fog version 1.4.4 - bzImage 4.12.3/bzImage32 4.12.3

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Aug 8, 2017, 8:35 PM

              What’s the contents of that system’s image d1.fixed_size_partitions.

              What’s the contents of:

              cat /images/<imagename>/d1.fixed_size_partitions
              cat /images/<imagename>/d1.partitions
              cat /images/<imagename>/d1.minimum.partitions
              

              This, too me, sounds liek the image was captured before our tests for “fixed” partitions became a little more proper and it resized something that was expected to be fixed size. What partition was it giving this issue on?

              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 0
              • 1 / 1
              1 / 1
              • First post
                4/6
                Last post

              222

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project