Red Hat Bugzilla – Bug 598647
blktrace cannot be killed cleanly
Last modified: 2014-01-27 04:25:29 EST
Description of problem:
In testing blktrace on a 8 CPU machine I was encountered with a problem similar to the on discussed in http://markmail.org/thread/sr2mfqsvhpeet4go
In other words, blktrace would work fine for the first run, and then give the “BLKTRACESETUP: No such file or directory” error on the second run. This problem doesn’t occur if I use the -w option to let blktrace finish. If I try to kill it with -k, or the Linux kill command, I have this error message and have to reboot the machine. I’m wondering if you are aware of any patch addressing this problem?
Version-Release number of selected component (if applicable):
It occurs every time I kill blktrace with -k option or Linux kill command.
Steps to Reproduce:
1. blktrace -d /dev/sda -o output-0 &
2. blktrace -d /dev/sda -k
3. blktrace -d /dev/sda -o output-0 &
BLKTRACESETUP(2) /dev/sda failed: 2/No such file or directory
blktrace running and collecting results
This duplicates 583624 and there is a similar bz 513950 for rhel5.
*** This bug has been marked as a duplicate of bug 583624 ***