change ionice for restoring from FC disk?

fips

Renowned Member
May 5, 2014
175
7
83
Hi,

my VM disks lay on a Open-E FC Storage (Raid6).
Every time I restore a bigger (about 100GB) VM from NFS Backup, all other VM's produces error and stop working properly.
Via console I can see following errors on such a VM:

INFO: task xxxxx blocked for more than 120 seconds.
end_request: I/O error, dev vda, sector 98923232
Buffer I/O error on device dm-0, logical block 3838389

Does it bring something to change the value of ionice that, a restore doesn't occupy all disk/FC performance?
 
That is true, it is only used with the backup scripts in vzdump.

Maybe replace the tar executable with a wrapper?
Code:
#!/bin/bash
exec ionice -c 7 /usr/bin/tar.real "$@"

You have to look into dpkg-divert then also.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!