• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Nov 9, 2016, 10:36 PM

    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
    • G
      george1421 Moderator
      last edited by Nov 10, 2016, 12:22 AM

      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 Nov 10, 2016, 2:55 AM Reply Quote 1
      • M
        mageta52 @george1421
        last edited by Nov 10, 2016, 2:55 AM

        @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.

        W 1 Reply Last reply Nov 10, 2016, 5:48 PM Reply Quote 0
        • W
          Wayne Workman @mageta52
          last edited by Nov 10, 2016, 5:48 PM

          @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 Nov 10, 2016, 9:37 PM Reply Quote 0
          • M
            mageta52 @Wayne Workman
            last edited by Nov 10, 2016, 9:37 PM

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

            W 1 Reply Last reply Nov 11, 2016, 1:01 AM Reply Quote 0
            • W
              Wayne Workman @mageta52
              last edited by Nov 11, 2016, 1:01 AM

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

              239

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project