Capture image is raw filesystem
- FOG Version: 7887
- OS: Fedora 23
- Service Version:
- OS: CentOS 6
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?
@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?
@Wayne-Workman I contacted the vendor today, and unfortunately I can’t make changes to the partitioning system.
@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.
@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.
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.