change ionice for restoring from FC disk?

fips

Renowned Member
May 5, 2014
178
10
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.