Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Error when using Python version of ioprof #3

Open
laytonjbgmail opened this issue Jun 10, 2020 · 3 comments
Open

Error when using Python version of ioprof #3

laytonjbgmail opened this issue Jun 10, 2020 · 3 comments
Assignees

Comments

@laytonjbgmail
Copy link

I tried running the Python version of ioprof and I got an error.

The command line is:

ioprof.py -m trace -d /dev/sdb1 -r 3

The error is:

VERSION: 1.0.0.1
/usr/sbin/blktrace
/usr/bin/blkparse
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
0 % done (3 seconds left)No input files found for blk.out.sdb1.0
Mapping files to block locations
Creating tarball sdb1.tar
tar -cf sdb1.tar blk.out.sdb1.*.gz fdisk.sdb1 &> /dev/null
tar: blk.out.sdb1.0.blkparse.gz: Cannot open: No such file or directory
tar: Exiting with failure status due to previous errors
FINISHED tracing: sdb1.tar
Please use this file with ioprof.py -m post -t sdb1.tar to create a report

The Perl version works correctly.

Thanks for developing the tool!

@bjdonie
Copy link
Contributor

bjdonie commented Jun 10, 2020

Thanks for the positive feedback on the perl version! I will definitely look into the python version.

@bjdonie bjdonie self-assigned this Jun 11, 2020
@bjdonie
Copy link
Contributor

bjdonie commented Apr 6, 2022

@laytonjbgmail , I overhauled the python version of the tool after a longer-than-expected hiatus. If you're still using the tool, please try out the python version, as well.

@Avatat
Copy link

Avatat commented Apr 14, 2023

Hello,

I've just fetched the Python version, and it seems to be written in Python 2, which is EOL.
Are you planning to rewrite it to Py3? Are PRs welcome?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants