Slaying the /bin/rm dragon? (/usr/bin/ionice)

| No Comments

Further to my previous battles with /bin/rm, something new-to-me that might help: ionice -- "get/set program I/O scheduling class and priority". (Linux-only, I think.)

Running ionice -c3 /bin/rm ... should mean that rm "will only get disk time when no other program has asked for disk I/O..." (man page). That sounds about right.

Of course, ionice will not stop seek storms, nor will it leave the disk heads in a place convenient for other programs that are trying to do Real Work (TM).

NB: I have no empirical evidence that ionice actually helps in cases where /bin/rm renders a machine otherwise useless.

Leave a comment

About this Entry

This page contains a single entry by Will Partain published on February 2, 2010 1:23 AM.

My toughest Linux foe yet (/bin/rm) was the previous entry in this blog.

Partitioning for virtualization: RAID and LVM is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.