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

    CentOS Partition Count Failed

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    11
    719
    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.
    • george1421G
      george1421 Moderator @WT_101
      last edited by

      @wt_101 Lets focus on your slow statement for the moment.

      When you capture/deploy this image. On the partclone screen, on the mid left hand side does it say RAW or XFS when its capturing the root partition?

      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!

      W 1 Reply Last reply Reply Quote 0
      • W
        WT_101 @george1421
        last edited by WT_101

        @george1421 For Deploy/Capture with “Multiple Partition Image - Single Disk (Not Resizable)” mode it is showing XFS on the partclone screen

        george1421G 1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @WT_101
          last edited by

          @wt_101 Ok so its not the likely subject.

          If you compare a windows capture/deployment vs a centos capture/deployment are the speeds on the partclone screen similar (I’m keying on the slowness at the moment).

          The next question is what version of FOG are you using? Or more on point what version of partclone is running 0.3.20? That is the latest one that addresses some performance issues on the apple side of the house.

          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!

          W 1 Reply Last reply Reply Quote 0
          • W
            WT_101 @george1421
            last edited by

            @george1421 said in CentOS Partition Count Failed:

            ion is what version of FOG are you

            I’m using 1.5.9, can i use Resizable disk to capture it?

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @WT_101
              last edited by

              @wt_101 Would you switch to the dev branch to upgrade to 1.5.9.200 or later. The reason is that version of partclone has been upgraded to 0.3.20 from 0.3.13.

              In theory you should be able to use single disk resizable with XFS file system. I have not personally tried cloning an XFS system but as long as its a standard partition (not lvm) it should just work.

              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!

              P 1 Reply Last reply Reply Quote 0
              • P
                Piotr86PL @george1421
                last edited by

                @george1421 said in CentOS Partition Count Failed:

                @wt_101 Would you switch to the dev branch to upgrade to 1.5.9.200 or later. The reason is that version of partclone has been upgraded to 0.3.20 from 0.3.13.

                In theory you should be able to use single disk resizable with XFS file system. I have not personally tried cloning an XFS system but as long as its a standard partition (not lvm) it should just work.

                I also tried cloning an XFS partition and it doesn’t work on the “Resizable” setting either. I think it is related to this code in the fog.upload file of the FOS system.

                            if [[ $ntfscnt -eq 0 && $extfscnt -eq 0 && $btrfscnt -eq 0 ]]; then
                                echo "Failed"
                                debugPause
                                handleError "No resizable partitions found ($0)\n   Args Passed: $*"
                            fi
                

                The script checks how many NTFS, EXT and BTRFS partitions there are and if the number is zero, it throws an error. For systems that only have XFS partitions, this causes the above error as the script doesn’t count how many XFS partitions there are (because XFS partitions can’t be resized anyway).

                george1421G W 2 Replies Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @Piotr86PL
                  last edited by

                  @piotr86pl said in CentOS Partition Count Failed:

                  as the script doesn’t count how many XFS partitions there are (because XFS partitions can’t be resized anyway

                  Is this a fact that xfs partitions can’t be extended, or is it an oversight on the FOG Project developers that they didn’t include the possibility to extend xfs partitions?

                  I know you can extend an xfs partition because I’ve done it before with the xfs_growfs command.

                  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!

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @george1421
                    last edited by

                    @george1421 yes, you can extend an xfs partition but we can’t decrease it. Not nicely that I’m aware of at least.

                    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

                    george1421G 1 Reply Last reply Reply Quote 1
                    • george1421G
                      george1421 Moderator @Tom Elliott
                      last edited by george1421

                      @tom-elliott said in CentOS Partition Count Failed:

                      you can extend an xfs partition but we can’t decrease it.

                      Of course you are right. I was only thinking about growing the partition on deployment. I forgot about FOG needing to shrink it before capture.

                      Now one way to make this work is to build the golden image with a disk size as small as possible so that the filesystem would only grow to fill the target disk. I had to do something similar before fog was robust enough to handle single disk resizable well (many years ago). The second part would be to update the fog.download script to support XFS expansion. We could patch the fog.download file using a FOG post init script (I say that being ignorant of how fog actually expands the disk after partclone is done).

                      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
                      • W
                        WT_101 @Piotr86PL
                        last edited by WT_101

                        @piotr86pl said in CentOS Partition Count Failed:

                        The script checks how many NTF

                        In order to use “Single Disk - Resizable” option during the installation CentOS for the /boot directory i use ext4 instead of xfs. As a result it can be capture without error but the image client size still remain the same size as the disk.

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

                        147

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project