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

    No resize linux partitions

    Scheduled Pinned Locked Moved Unsolved
    Linux Problems
    2
    4
    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.
    • T
      tecm
      last edited by

      Server
      • FOG Version:1.3.4
      • OS: Centos 7
      Client
      • Service Version: no
      • OS: Centos 7 / ubuntu 16
      Description

      Hi ! After deploy image I found root disk not resize completely ( just only size parent root) . Parent drive for image: sda1 /boot 300mb, sda2 / 10gb, sda3 swap 2gb. If I delete swap partition image resizing correct. I`m testing on CentOS7minimal and Ubuntu 16. What is wrong?

      P.S. Sorry for bad English.

      1 Reply Last reply Reply Quote 0
      • T
        tecm
        last edited by

        That contained in files d1.minimum.partitions:

        %
        label: dos
        label-id: 0x0007adfe
        device: /dev/sda
        unit: sectors
        
        /dev/sda1 : start=        2048, size=      614400, type=83, bootable
        /dev/sda2 : start=      616448, size=     3304066, type=83
        /dev/sda3 : start=    54624256, size=     4096000, type=82
        
        

        That contained in files d1.partitions:

        %
        label: dos
        label-id: 0x0007adfe
        device: /dev/sda
        unit: sectors
        
        /dev/sda1 : start=        2048, size=      614400, type=83, bootable
        /dev/sda2 : start=      616448, size=    54007808, type=83
        /dev/sda3 : start=    54624256, size=     4096000, type=82
        
        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @tecm As you can see in the partitions listings you posted (thanks for that!) FOG does not alter the start of partitions. In your case sda3 (swap) will always start at sector 54624256 no matter what.

          Installing your system with swap as sda2 and root as sda3 should solve this for 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 0
          • T
            tecm
            last edited by

            As I understand realize resizing a few partitions is difficult? I try explain. If I manually partitioning drive and change default filesystem to ext4 for root, installer CentOS7 changes order of partitions. May be this is bug. But in some cases this feature will be strongly useful.

            I have one more question. Trouble with wrong UUID deployed swap partition is not solved?

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

            195

            Online

            12.1k

            Users

            17.3k

            Topics

            155.3k

            Posts
            Copyright © 2012-2024 FOG Project