You are not logged in.

#1 2015-06-25 20:57:31

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

After kernel update EnhanceIO cache is gone and can't be restored...

I updated my Arch Linux and it pulled a new kernel. After I rebooted I noticed some enhanceIO errors and it appears that the setup got nuked.

I re-installed enhanceio-dkms-git from AUR. Followed the Wiki: https://wiki.archlinux.org/index.php/EnhanceIO again. (files in /etc/initcpio/hook, /etc/initcpio/install were gone). Fixed permission errors and re-created the initcpio.

It still won't work.

[f3bruary:~]$ eio_cli info
No caches Found
[f3bruary:~]$ sudo eio_cli create -d /dev/sda -s /dev/sdb -c my_first_enhanceio
Cache Name : my_first_enhanceio
Source Device : /dev/sda
SSD Device : /dev/sdb
Policy : lru
Mode : Write Through
Block Size : 4096
Associativity : 256
Cache creation failed (dmesg can provide you more info)
[f3bruary:~]$ dmesg | tail -1
[ 3021.746817] enhanceio: Cache creation failed: Cache already exists.
[f3bruary:~]$ sudo eio_cli delete -c my_first_enhanceio
No cache exists with the name my_first_enhanceio

So I can't create a new cache and can't delete the old one...
I also created an issue on the github project, but the response there seems very slow so I'm posting it here too. (Hope that's not against the rules)


-f3b

Offline

#2 2015-06-26 09:44:36

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: After kernel update EnhanceIO cache is gone and can't be restored...

I haven't used enhanceIO, but how about if you completely reformat your caching device.
I'm thinking that should at least clear any traces of old caches and you could create a new one.

Offline

#3 2015-06-26 10:50:20

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: After kernel update EnhanceIO cache is gone and can't be restored...

I removed all files relating to enhanceio, uninstalled the app, removed files from the hooks and install folder and mkinicpio.conf, then regenerated it, rebooted and it seemed to be gone. Then I installed enhanceio again, followed the wiki, and 'eio_cli info' showed it was working. Then after a reboot it's the same issue again.

I notice in journactl it's executing each enhanceio command twice: http://pastebin.com/dzQXa2st


-f3b

Offline

#4 2015-07-17 23:03:21

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: After kernel update EnhanceIO cache is gone and can't be restored...

if anyone could point me in the right direction, I'd appreciate it.


-f3b

Offline

#5 2015-07-18 07:17:25

post-factum
Member
From: /cz
Registered: 2008-09-12
Posts: 156
Website

Re: After kernel update EnhanceIO cache is gone and can't be restored...

Isn't EnhanceIO deprecated? It seems devs have abandoned it since it wasn't merged into upstream. I guess, you have to take a look at some other option like bcache or LVM cache.


uname == latest pf-kernel

Offline

#6 2015-07-18 15:26:05

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: After kernel update EnhanceIO cache is gone and can't be restored...

Is it deprecated ? I read it's rather new. And it's easier to set up than bcache. I worked fine until a kernel update recently.


-f3b

Offline

#7 2015-07-19 10:55:26

post-factum
Member
From: /cz
Registered: 2008-09-12
Posts: 156
Website

Re: After kernel update EnhanceIO cache is gone and can't be restored...

Take a look at commit rate here:

https://github.com/stec-inc/EnhanceIO/commits/master

It is not maintained anymore.


uname == latest pf-kernel

Offline

#8 2015-07-19 11:01:16

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: After kernel update EnhanceIO cache is gone and can't be restored...

I guess I'll either switch to bcache, or leave it the way it is. I just have to remove and redo the initial set up after each kernel update. But it is working...


-f3b

Offline

Board footer

Powered by FluxBB