-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./Install-EIO install-cli does not work, and eio_cli when installed manually does not work either. #49
Comments
Check to make sure Python2 is installed. |
Try running 'Install-EIO -r -i -m -l' and see what it says. |
Change shebang to |
This is an, "I knew this could happen, but did nothing.", situation. I saw the potential for something like this when I was writing Install-EIO, but decided it would likely be an edge case. Install-EIO checks for what eio-cli expects, and it expects to see python2 when calling python directly. I'll add a fix to my existing pull request later today. (And also fix the missing exit condition under "install-cli".) |
Yeah that worked, I thought that was pretty standard when wanting to call Python2 but I guess I was misinformed there. |
That produces:
|
On Gentoo it is configurable, admin can choose which implementation of python is run by symlink /usr/bin/python. |
Arch does something similar with Java which can be configured by archlinux-java. |
I believe that eio_cli must have been designed by someone accustomed to older systems where python2 was the expected version. It hasn't changed much over the last six years, so I'd say it's about time this got fixed. |
Can you use this to accelerate a mdadm RAID array? Or even better can I raid 2 SSDs in Raid0 and use that to accelerate a RAID5 array (again all mdadm/softRAID). |
Yes. You can use it with any two block devices. That includes raw drives, partitions, LVM volumes, and hardware and software RAIDs. So long as you can see it under /dev. Just be aware, there appears to be issues with some filesystems, particularly zfs. But is you're using zfs, it already should have caching built in. Plus the issues are typically limited to occasional errors that you can mostly just ignore without consequence (Let us know if you see any though). |
The Raid5 array is ext4 and the Raid0 SSD array is going to be f2fs so I would assume I am good to go. |
You don't need to format the SSDs, you can just directly use the block device. You don't even need a partition. The filesystem will probably get destroyed by eio once it starts caching blocks to it. I've had it throw errors for ext4 in write-through mode. But you should be fine. |
Receiving a similar message on my Ubuntu 20.10 machine. Have both Python 3 and 2 installed. Exact error when running
Changing the shebang at the top of the file does not resolve the issue. Please advise. |
Same as @Demon-tk here Using PopOS 22.04 Guys do you have any advise about what we can do to install EnhanceIO? sudo ./Install-EIO -r -i -m -l
./Install-EIO: linha 28: /usr/bin/python: Arquivo ou diretório inexistente
INSTALL-EIO: Checking Python version
INSTALL-EIO: Python version is , eio_cli requires python2 version 2.6.6 or higher!
INSTALL-EIO: eio_cli will not be installed
INSTALL-EIO: Complete! |
@Demon-tk @rafa761 The PYTHON_VERSION=$(${BPREFIX}python -c 'import platform; python_version=platform.python_version(); print (python_version)') If the default Changing the One thing that is odd is why the reported detected python version is not set in your outputs, while the command that sets it is valid:
This might be do to python being installed to something that Edit: Do note EnhanceIO is no longer maintained and will not compile on newer kernels, you can find numerous issues about that in this repo. |
Running ./Install-EIO install-cli just produces:
Even when installing manually via the instructions provided in install.txt running it only produces:
The text was updated successfully, but these errors were encountered: