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

Capturing Image from Centos/Rhel with single disk resizable wont work whereas ubuntu/kubuntu works

Scheduled Pinned Locked Moved Solved
FOG Problems
3
10
1.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.
  • I
    irfan4701
    last edited by Feb 19, 2018, 11:53 AM

    Hi,
    I try to capture image from centos7/rhel7 but get an error at “Getting Windows/Linux partitions Count…Failed”, however when i try to capture with debian based OSes e.g ubuntu/kubuntu, it works perfectly fine.
    ![alt text](0_1519041272609_Screenshot (34).png image url)
    P.S capturing centos/rhel images with "Multiple Partition Image Single Disk(non-resizable) works fine

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Feb 19, 2018, 12:21 PM

      with centos 7 booted, can you post the output of this command
      lsblk ? I’m suspecting that LVM is your disk format.

      Also it would be helpful to know what version of FOG you are 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!

      1 Reply Last reply Reply Quote 1
      • I
        irfan4701
        last edited by Feb 19, 2018, 12:54 PM

        @george1421 thanks and yeah its LVM on both of the machines(centos/rhel).
        and fog version 1.4.4.
        0_1519044826267_Screenshot (36).png.
        from documentation i can see that LVM is not supported by fog, is there any workaround to work with single disk resizable?Thanks

        G 1 Reply Last reply Feb 19, 2018, 12:57 PM Reply Quote 0
        • G
          george1421 Moderator @irfan4701
          last edited by george1421 Feb 19, 2018, 6:57 AM Feb 19, 2018, 12:57 PM

          @irfan4701 I’m going to suspect that with the ubuntu systems its using standard disk partitions. I know that at one time FOG couldn’t resize LVM disks so non-resizable was the only option. I thought the developers were working on that option, but maybe LVM resizing was on the roadmap and not actively being worked 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!

          I 1 Reply Last reply Feb 21, 2018, 7:15 AM Reply Quote 1
          • I
            irfan4701 @george1421
            last edited by Feb 21, 2018, 7:15 AM

            @george1421 i tried with fixed partitions on centos but still i am not getting any output with resizable disk option.attached are the screenshots for lsblk and fog error
            1_1519197369098_Screenshot (38).png 0_1519197369097_Screenshot (37).png

            Am i still doing something wrong with partitioning or i am missing someting else.
            Thanks

            1 Reply Last reply Reply Quote 0
            • G
              george1421 Moderator
              last edited by Feb 21, 2018, 10:18 AM

              Tell me a bit more about the target system you are trying to capture from. Is this a virtual machine or physical hardware? Also is this target system in uefi or bios mode? I’d like to see if I can duplicate your setup in my lab.

              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!

              I 1 Reply Last reply Feb 22, 2018, 2:56 PM Reply Quote 0
              • I
                irfan4701
                last edited by Feb 22, 2018, 11:28 AM

                @george1421 target machine is VM running on virtual box with BIOS.
                Hope this helps.Thanks

                1 Reply Last reply Reply Quote 0
                • I
                  irfan4701 @george1421
                  last edited by Feb 22, 2018, 2:56 PM

                  @george1421 the issue was due to default partition type that centos was assigning as xfs and not ext4, after changing to ext4 it worked.thanks

                  G 1 Reply Last reply Feb 22, 2018, 2:58 PM Reply Quote 0
                  • G
                    george1421 Moderator @irfan4701
                    last edited by Feb 22, 2018, 2:58 PM

                    @irfan4701 Interesting because xfs is the default since centos 7 was released. But this is great news, now we have something new to go back to the devs with.

                    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 Feb 22, 2018, 11:48 AM Feb 22, 2018, 5:47 PM

                      @irfan4701 @george1421 XFS support has been added years ago. FOG 1.4.4 should be able to properly capture and deploy XFS partitions. Though it cannot shrink it! So you only need to change from XFS to EXT4 if you want resizable images…

                      See jdd49’s comment here:

                      XFS
                      Does not have the ability to shrink period. It can only grow. The only possible solution is to do a file backup using something like xfsdump, then recreate the filesystem. Or make the smallest partition possible when you first install, then grow after imaging.

                      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
                        7/10
                        Last post

                      195

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project