-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Jun 25, 2017 at 07:54:17PM +1000, John Elliot V wrote:
> Hey there. Maybe someone can help me with this.
> 
> I'm running Debian 9.0 (stretch). I have a few scripts which
> periodically create and then move a file from my 1TB M.2 drive to a MD
> RAID1 device comprised of 2x 6TB Seagate IronWolf drives. Full details
> are here [1].

[...]

> There seems to be plenty of RAM available, and plenty of CPU. So must be
> some I/O thing..? Anyway, I'm a bit stumped. I haven't tried running the
> mv command with nice, because it doesn't seem to be a CPU thing... but

You might try to play around with ionice. Something along the lines of

  ionice -c 3  mv /this/path /that/path

This would start the mv in the "idle" class (3), meaning it gets the
I/O breadcrumbs other processes leave on the table. More or less.

All of course untested. Consult the man page and move your pets to
a safe place first :)

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAllPjN8ACgkQBcgs9XrR2kbDNQCfY3LVfiYJ91Yz18quc56c98Zy
USQAnRITcx01FZnlPltPGg6xmCrR+qzE
=Q1vL
-----END PGP SIGNATURE-----

Reply via email to