Cloning of the PVE not possible

pixel24

Well-Known Member
Dec 11, 2019
106
2
58
46
Hi@all

I have a PVE 7.1 here on a 3Ware RAID (9650SE-8M). Three 1TB are configured to a RAID5. So 2TB arrive in the OS.

Since the 3DM2 software is no longer available as a DEB, I cannot expand the RAID with a fourth SSD.

I have to delete the RAID volume and create it again with 4 x 1TB SSD. Before that, I want to create a complete image with Clonezilla.

I boot Clonezilla and attach an empty 3TB USB disk to the host. A device-to-device does not work because the target disk is supposedly too small, which cannot be the case. So I format the USB disk with ext4 and try Device-to-Image. The creation of the image runs through. However, the subsequent check aborts. Allegedly, pve/data and pve/root could not be checked.

Of course, I don't dare delete the RAID volume with such an image.

What do I have to consider if I want to create a 1:1 clone of PVE with Cloenzilla?

Here is some more information about the partitions:

Code:
root@vmhost01:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
udev                  7.8G     0  7.8G   0% /dev
tmpfs                 1.6G 1008K  1.6G   1% /run
/dev/mapper/pve-root   50G   16G   35G  32% /
tmpfs                 7.8G   46M  7.8G   1% /dev/shm
tmpfs                 5.0M     0  5.0M   0% /run/lock
/dev/fuse             128M   16K  128M   1% /etc/pve
tmpfs                 1.6G     0  1.6G   0% /run/user/0

Code:
root@vmhost01:~# vgdisplay
  --- Volume group ---
  VG Name               pve
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  75
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                5
  Open LV               4
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <1.82 TiB
  PE Size               4.00 MiB
  Total PE              476703
  Alloc PE / Size       462751 / <1.77 TiB
  Free  PE / Size       13952 / 54.50 GiB
  VG UUID               0ZP9ak-0iQQ-yFDC-34PU-fX3s-J81r-I532TE


Code:
root@vmhost01:~# lvdisplay
  --- Logical volume ---
  LV Path                /dev/pve/swap
  LV Name                swap
  VG Name                pve
  LV UUID                7KDOjM-pXyV-dM51-hBln-6Wyf-dNB2-PHPHHP
  LV Write Access        read/write
  LV Creation host, time proxmox, 2022-02-22 14:39:10 +0100
  LV Status              available
  # open                 2
  LV Size                8.00 GiB
  Current LE             2048
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
  
  --- Logical volume ---
  LV Path                /dev/pve/root
  LV Name                root
  VG Name                pve
  LV UUID                PEUFLH-t0uL-Jc8u-jMAt-dc0M-fnKr-PECpSx
  LV Write Access        read/write
  LV Creation host, time proxmox, 2022-02-22 14:39:10 +0100
  LV Status              available
  # open                 1
  LV Size                50.00 GiB
  Current LE             12800
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
  
  --- Logical volume ---
  LV Name                data
  VG Name                pve
  LV UUID                rcZQtx-PthC-FVFT-lwq3-6QID-mhrr-o9Ai8V
  LV Write Access        read/write (activated read only)
  LV Creation host, time proxmox, 2022-02-22 14:40:13 +0100
  LV Pool metadata       data_tmeta
  LV Pool data           data_tdata
  LV Status              available
  # open                 0
  LV Size                <1.68 TiB
  Allocated pool data    1.28%
  Allocated metadata     0.21%
  Current LE             439807
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:5
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-100-disk-0
  LV Name                vm-100-disk-0
  VG Name                pve
  LV UUID                NgbwUL-WQzu-nzN0-vIrv-7UM4-uxdo-W2dk5G
  LV Write Access        read/write
  LV Creation host, time vmhost01, 2022-02-22 15:31:54 +0100
  LV Pool name           data
  LV Status              available
  # open                 1
  LV Size                32.00 GiB
  Mapped size            29.39%
  Current LE             8192
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:6
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-101-disk-0
  LV Name                vm-101-disk-0
  VG Name                pve
  LV UUID                VXkCLi-fZCH-C20E-jUEx-bZNy-IyE3-tJU3vI
  LV Write Access        read/write
  LV Creation host, time vmhost01, 2022-02-22 17:39:16 +0100
  LV Pool name           data
  LV Status              available
  # open                 1
  LV Size                500.00 GiB
  Mapped size            2.53%
  Current LE             128000
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:7