PERC H355 and LVM-thin backup restoration

tistacasa

Member
Jan 27, 2022
2
0
6
35
I have a Dell PowerEdge T550 with PERC H355, and I was conducting tests for VM backup restoration using a 50GB hard drive with a backup size of 4.75GB. Proxmox is installed on a 2TB RAID1 setup, with a default LVM-thin partition and an LVM partition. When I restore the backup to the LVM partition (LVM2), it takes 5 minutes. However, when I restore it to the LVM-thin partition (local-lvm), it takes 2 hours.

Contents of /etc/pve/storage.cfg:

Code:
dir: local
path /var/lib/vz
content iso,backup,vztmpl

lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images

cifs: tesla
path /mnt/pve/tesla
server 192.168.16.9
share proxmox
content iso,backup
prune-backups keep-all=1
username proxmox

lvm: LVM2
vgname LVM2
content rootdir,images
nodes hawking
shared 0

I reinstalled Proxmox on a single non-RAID hard drive, this time leaving everything as default without the extra LVM partition.

/etc/pve/storage.cfg:
Code:
dir: local
path /var/lib/vz
content vztmpl,iso,backup

lvmthin: local-lvm
thinpool data
vgname pve
content images,rootdir

cifs: tesla
path /mnt/pve/tesla
server 192.168.16.9
share proxmox
content backup
prune-backups keep-all=1
username proxmox

The backup restoration to the LVM-thin partition (local-lvm) still took 2 hours. However, when I removed the hard drive and installed it in an external USB3 enclosure, booting from it, the backup restoration took 37 minutes.

It was much faster without going through the PERC controller. Could it be an issue with the controller?
 
I did some tests with fio and bkp restoration on different file systems
 

Attachments

  • 2023-06-12_142713.jpg
    2023-06-12_142713.jpg
    275.1 KB · Views: 12