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

    Capture image is raw filesystem

    Scheduled Pinned Locked Moved Unsolved
    Linux Problems
    3
    6
    2.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.
    • M
      mageta52
      last edited by

      Server
      • FOG Version: 7887
      • OS: Fedora 23
      Client
      • Service Version:
      • OS: CentOS 6
      Description

      I’m trying to capture an image from a CentOS 6 box, and the image is uploaded as a 240 GB raw image.

      This is part of the output from fdisk -l

      Device Boot Start End Blocks Id System
      /dev/sda1 * 1 13 102400 83 Linux
      Partition 1 does not end on cylinder boundary.
      /dev/sda2 13 29186 234327040 8e Linux LVM
      Partition 2 does not end on cylinder boundary.

      I’m not really clear on what settings I should use to capture this image. I read that I can’t use single image resizable for LVM. I’m surprised I didn’t get any error messages. Is there a way I can capture this without it being raw?

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

        Unfortunately capturing an LVM disk image with anything other than raw disk is not currently possible. Shrinking or growing an LVM partition externally is tricky at best. IF your plan is to deploy this image to multiple computers, I would recreate the reference image using traditional partitions (not LVM). With that FOG can grow and shrink ext4 based partitions without much pain.

        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!

        M 1 Reply Last reply Reply Quote 1
        • M
          mageta52 @george1421
          last edited by

          @george1421 This is a product that we resell, that is CentOS based. I’m not sure if I even have the choice to configure the disk layout. I’ll have to check tomorrow when I build another one.

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @mageta52
            last edited by

            @mageta52 I’m sure you can, and maintain any partitioning scheme you might have too. The only thing is those partitions need to be Ext4 as George said.

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            M 1 Reply Last reply Reply Quote 0
            • M
              mageta52 @Wayne Workman
              last edited by

              @Wayne-Workman I contacted the vendor today, and unfortunately I can’t make changes to the partitioning system.

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @mageta52
                last edited by

                @mageta52 But you can. This is Linux, after all, and they do not own CentOS 6. They merely own their product. What is the product?

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

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

                159

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project