vma extract / lzop

sahostking

Renowned Member
Hi

Trying to restore a backup from one production server to another.

In doing so from NFS share the load on the new proxmox 4.2 LVM ext4 HW Raid server load goes very high when it restores.

For some reason our ZFS server never had these issues but had bad write speed.

Is there anyway to limit lzop or vma extract via diskio or bandwidth as one can control backup speed using bwlimit for vzdump, but is there options to limit restore bw/io aswell?
 
Hi,

yes you can use "ionice" with "qm create -archive" on the command line to restrict the restore process io.
 
Thanks so I assume this may work:

ionice -c 3 qmrestore --storage local-lvm /mnt/pve/nfs-storagevzjhb1/dump/vzdump-qemu-111-2016_05_08-21_00_01.vma.lzo 106

I do however notice alot of people on forums state use ionice -c 7

But if I look at the ionice --help I see this:

-c, --class <class> name or number of scheduling class,
0: none, 1: realtime, 2: best-effort, 3: idle
 
man fio

prio=int
Set I/O priority value of this job between 0 (highest) and 7 (lowest). See ionice(1).
 
Hi,

you can set it in the datacenter.conf see
man datacenter.cfg section bwlimit
 
  • Like
Reactions: Marcin Kubica