Menu

Need help with detecting partitions under LVM disks during clonezilla..

2024-09-17
2025-02-15
  • Srikanthsivasai Gudavalli

    I have a server that is having the LVM partition layout as below.

    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 931.5G 0 disk
    ├─sda1 8:1 0 8G 0 part /boot
    ├─sda2 8:2 0 20G 0 part /clonezilla
    ├─sda3 8:3 0 1G 0 part /boot/efi
    ├─sda4 8:4 0 512B 0 part
    └─sda5 8:5 0 902.5G 0 part
    ├─vg00-swapvol 253:0 0 5G 0 lvm [SWAP]
    ├─vg00-localmntvol 253:1 0 40G 0 lvm /local/mnt
    ├─vg00-vm1vda 253:2 0 100G 0 lvm
    │ ├─vg00-vm1vda1 253:10 0 1G 0 part
    │ ├─vg00-vm1vda2 253:11 0 512M 0 part
    │ └─vg00-vm1vda3 253:12 0 98.5G 0 part
    │ ├─icevg00-swapvol 253:13 0 5G 0 lvm
    │ ├─icevg00-shared 253:14 0 13.5G 0 lvm
    │ ├─icevg00-localmntvol 253:15 0 40G 0 lvm
    │ ├─icevg00-varvol 253:16 0 10G 0 lvm
    │ └─icevg00-slashvol 253:17 0 30G 0 lvm
    ├─vg00-vm0vda 253:3 0 80G 0 lvm
    │ ├─vg00-vm0vda1 253:7 0 79.9G 0 part
    │ ├─vg00-vm0vda14 253:8 0 4M 0 part
    │ └─vg00-vm0vda15 253:9 0 106M 0 part
    ├─vg00-varvol 253:4 0 10G 0 lvm /var
    ├─vg00-shared 253:5 0 100G 0 lvm /local/shared
    └─vg00-slashvol 253:6 0 30G 0 lvm /

    When I try to create an image of the server using clonezilla, I see that vg00-vm0vda & vg00-vm1vda are considered as disks and partclone uses partclone.dd for them by default. Is there anyway, we can tell partclone / clonezilla to probe the disks and backup the underlying partitions?

     
  • Srikanthsivasai Gudavalli

    Hello - May I know if you have been able to review this query?

     
  • Steven Shiau

    Steven Shiau - 2024-10-24

    Somehow your 1st post was not notified... Or maybe we missed that.
    Please run it using the latest stable Clonezilla live, i.e., 3.2.0-5:
    https://clonezilla.org/downloads.php
    If the issue remains, please share us the log file /var/log/clonezilla.log.
    In addition, please enter the command line, then run:
    0. sudo -i
    1. cat /proc/partitions
    2. blkid
    3. lsblk
    Please share the results of 1-3.
    Thanks.

    Steven

     
  • Srikanthsivasai Gudavalli

    Here is the output from the 3 commands you have requested and also the clonezilla.log
    vm1vda & vm0vda are the lvm disks that I was referring to having underlying partitions.
    Please let me know if you need any more information regarding the same.

    May I know if Clonezilla live, i.e., 3.2.0-5 has any fixes for this to identify underlying partitions of LVM disks?

     
  • Steven Shiau

    Steven Shiau - 2024-11-10

    Apparently, from the results of "blkid", you can see the file system was not detected for
    /dev/vg00/vm0vda and /dev/vg00/vm1vda. That's why we use "partclone.dd" to save them.
    Which version of Clonezilla live did you use? I suggest you give the latest one, i.e., 3.2.0-5, a try.

    Steven

     
  • Srikanthsivasai Gudavalli

    Hi Steven, would 3.2.0-5 have the capability to detect the LVM and probe the underlying partitions to use partclone?

     
  • Steven Shiau

    Steven Shiau - 2025-02-15

    Not sure, did you try that?
    Or even the testing one, i.e., 3.2.1-5?
    https://clonezilla.org/downloads.php

    Steven

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.