I am trying create an image using clonezilla live cd. The server i am trying to image is having multiple LVM partitions and couple of the LVM partitions are being used as disks for VMs residing on the server. One of the LVM is used as a GPT disk label for a VM; is being ignore by partclone from imaging. I would like to know what could be the reason for this and how I can save this LVM as well as part of the clonezilla backup. While the remaining LVMs images are creating successfully, the error happens at the end when clonezilla checks for the image restorable status and errors out that it cannot check the image for this particular LVM vm0vda/vm0vda_build1/vm0vda_build2.
Below is my lvm.conf output. The lvm that is being ignored while partclone is saving is vm0vda, vm0vda_build1 & vm0vda_build2.
This is the partclone output while its trying to save the image.
We already have VMs created out of this and they are working fine. What we are trying to do is taking a clonezilla image of the entire Server disk with all these configs loaded. Below is the output of the VM disk partitions for your information. Please let me know if you need any further information on this.
Is that possible you can show the files list in the image dir by running some like:
ls -l /home/partimag/sri16jun2024-*/*?
It's better to output that to a text file so that it's easier for us to read, e.g.,
ls -l /home/partimag/sri16jun2024-*/*? > /tmp/imglist.txt
then share the imglist.txt file.
BTW, if you kept the log file /var/log/clonezilla.log., please share that, too.
You can email me at steven@clonezilla.org.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This image was saved by Clonezilla at 2024-07-15 05:30:35 UTC.
Saved by clonezilla-live-20240630-noble-amd64.
The log during saving:
Starting /usr/sbin/ocs-sr at 2024-07-15 03:34:10 UTC... ********.
Clonezilla image dir: /home/partimag
Shutting down the Logical Volume Manager
Shutting Down logical volume: /dev/icevg01/localmntvol
Shutting Down logical volume: /dev/icevg01/shared
Shutting Down logical volume: /dev/icevg01/slashvol
Shutting Down logical volume: /dev/icevg01/swapvol
Shutting Down logical volume: /dev/icevg01/varvol
Shutting Down logical volume: /dev/icevg02/localmntvol
Shutting Down logical volume: /dev/icevg02/shared
Shutting Down logical volume: /dev/icevg02/slashvol
Shutting Down logical volume: /dev/icevg02/swapvol
Shutting Down logical volume: /dev/icevg02/varvol
Shutting Down logical volume: /dev/vg00/localmntvol
Shutting Down logical volume: /dev/vg00/localmntvol_build1
Shutting Down logical volume: /dev/vg00/localmntvol_build2
Shutting Down logical volume: /dev/vg00/shared
Shutting Down logical volume: /dev/vg00/slashvol
Shutting Down logical volume: /dev/vg00/slashvol_build1
Shutting Down logical volume: /dev/vg00/slashvol_build2
Shutting Down logical volume: /dev/vg00/swapvol
Shutting Down logical volume: /dev/vg00/varvol
Shutting Down logical volume: /dev/vg00/varvol_build1
Shutting Down logical volume: /dev/vg00/varvol_build2
Shutting Down logical volume: /dev/vg00/vm0vda
Shutting Down logical volume: /dev/vg00/vm1vda
Shutting Down volume group: icevg01
Shutting Down volume group: icevg02
Finished Shutting down the Logical Volume Manager
The selected devices: sda
The selected devices: sda
Searching for data/swap/extended partition(s)...
The data partition to be saved: sda1 sda2 sda3 sda5
The extended partition to be saved: sda4
The selected devices: sda1 sda2 sda3 sda5
Shutting down the Logical Volume Manager
Shutting Down volume group: icevg01
Shutting Down volume group: icevg02
Finished Shutting down the Logical Volume Manager
Starting saving /dev/sda1 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/sda1.XXX...
/dev/sda1 filesystem: ext4. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *********.
Running: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/sda1 --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/sda1.ext4-ptcl-img.gz. 2> /tmp/img_out_err.EKCvpl
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/sda1) to image (-)
Reading Super Block
memory needed: 21233668 bytes
bitmap 262144 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: EXTFS
Device size: 8.6 GB = 2097152 Blocks
Space in use: 502.6 MB = 122702 Blocks
Free Space: 8.1 GB = 1974450 Blocks
Block size: 4096 Byte
Total block 2097152
Total Time: 00:00:10, Ave. Rate: 3.02GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/sda1) to the image (-)
Time elapsed: 15.43 secs (~ .257 mins) ********.
Finished saving /dev/sda1 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/sda1.ext4-ptcl-img.gz *******.
Starting saving /dev/sda2 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/sda2.XXX...
/dev/sda2 filesystem: ext4. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/sda2 --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/sda2.ext4-ptcl-img.gz. 2> /tmp/img_out_err.7Cs2E9
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/sda2) to image (-)
Reading Super Block
memory needed: 21626884 bytes
bitmap 655360 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: EXTFS
Device size: 21.5 GB = 5242880 Blocks
Space in use: 517.8 MB = 126419 Blocks
Free Space: 21.0 GB = 5116461 Blocks
Block size: 4096 Byte
Total block 5242880
Total Time: 00:00:10, Ave. Rate: 3.11GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/sda2) to the image (-)
Time elapsed: 15.31 secs (~ .255 mins) ********.
Finished saving /dev/sda2 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/sda2.ext4-ptcl-img.gz *******.
Starting saving /dev/sda3 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/sda3.XXX...
/dev/sda3 filesystem: vfat. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.vfat -z 10485760 -N -L /var/log/partclone.log -c -s /dev/sda3 --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/sda3.vfat-ptcl-img.gz. 2> /tmp/img_out_err.OqwN84
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/sda3) to image (-)
Reading Super Block
memory needed: 21233668 bytes
bitmap 262144 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: FAT32
Device size: 1.1 GB = 2097152 Blocks
Space in use: 2.1 MB = 4152 Blocks
Free Space: 1.1 GB = 2093000 Blocks
Block size: 512 Byte
Total block 2097152
Total Time: 00:00:02, Ave. Rate: 63.77MB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/sda3) to the image (-)
Time elapsed: 7.71 secs (~ .128 mins) ********.
Finished saving /dev/sda3 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/sda3.vfat-ptcl-img.gz *******.
Parsing LVM layout for sda1 sda2 sda3 sda5 ...
vg00 /dev/sda5 To9JTV-5YsA-dbBn-4yf9-6QqM-oDYx-ngBql9
Parsing logical volumes...
Saving the VG config...
Volume group "vg00" successfully backed up.
done.
Checking if the VG config was saved correctly...
done.
Saving /dev/vg00/swapvol as filename: vg00-swapvol. /dev/vg00/swapvol info: Linux swap file, 4k page size, little endian, version 1, size 1310719 pages, 0 bad pages, no label, UUID=94ecd6ec-104d-4599-b000-9f20be9c95f7
Saving /dev/vg00/localmntvol as filename: vg00-localmntvol. /dev/vg00/localmntvol info: Linux rev 1.0 ext4 filesystem data, UUID=b1b619b9-00de-492d-bc61-af3e11bb7c2a (needs journal recovery) (extents) (64bit) (large files) (huge files)
Starting saving /dev/vg00/localmntvol as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-localmntvol.XXX...
/dev/vg00/localmntvol filesystem: ext4. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/vg00/localmntvol --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-localmntvol.ext4-ptcl-img.gz. 2> /tmp/img_out_err.cYajUR
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/vg00/localmntvol) to image (-)
Reading Super Block
memory needed: 22282244 bytes
bitmap 1310720 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: EXTFS
Device size: 42.9 GB = 10485760 Blocks
Space in use: 6.6 GB = 1615683 Blocks
Free Space: 36.3 GB = 8870077 Blocks
Block size: 4096 Byte
Total block 10485760
Total Time: 00:01:58, Ave. Rate: 3.37GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/vg00/localmntvol) to the image (-)
Time elapsed: 124.24 secs (~ 2.070 mins) ********.
Finished saving /dev/vg00/localmntvol as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-localmntvol.ext4-ptcl-img.gz *******.
Saving /dev/vg00/vm1vda as filename: vg00-vm1vda. /dev/vg00/vm1vda info: DOS/MBR boot sector
Refusing to fsck unknown or unsupported file system on /dev/vg00/vm1vda.
Starting saving /dev/vg00/vm1vda as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-vm1vda.XXX...
/dev/vg00/vm1vda filesystem: Unknown or unsupported. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.dd -z 10485760 -N --buffer_size 16777216 -L /var/log/partclone.log -s /dev/vg00/vm1vda --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-vm1vda.dd-ptcl-img.gz. 2> /tmp/img_out_err.JFqYhw
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone/restore (/dev/vg00/vm1vda) to (-) with dd mode
get device size 107374182400 by ioctl BLKGETSIZE64,
get device size 107374182400 by ioctl BLKGETSIZE64,
memory needed: 59768832 bytes
bitmap 26214400 bytes, blocks 216777216 bytes, checksum 0 bytes
Calculating bitmap... Please wait... done!
File system: raw
Device size: 107.4 GB = 209715200 Blocks
Space in use: 107.4 GB = 209715200 Blocks
Free Space: 0 Byte = 0 Blocks
Block size: 512 Byte
Total block 209715200
Total Time: 00:20:04, Ave. Rate: 5.35GB/min, 100.00% completed!
Syncing... OK!
Time elapsed: 1213.10 secs (~ 20.218 mins) ********.
Finished saving /dev/vg00/vm1vda as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-vm1vda.dd-ptcl-img.gz *******.
Saving /dev/vg00/vm0vda as filename: vg00-vm0vda. /dev/vg00/vm0vda info: data
Refusing to fsck unknown or unsupported file system on /dev/vg00/vm0vda.
Starting saving /dev/vg00/vm0vda as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-vm0vda.XXX...
/dev/vg00/vm0vda filesystem: Unknown or unsupported. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.dd -z 10485760 -N --buffer_size 16777216 -L /var/log/partclone.log -s /dev/vg00/vm0vda --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-vm0vda.dd-ptcl-img.gz. 2> /tmp/img_out_err.D8iZvB
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone/restore (/dev/vg00/vm0vda) to (-) with dd mode
get device size 85899345920 by ioctl BLKGETSIZE64,
get device size 85899345920 by ioctl BLKGETSIZE64,
memory needed: 54525952 bytes
bitmap 20971520 bytes, blocks 216777216 bytes, checksum 0 bytes
Calculating bitmap... Please wait... done!
File system: raw
Device size: 85.9 GB = 167772160 Blocks
Space in use: 85.9 GB = 167772160 Blocks
Free Space: 0 Byte = 0 Blocks
Block size: 512 Byte
Total block 167772160
Total Time: 00:16:13, Ave. Rate: 5.30GB/min, 100.00% completed!
Syncing... OK!
Time elapsed: 979.75 secs (~ 16.329 mins) ********.
Finished saving /dev/vg00/vm0vda as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-vm0vda.dd-ptcl-img.gz *******.
Saving /dev/vg00/varvol as filename: vg00-varvol. /dev/vg00/varvol info: Linux rev 1.0 ext4 filesystem data, UUID=0e15bbbd-0568-4451-8ddd-6b3e7a4c365a (needs journal recovery) (extents) (64bit) (large files) (huge files)
Starting saving /dev/vg00/varvol as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-varvol.XXX...
/dev/vg00/varvol filesystem: ext4. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/vg00/varvol --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-varvol.ext4-ptcl-img.gz. 2> /tmp/img_out_err.BVp7W7
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/vg00/varvol) to image (-)
Reading Super Block
memory needed: 21299204 bytes
bitmap 327680 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: EXTFS
Device size: 10.7 GB = 2621440 Blocks
Space in use: 899.3 MB = 219554 Blocks
Free Space: 9.8 GB = 2401886 Blocks
Block size: 4096 Byte
Total block 2621440
Total Time: 00:00:26, Ave. Rate: 2.08GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/vg00/varvol) to the image (-)
Time elapsed: 31.27 secs (~ .521 mins) ********.
Finished saving /dev/vg00/varvol as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-varvol.ext4-ptcl-img.gz *******.
Saving /dev/vg00/shared as filename: vg00-shared. /dev/vg00/shared info: Linux rev 1.0 ext4 filesystem data, UUID=c0c12e56-fcc4-4b7c-8df5-6d678295f830 (needs journal recovery) (extents) (64bit) (large files) (huge files)
Starting saving /dev/vg00/shared as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-shared.XXX...
/dev/vg00/shared filesystem: ext4. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/vg00/shared --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-shared.ext4-ptcl-img.gz. 2> /tmp/img_out_err.J5fbtB
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/vg00/shared) to image (-)
Reading Super Block
memory needed: 24248324 bytes
bitmap 3276800 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: EXTFS
Device size: 107.4 GB = 26214400 Blocks
Space in use: 6.5 GB = 1579880 Blocks
Free Space: 100.9 GB = 24634520 Blocks
Block size: 4096 Byte
Total block 26214400
Total Time: 00:01:52, Ave. Rate: 3.47GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/vg00/shared) to the image (-)
Time elapsed: 118.84 secs (~ 1.980 mins) ********.
Finished saving /dev/vg00/shared as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-shared.ext4-ptcl-img.gz *******.
Saving /dev/vg00/slashvol as filename: vg00-slashvol. /dev/vg00/slashvol info: Linux rev 1.0 ext4 filesystem data, UUID=aa5c6eab-aaf9-4407-a15e-1c8f0b59f84d (needs journal recovery) (extents) (64bit) (large files) (huge files)
Starting saving /dev/vg00/slashvol as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-slashvol.XXX...
/dev/vg00/slashvol filesystem: ext4. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/vg00/slashvol --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-slashvol.ext4-ptcl-img.gz. 2> /tmp/img_out_err.2oTzWv
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/vg00/slashvol) to image (-)
Reading Super Block
memory needed: 21954564 bytes
bitmap 983040 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: EXTFS
Device size: 32.2 GB = 7864320 Blocks
Space in use: 13.3 GB = 3256697 Blocks
Free Space: 18.9 GB = 4607623 Blocks
Block size: 4096 Byte
Total block 7864320
Total Time: 00:03:46, Ave. Rate: 3.54GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/vg00/slashvol) to the image (-)
Time elapsed: 232.60 secs (~ 3.876 mins) ********.
Finished saving /dev/vg00/slashvol as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-slashvol.ext4-ptcl-img.gz *******.
Saving /dev/vg00/localmntvol_build2 as filename: vg00-localmntvol_build2. /dev/vg00/localmntvol_build2 info: Linux rev 1.0 ext4 filesystem data, UUID=b1b619b9-00de-492d-bc61-af3e11bb7c2a (extents) (64bit) (large files) (huge files)
Starting saving /dev/vg00/localmntvol_build2 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-localmntvol_build2.XXX...
/dev/vg00/localmntvol_build2 filesystem: ext4. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/vg00/localmntvol_build2 --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-localmntvol_build2.ext4-ptcl-img.gz. 2> /tmp/img_out_err.eZYZZ7
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/vg00/localmntvol_build2) to image (-)
Reading Super Block
memory needed: 22282244 bytes
bitmap 1310720 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: EXTFS
Device size: 42.9 GB = 10485760 Blocks
Space in use: 4.7 GB = 1159453 Blocks
Free Space: 38.2 GB = 9326307 Blocks
Block size: 4096 Byte
Total block 10485760
Total Time: 00:01:22, Ave. Rate: 3.47GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/vg00/localmntvol_build2) to the image (-)
Time elapsed: 87.99 secs (~ 1.466 mins) ********.
Finished saving /dev/vg00/localmntvol_build2 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-localmntvol_build2.ext4-ptcl-img.gz *******.
Saving /dev/vg00/slashvol_build2 as filename: vg00-slashvol_build2. /dev/vg00/slashvol_build2 info: Linux rev 1.0 ext4 filesystem data, UUID=aa5c6eab-aaf9-4407-a15e-1c8f0b59f84d (needs journal recovery) (extents) (64bit) (large files) (huge files)
Starting saving /dev/vg00/slashvol_build2 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-slashvol_build2.XXX...
/dev/vg00/slashvol_build2 filesystem: ext4. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/vg00/slashvol_build2 --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-slashvol_build2.ext4-ptcl-img.gz. 2> /tmp/img_out_err.NUdayA
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/vg00/slashvol_build2) to image (-)
Reading Super Block
memory needed: 21954564 bytes
bitmap 983040 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: EXTFS
Device size: 32.2 GB = 7864320 Blocks
Space in use: 13.3 GB = 3246939 Blocks
Free Space: 18.9 GB = 4617381 Blocks
Block size: 4096 Byte
Total block 7864320
Total Time: 00:03:50, Ave. Rate: 3.47GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/vg00/slashvol_build2) to the image (-)
Time elapsed: 236.58 secs (~ 3.943 mins) ********.
Finished saving /dev/vg00/slashvol_build2 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-slashvol_build2.ext4-ptcl-img.gz *******.
Saving /dev/vg00/varvol_build2 as filename: vg00-varvol_build2. /dev/vg00/varvol_build2 info: Linux rev 1.0 ext4 filesystem data, UUID=0e15bbbd-0568-4451-8ddd-6b3e7a4c365a (extents) (64bit) (large files) (huge files)
Starting saving /dev/vg00/varvol_build2 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-varvol_build2.XXX...
/dev/vg00/varvol_build2 filesystem: ext4. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/vg00/varvol_build2 --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-varvol_build2.ext4-ptcl-img.gz. 2> /tmp/img_out_err.IdFXZI
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/vg00/varvol_build2) to image (-)
Reading Super Block
memory needed: 21299204 bytes
bitmap 327680 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: EXTFS
Device size: 10.7 GB = 2621440 Blocks
Space in use: 784.7 MB = 191588 Blocks
Free Space: 10.0 GB = 2429852 Blocks
Block size: 4096 Byte
Total block 2621440
Total Time: 00:00:18, Ave. Rate: 2.62GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/vg00/varvol_build2) to the image (-)
Time elapsed: 23.25 secs (~ .387 mins) ********.
Finished saving /dev/vg00/varvol_build2 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-varvol_build2.ext4-ptcl-img.gz *******.
Saving /dev/vg00/vm0vda_build2 as filename: vg00-vm0vda_build2. /dev/vg00/vm0vda_build2 info: DOS/MBR boot sector, extended partition table (last)
Saving /dev/vg00/vm1vda_build2 as filename: vg00-vm1vda_build2. /dev/vg00/vm1vda_build2 info: DOS/MBR boot sector
Refusing to fsck unknown or unsupported file system on /dev/vg00/vm1vda_build2.
Starting saving /dev/vg00/vm1vda_build2 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-vm1vda_build2.XXX...
/dev/vg00/vm1vda_build2 filesystem: Unknown or unsupported. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.dd -z 10485760 -N --buffer_size 16777216 -L /var/log/partclone.log -s /dev/vg00/vm1vda_build2 --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-vm1vda_build2.dd-ptcl-img.gz. 2> /tmp/img_out_err.ylRghB
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone/restore (/dev/vg00/vm1vda_build2) to (-) with dd mode
get device size 107374182400 by ioctl BLKGETSIZE64,
get device size 107374182400 by ioctl BLKGETSIZE64,
memory needed: 59768832 bytes
bitmap 26214400 bytes, blocks 216777216 bytes, checksum 0 bytes
Calculating bitmap... Please wait... done!
File system: raw
Device size: 107.4 GB = 209715200 Blocks
Space in use: 107.4 GB = 209715200 Blocks
Free Space: 0 Byte = 0 Blocks
Block size: 512 Byte
Total block 209715200
Total Time: 00:22:30, Ave. Rate: 4.77GB/min, 100.00% completed!
Syncing... OK!
Time elapsed: 1354.59 secs (~ 22.576 mins) ********.
Finished saving /dev/vg00/vm1vda_build2 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-vm1vda_build2.dd-ptcl-img.gz *******.
Saving /dev/vg00/localmntvol_build1 as filename: vg00-localmntvol_build1. /dev/vg00/localmntvol_build1 info: Linux rev 1.0 ext4 filesystem data, UUID=b1b619b9-00de-492d-bc61-af3e11bb7c2a (extents) (64bit) (large files) (huge files)
Starting saving /dev/vg00/localmntvol_build1 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-localmntvol_build1.XXX...
/dev/vg00/localmntvol_build1 filesystem: ext4. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/vg00/localmntvol_build1 --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-localmntvol_build1.ext4-ptcl-img.gz. 2> /tmp/img_out_err.24sbch
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/vg00/localmntvol_build1) to image (-)
Reading Super Block
memory needed: 22282244 bytes
bitmap 1310720 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: EXTFS
Device size: 42.9 GB = 10485760 Blocks
Space in use: 4.7 GB = 1159453 Blocks
Free Space: 38.2 GB = 9326307 Blocks
Block size: 4096 Byte
Total block 10485760
Total Time: 00:01:32, Ave. Rate: 3.10GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/vg00/localmntvol_build1) to the image (-)
Time elapsed: 98.05 secs (~ 1.634 mins) ********.
Finished saving /dev/vg00/localmntvol_build1 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-localmntvol_build1.ext4-ptcl-img.gz *******.
Saving /dev/vg00/slashvol_build1 as filename: vg00-slashvol_build1. /dev/vg00/slashvol_build1 info: Linux rev 1.0 ext4 filesystem data, UUID=aa5c6eab-aaf9-4407-a15e-1c8f0b59f84d (needs journal recovery) (extents) (64bit) (large files) (huge files)
Starting saving /dev/vg00/slashvol_build1 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-slashvol_build1.XXX...
/dev/vg00/slashvol_build1 filesystem: ext4. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/vg00/slashvol_build1 --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-slashvol_build1.ext4-ptcl-img.gz. 2> /tmp/img_out_err.eMiEvR
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/vg00/slashvol_build1) to image (-)
Reading Super Block
memory needed: 21954564 bytes
bitmap 983040 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: EXTFS
Device size: 32.2 GB = 7864320 Blocks
Space in use: 13.3 GB = 3246939 Blocks
Free Space: 18.9 GB = 4617381 Blocks
Block size: 4096 Byte
Total block 7864320
Total Time: 00:04:12, Ave. Rate: 3.17GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/vg00/slashvol_build1) to the image (-)
Time elapsed: 258.80 secs (~ 4.313 mins) ********.
Finished saving /dev/vg00/slashvol_build1 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-slashvol_build1.ext4-ptcl-img.gz *******.
Saving /dev/vg00/varvol_build1 as filename: vg00-varvol_build1. /dev/vg00/varvol_build1 info: Linux rev 1.0 ext4 filesystem data, UUID=0e15bbbd-0568-4451-8ddd-6b3e7a4c365a (extents) (64bit) (large files) (huge files)
Starting saving /dev/vg00/varvol_build1 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-varvol_build1.XXX...
/dev/vg00/varvol_build1 filesystem: ext4. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/vg00/varvol_build1 --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-varvol_build1.ext4-ptcl-img.gz. 2> /tmp/img_out_err.ha5Mdm
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/vg00/varvol_build1) to image (-)
Reading Super Block
memory needed: 21299204 bytes
bitmap 327680 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: EXTFS
Device size: 10.7 GB = 2621440 Blocks
Space in use: 784.8 MB = 191590 Blocks
Free Space: 10.0 GB = 2429850 Blocks
Block size: 4096 Byte
Total block 2621440
Total Time: 00:00:20, Ave. Rate: 2.35GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/vg00/varvol_build1) to the image (-)
Time elapsed: 25.34 secs (~ .422 mins) ********.
Finished saving /dev/vg00/varvol_build1 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-varvol_build1.ext4-ptcl-img.gz *******.
Saving /dev/vg00/vm0vda_build1 as filename: vg00-vm0vda_build1. /dev/vg00/vm0vda_build1 info: DOS/MBR boot sector, extended partition table (last)
Saving /dev/vg00/vm1vda_build1 as filename: vg00-vm1vda_build1. /dev/vg00/vm1vda_build1 info: DOS/MBR boot sector
Refusing to fsck unknown or unsupported file system on /dev/vg00/vm1vda_build1.
Starting saving /dev/vg00/vm1vda_build1 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-vm1vda_build1.XXX...
/dev/vg00/vm1vda_build1 filesystem: Unknown or unsupported. *******. *******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB. *******.
If this action fails or hangs, check:
* Is the disk full ? *******.
Running: partclone.dd -z 10485760 -N --buffer_size 16777216 -L /var/log/partclone.log -s /dev/vg00/vm1vda_build1 --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-vm1vda_build1.dd-ptcl-img.gz. 2> /tmp/img_out_err.VLy9D7
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone/restore (/dev/vg00/vm1vda_build1) to (-) with dd mode
get device size 107374182400 by ioctl BLKGETSIZE64,
get device size 107374182400 by ioctl BLKGETSIZE64,
memory needed: 59768832 bytes
bitmap 26214400 bytes, blocks 216777216 bytes, checksum 0 bytes
Calculating bitmap... Please wait... done!
File system: raw
Device size: 107.4 GB = 209715200 Blocks
Space in use: 107.4 GB = 209715200 Blocks
Free Space: 0 Byte = 0 Blocks
Block size: 512 Byte
Total block 209715200
Total Time: 00:27:45, Ave. Rate: 3.87GB/min, 100.00% completed!
Syncing... OK!
Time elapsed: 1668.81 secs (~ 27.813 mins) ********.
Finished saving /dev/vg00/vm1vda_build1 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/vg00-vm1vda_build1.dd-ptcl-img.gz *******.
Dumping the device mapper table in /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/dmraid.table...
Saving block devices info in /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/blkdev.list...
Saving block devices attributes in /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/blkid.list...
Checking the integrity of partition table in the disk /dev/sda...
Reading the partition table for /dev/sda...RETVAL=0 *******.
The first partition of disk /dev/sda starts at 2048.
Saving the hidden data between MBR (1st sector, i.e. 512 bytes) and 1st partition, which might be useful for some recovery tool, by:
dd if=/dev/sda of=/home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/sda-hidden-data-after-mbr skip=1 bs=512 count=2047
2047+0 records in
2047+0 records out
1048064 bytes (1.0 MB, 1.0 MiB) copied, 0.0662246 s, 15.8 MB/s *******.
Saving the MBR data for sda...
1+0 records in
1+0 records out
512 bytes copied, 0.00124108 s, 413 kB/s
End of saveparts job for image /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678. *******. ********.
Saving extended partition sda4 info in /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/sda4-ebr if it exists...
1+0 records in
1+0 records out
512 bytes copied, 0.0103735 s, 49.4 kB/s
End of savedisk job for image sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678.
Checking if udevd rules have to be restored...
This program is not started by Clonezilla server, so skip notifying it the job is done.
This program is not started by Clonezilla server, so skip notifying it the job is done.
Finished!
Finished!
End of log
Image created time: 2024-0715-0530
By the way - I found out that 1 VM is with MBR(vm1vda) and 1 VM is with GPT(vm0vda).
If I remove the partition table of GPT VM, then its detecting the vm0vda with partclone.dd. So I believe there is a confusion when both MBR & GPT has to be detected in clonezilla livecd. Have you ever known/come across this issue before? If so, is there any other suggestion other than removing the partition table?
Last edit: Srikanthsivasai Gudavalli 2024-07-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's recommended that you can attach those files, not paste them in in the discussion content. It's not easy to read...
"So I believe there is a confusion when both MBR & GPT" -> So in your case, you have two disks, and one is GPT, and the other one is MBR? They form the LV you have? Or?
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have single physical disk. I have created 2 LVMs out of this disk. Using 1 LVM, I have created 1 VM with GPT disk format and using the 2nd LVM I have created another VM with MBR disk format.
Now I try to create an image of the phisycal disk via clonezilla and clonezilla only detects MBR disk LVM. It never detects GPT disk based LVM at all.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Basically the detection for LV in Clonezilla in basically on the command "lvscan". Hence, maybe you can share the results of running "sudo lvscan" in your machine?
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying create an image using clonezilla live cd. The server i am trying to image is having multiple LVM partitions and couple of the LVM partitions are being used as disks for VMs residing on the server. One of the LVM is used as a GPT disk label for a VM; is being ignore by partclone from imaging. I would like to know what could be the reason for this and how I can save this LVM as well as part of the clonezilla backup. While the remaining LVMs images are creating successfully, the error happens at the end when clonezilla checks for the image restorable status and errors out that it cannot check the image for this particular LVM vm0vda/vm0vda_build1/vm0vda_build2.
Below is my lvm.conf output. The lvm that is being ignored while partclone is saving is vm0vda, vm0vda_build1 & vm0vda_build2.
This is the partclone output while its trying to save the image.
Saving /dev/vg00/vm0vda as filename: vg00-vm0vda. /dev/vg00/vm0vda info: DOS/MBR boot sector, extended partition table(last)
After the above message it moves to the next LVM without doing anything on this LVM
This is the lvm_logv.list
/dev/vg00/swapvol Linux/i386 swap file (new style), version 1 (4K pages), size 1310719 pages, no label, UUID=94ecd6ec-104d-4599-b000-9f20be9c95f7
/dev/vg00/localmntvol Linux rev 1.0 ext4 filesystem data, UUID=b1b619b9-00de-492d-bc61-af3e11bb7c2a (needs journal recovery) (extents) (64bit) (large files) (huge files)
/dev/vg00/vm1vda DOS/MBR boot sector
/dev/vg00/vm0vda DOS/MBR boot sector, extended partition table (last)
/dev/vg00/varvol Linux rev 1.0 ext4 filesystem data, UUID=0e15bbbd-0568-4451-8ddd-6b3e7a4c365a (needs journal recovery) (extents) (64bit) (large files) (huge files)
/dev/vg00/shared Linux rev 1.0 ext4 filesystem data, UUID=c0c12e56-fcc4-4b7c-8df5-6d678295f830 (needs journal recovery) (extents) (64bit) (large files) (huge files)
/dev/vg00/slashvol Linux rev 1.0 ext4 filesystem data, UUID=aa5c6eab-aaf9-4407-a15e-1c8f0b59f84d (needs journal recovery) (extents) (64bit) (large files) (huge files)
/dev/vg00/localmntvol_build2 Linux rev 1.0 ext4 filesystem data, UUID=b1b619b9-00de-492d-bc61-af3e11bb7c2a (extents) (64bit) (large files) (huge files)
/dev/vg00/slashvol_build2 Linux rev 1.0 ext4 filesystem data, UUID=aa5c6eab-aaf9-4407-a15e-1c8f0b59f84d (extents) (64bit) (large files) (huge files)
/dev/vg00/varvol_build2 Linux rev 1.0 ext4 filesystem data, UUID=0e15bbbd-0568-4451-8ddd-6b3e7a4c365a (extents) (64bit) (large files) (huge files)
/dev/vg00/vm0vdabuild2 DOS/MBR boot sector, extended partition table (last)
/dev/vg00/vm1vda_build2 DOS/MBR boot sector
/dev/vg00/localmntvol_build1 Linux rev 1.0 ext4 filesystem data, UUID=b1b619b9-00de-492d-bc61-af3e11bb7c2a (extents) (64bit) (large files) (huge files)
/dev/vg00/slashvol_build1 Linux rev 1.0 ext4 filesystem data, UUID=aa5c6eab-aaf9-4407-a15e-1c8f0b59f84d (needs journal recovery) (extents) (64bit) (large files) (huge files)
/dev/vg00/varvol_build1 Linux rev 1.0 ext4 filesystem data, UUID=0e15bbbd-0568-4451-8ddd-6b3e7a4c365a (extents) (64bit) (large files) (huge files)
/dev/vg00/vm0vdabuild1 DOS/MBR boot sector, extended partition table (last)
/dev/vg00/vm1vda_build1 DOS/MBR boot sector
This is the lvm_vg00.conf
Generated by LVM2 version 2.02.176(2) (2017-11-03): Sat Jul 6 07:03:36 2024
contents = "Text Format Volume Group"
version = 1
description = "vgcfgbackup -f /tmp/vgcfg_tmp.5t0XgY vg00"
creation_host = "debian" # Linux debian 5.0.0-13-generic #14-Ubuntu SMP Mon Apr 15 14:59:14 UTC 2019 x86_64
creation_time = 1720249416 # Sat Jul 6 07:03:36 2024
vg00 {
id = "Sn9M8c-QT2P-4Nlj-Gp06-YHHh-IgBn-QHBj25"
seqno = 277
format = "lvm2" # informational
status = ["RESIZEABLE", "READ", "WRITE"]
flags = []
extent_size = 65536 # 32 Megabytes
max_lv = 0
max_pv = 0
metadata_copies = 0
}
Last edit: Srikanthsivasai Gudavalli 2024-07-07
Maybe it's easier that if you can create a VM with such a LVM layout? Then share that with us?
It's easier for us to reproduce this issue.
Steven
We already have VMs created out of this and they are working fine. What we are trying to do is taking a clonezilla image of the entire Server disk with all these configs loaded. Below is the output of the VM disk partitions for your information. Please let me know if you need any further information on this.
blkid output from the main physical server
blkid
/dev/mapper/vg00-localmntvol_build2: UUID="b1b619b9-00de-492d-bc61-af3e11bb7c2a" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sda5: UUID="To9JTV-5YsA-dbBn-4yf9-6QqM-oDYx-ngBql9" TYPE="LVM2_member" PARTUUID="ba1794c8-05"
/dev/sda1: UUID="22c12d5f-517e-406b-ab66-edc7826f4c0e" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ba1794c8-01"
/dev/sda2: UUID="a3c9f1d4-f87a-4c74-be29-0aa25df1f571" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ba1794c8-02"
/dev/sda3: UUID="ABCB-DBA6" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="ba1794c8-03"
/dev/mapper/vg00-swapvol: UUID="94ecd6ec-104d-4599-b000-9f20be9c95f7" TYPE="swap"
/dev/mapper/vg00-localmntvol: UUID="b1b619b9-00de-492d-bc61-af3e11bb7c2a" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg00-vm1vda: PTUUID="1f8e3ffd" PTTYPE="dos"
/dev/mapper/vg00-vm0vda: PTUUID="28895f22-090c-4c9d-ba12-5d2ebd247771" PTTYPE="gpt"
/dev/mapper/vg00-varvol: UUID="0e15bbbd-0568-4451-8ddd-6b3e7a4c365a" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg00-shared: UUID="c0c12e56-fcc4-4b7c-8df5-6d678295f830" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg00-slashvol: UUID="aa5c6eab-aaf9-4407-a15e-1c8f0b59f84d" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg00-localmntvol_build1: UUID="b1b619b9-00de-492d-bc61-af3e11bb7c2a" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg00-slashvol_build1: UUID="aa5c6eab-aaf9-4407-a15e-1c8f0b59f84d" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg00-varvol_build1: UUID="0e15bbbd-0568-4451-8ddd-6b3e7a4c365a" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg00-vm0vda_build1: PTUUID="28895f22-090c-4c9d-ba12-5d2ebd247771" PTTYPE="gpt"
/dev/mapper/vg00-vm1vda_build1: PTUUID="1f8e3ffd" PTTYPE="dos"
/dev/mapper/vg00-slashvol_build2: UUID="aa5c6eab-aaf9-4407-a15e-1c8f0b59f84d" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg00-varvol_build2: UUID="0e15bbbd-0568-4451-8ddd-6b3e7a4c365a" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg00-vm0vda_build2: PTUUID="28895f22-090c-4c9d-ba12-5d2ebd247771" PTTYPE="gpt"
/dev/mapper/vg00-vm1vda_build2: PTUUID="1f8e3ffd" PTTYPE="dos"
GPT VM Disk partition.
label: gpt
device: /dev/vg00/vm0vda
unit: sectors
first-lba: 34
last-lba: 167772126
/dev/vg00/vm0vda1 : start= 227328, size= 167544799, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
/dev/vg00/vm0vda14 : start= 2048, size= 8192, type=21686148-6449-6E6F-744E-656564454649
/dev/vg00/vm0vda15 : start= 10240, size= 217088, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B
DOS VM Disk partition
label: dos
device: /dev/vg00/vm1vda
unit: sectors
/dev/vg00/vm1vda1 : start= 2048, size= 2097152, type=83, bootable
/dev/vg00/vm1vda2 : start= 2099200, size= 1048576, type=83
/dev/vg00/vm1vda3 : start= 3147776, size= 206567424, type=8e
Last edit: Srikanthsivasai Gudavalli 2024-07-08
Here is the partclone log during the imaging time which is actually skipping the partition.
Last edit: Srikanthsivasai Gudavalli 2024-07-09
blkid output
/dev/loop0: BLOCK_SIZE="1048576" TYPE="squashfs"
/dev/sda1: UUID="22c12d5f-517e-406b-ab66-edc7826f4c0e" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ba1794c8-01"
/dev/sda2: UUID="a3c9f1d4-f87a-4c74-be29-0aa25df1f571" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ba1794c8-02"
/dev/sda3: UUID="ABCB-DBA6" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="ba1794c8-03"
/dev/sda5: UUID="To9JTV-5YsA-dbBn-4yf9-6QqM-oDYx-ngBql9" TYPE="LVM2_member" PARTUUID="ba1794c8-05"
/dev/mapper/vg00-vm0vda1: LABEL="cloudimg-rootfs" UUID="17d2bcf1-3687-426a-8219-978743746d51" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="f3d45fbb-1af0-4896-b06e-93f571f1defe"
/dev/mapper/vg00-vm1vda3: UUID="gNwQuX-2NfA-r2Hv-Sk88-qvWv-Ya3K-nRLtn9" TYPE="LVM2_member" PARTUUID="1f8e3ffd-03"
/dev/mapper/vg00-vm1vda_build2p3: UUID="bs4NQb-cQi3-g65H-bzUM-ZvWr-aV7c-FKpNx6" TYPE="LVM2_member" PARTUUID="034d7375-03"
/dev/mapper/vg00-vm1vda1: UUID="d25edc8b-963d-45c3-a011-cdef5a460fb7" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="1f8e3ffd-01"
/dev/mapper/vg00-vm0vda_build2p15: LABEL_FATBOOT="UEFI" LABEL="UEFI" UUID="84F6-2C58" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="47fb9141-53bc-3e49-9cf9-ff1f593cdea1"
/dev/mapper/vg00-vm1vda_build2p1: UUID="d25edc8b-963d-45c3-a011-cdef5a460fb7" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="034d7375-01"
/dev/mapper/vg00-vm1vda_build1p2: UUID="d208f36e-3eef-48bb-873f-ef5a17761c70" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="d845a014-02"
/dev/mapper/vg00-vm0vda_build2p1: LABEL="cloudimg-rootfs" UUID="17d2bcf1-3687-426a-8219-978743746d51" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="9059637f-dcfb-4540-940d-73b7d86bcc4a"
/dev/mapper/vg00-vm0vda15: LABEL_FATBOOT="UEFI" LABEL="UEFI" UUID="84F6-2C58" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="d4bd23e6-f1d0-4c49-8939-30eeab84bd7d"
/dev/mapper/vg00-vm0vda_build1p15: LABEL_FATBOOT="UEFI" LABEL="UEFI" UUID="84F6-2C58" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="24897f0b-7f59-3d44-87ed-d094def51828"
/dev/mapper/vg00-vm1vda2: UUID="d208f36e-3eef-48bb-873f-ef5a17761c70" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="1f8e3ffd-02"
/dev/mapper/vg00-vm0vda_build1p1: LABEL="cloudimg-rootfs" UUID="17d2bcf1-3687-426a-8219-978743746d51" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="0feab5c4-d7c9-fe4d-87e0-173326d86d6f"
/dev/mapper/vg00-vm1vda_build2p2: UUID="d208f36e-3eef-48bb-873f-ef5a17761c70" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="034d7375-02"
/dev/mapper/vg00-vm1vda_build1p3: UUID="32Ibn2-C0Ye-7THe-b4Rc-vHBZ-APuu-UIuvW6" TYPE="LVM2_member" PARTUUID="d845a014-03"
/dev/mapper/vg00-vm1vda_build1p1: UUID="d25edc8b-963d-45c3-a011-cdef5a460fb7" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="d845a014-01"
/dev/mapper/vg00-vm0vda_build2: PTUUID="1ff970cf-881c-cb49-a1a7-630f536a4d34" PTTYPE="gpt"
/dev/mapper/vg00-vm0vda_build1p14: PARTUUID="47f4d11a-63ba-2747-828e-79d3dc3b20e0"
/dev/mapper/vg00-vm0vda_build1: PTUUID="a18277c3-f637-a741-a43b-87a3df6db9ee" PTTYPE="gpt"
/dev/mapper/vg00-vm1vda: PTUUID="1f8e3ffd" PTTYPE="dos"
/dev/mapper/vg00-vm1vda_build2: PTUUID="034d7375" PTTYPE="dos"
/dev/mapper/vg00-vm1vda_build1: PTUUID="d845a014" PTTYPE="dos"
/dev/sda4: PARTUUID="ba1794c8-04"
/dev/mapper/vg00-vm0vda_build2p14: PARTUUID="ca3f251e-d0c3-c447-9bd1-3e7ce7edfa1c"
/dev/mapper/vg00-vm0vda: PTUUID="28895f22-090c-4c9d-ba12-5d2ebd247771" PTTYPE="gpt"
/dev/mapper/vg00-vm0vda14: PARTUUID="1a8cfee7-3241-43b3-a8f1-265c160a4d41"
cat /proc/partitions output
major minor #blocks name
7 0 423932 loop0
8 0 976762584 sda
8 1 8388608 sda1
8 2 20971520 sda2
8 3 1048576 sda3
8 4 0 sda4
8 5 946351104 sda5
11 0 1048575 sr0
252 2 104857600 dm-2
252 3 83886080 dm-3
252 10 83886080 dm-10
252 11 104857600 dm-11
252 15 83886080 dm-15
252 16 104857600 dm-16
252 17 1048576 dm-17
252 18 524288 dm-18
252 19 103283712 dm-19
252 25 1048576 dm-25
252 26 524288 dm-26
252 27 103283712 dm-27
252 33 83772399 dm-33
252 34 4096 dm-34
252 35 108544 dm-35
252 36 83772399 dm-36
252 37 4096 dm-37
252 38 108544 dm-38
252 39 83772399 dm-39
252 40 4096 dm-40
252 41 108544 dm-41
252 42 1048576 dm-42
252 43 524288 dm-43
252 44 103283712 dm-44
Attached is a screenshot of the syslog where it says /dev/vg00/vm0vda: type not recognized: skipping.
Is that possible you can show the files list in the image dir by running some like:
ls -l /home/partimag/sri16jun2024-*/*?
It's better to output that to a text file so that it's easier for us to read, e.g.,
ls -l /home/partimag/sri16jun2024-*/*? > /tmp/imglist.txt
then share the imglist.txt file.
BTW, if you kept the log file /var/log/clonezilla.log., please share that, too.
You can email me at steven@clonezilla.org.
Steven
Here is the output from NFS exported folder.
cat /tmp/imglist.txt
dev-fs.list
lvm_logv.list
lvm_vg00.conf
lvm_vg_dev.list
sda1.ext4-ptcl-img.gz.aa
sda2.ext4-ptcl-img.gz.aa
sda3.vfat-ptcl-img.gz.aa
swappt-vg00-swapvol.info
vg00-localmntvol_build1.ext4-ptcl-img.gz.aa
vg00-localmntvol_build2.ext4-ptcl-img.gz.aa
vg00-localmntvol.ext4-ptcl-img.gz.aa
vg00-shared.ext4-ptcl-img.gz.aa
vg00-slashvol_build1.ext4-ptcl-img.gz.aa
vg00-slashvol_build2.ext4-ptcl-img.gz.aa
vg00-slashvol_build2.ext4-ptcl-img.gz.ab
vg00-slashvol.ext4-ptcl-img.gz.aa
vg00-slashvol.ext4-ptcl-img.gz.ab
vg00-varvol_build2.ext4-ptcl-img.gz.aa
vg00-varvol.ext4-ptcl-img.gz.aa
vg00-vm1vda_build2.dd-ptcl-img.gz.aa
vg00-vm1vda_build2.dd-ptcl-img.gz.ab
vg00-vm1vda_build2.dd-ptcl-img.gz.ac
vg00-vm1vda_build2.dd-ptcl-img.gz.ad
vg00-vm1vda_build2.dd-ptcl-img.gz.ae
vg00-vm1vda_build2.dd-ptcl-img.gz.af
vg00-vm1vda_build2.dd-ptcl-img.gz.ag
vg00-vm1vda.dd-ptcl-img.gz.aa
vg00-vm1vda.dd-ptcl-img.gz.ab
vg00-vm1vda.dd-ptcl-img.gz.ac
vg00-vm1vda.dd-ptcl-img.gz.ad
clonezilla.log
This image was saved by Clonezilla at 2024-07-15 05:30:35 UTC.
Saved by clonezilla-live-20240630-noble-amd64.
The log during saving:
Starting /usr/sbin/ocs-sr at 2024-07-15 03:34:10 UTC...
********.
Clonezilla image dir: /home/partimag
Shutting down the Logical Volume Manager
Shutting Down logical volume: /dev/icevg01/localmntvol
Shutting Down logical volume: /dev/icevg01/shared
Shutting Down logical volume: /dev/icevg01/slashvol
Shutting Down logical volume: /dev/icevg01/swapvol
Shutting Down logical volume: /dev/icevg01/varvol
Shutting Down logical volume: /dev/icevg02/localmntvol
Shutting Down logical volume: /dev/icevg02/shared
Shutting Down logical volume: /dev/icevg02/slashvol
Shutting Down logical volume: /dev/icevg02/swapvol
Shutting Down logical volume: /dev/icevg02/varvol
Shutting Down logical volume: /dev/vg00/localmntvol
Shutting Down logical volume: /dev/vg00/localmntvol_build1
Shutting Down logical volume: /dev/vg00/localmntvol_build2
Shutting Down logical volume: /dev/vg00/shared
Shutting Down logical volume: /dev/vg00/slashvol
Shutting Down logical volume: /dev/vg00/slashvol_build1
Shutting Down logical volume: /dev/vg00/slashvol_build2
Shutting Down logical volume: /dev/vg00/swapvol
Shutting Down logical volume: /dev/vg00/varvol
Shutting Down logical volume: /dev/vg00/varvol_build1
Shutting Down logical volume: /dev/vg00/varvol_build2
Shutting Down logical volume: /dev/vg00/vm0vda
Shutting Down logical volume: /dev/vg00/vm1vda
Shutting Down volume group: icevg01
Shutting Down volume group: icevg02
Finished Shutting down the Logical Volume Manager
The selected devices: sda
The selected devices: sda
Searching for data/swap/extended partition(s)...
The data partition to be saved: sda1 sda2 sda3 sda5
The extended partition to be saved: sda4
The selected devices: sda1 sda2 sda3 sda5
Shutting down the Logical Volume Manager
Shutting Down volume group: icevg01
Shutting Down volume group: icevg02
Finished Shutting down the Logical Volume Manager
Starting saving /dev/sda1 as /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/sda1.XXX...
/dev/sda1 filesystem: ext4.
*******.
*******.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB.
*******.
If this action fails or hangs, check:
* Is the disk full ?
*********.
Running: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/sda1 --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/sri16jul2024-2024.7.15.1.rel-5gc-jul_24-x9drdiflf-20240715_093133248678/sda1.ext4-ptcl-img.gz. 2> /tmp/img_out_err.EKCvpl
Opening User Interface mode.
Partclone v0.3.31 http://partclone.org
Starting to clone device (/dev/sda1) to image (-)
Reading Super Block
memory needed: 21233668 bytes
bitmap 262144 bytes, blocks 210485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
Total Time: 00:00:01, Ave. Rate: 60.00byte/min, 100.00% completed!
done!
File system: EXTFS
Device size: 8.6 GB = 2097152 Blocks
Space in use: 502.6 MB = 122702 Blocks
Free Space: 8.1 GB = 1974450 Blocks
Block size: 4096 Byte
Total block 2097152
Total Time: 00:00:10, Ave. Rate: 3.02GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/sda1) to the image (-)
End of log
Image created time: 2024-0715-0530
By the way - I found out that 1 VM is with MBR(vm1vda) and 1 VM is with GPT(vm0vda).
If I remove the partition table of GPT VM, then its detecting the vm0vda with partclone.dd. So I believe there is a confusion when both MBR & GPT has to be detected in clonezilla livecd. Have you ever known/come across this issue before? If so, is there any other suggestion other than removing the partition table?
Last edit: Srikanthsivasai Gudavalli 2024-07-15
It's recommended that you can attach those files, not paste them in in the discussion content. It's not easy to read...
"So I believe there is a confusion when both MBR & GPT" -> So in your case, you have two disks, and one is GPT, and the other one is MBR? They form the LV you have? Or?
Steven
I have single physical disk. I have created 2 LVMs out of this disk. Using 1 LVM, I have created 1 VM with GPT disk format and using the 2nd LVM I have created another VM with MBR disk format.
Now I try to create an image of the phisycal disk via clonezilla and clonezilla only detects MBR disk LVM. It never detects GPT disk based LVM at all.
Basically the detection for LV in Clonezilla in basically on the command "lvscan". Hence, maybe you can share the results of running "sudo lvscan" in your machine?
Steven