lanconnected / EnhanceIO

EnhanceIO Open Source for Linux
Other
101 stars 31 forks source link

enhanceio: Cache creation failed: Cache already exists. #42

Open letterwuyu opened 5 years ago

letterwuyu commented 5 years ago

Hi,hi guys. I tried to use enhanceio on centos7.5. I found that after creating enhanceio, restart the machine and enhanceio could not load.Do you have any suggestions? centos7.5 (kvm) kernel 3.10.0-957.1.3.el7.x86_64

after reboot [root@enhanceio-test1 ~]# eio_cli info No caches Found [root@enhanceio-test1 ~]# eio_cli create -d /dev/vdc -s /dev/vdb1 -m wb -c eio1 Cache Name : eio1 Source Device : /dev/vdc SSD Device : /dev/vdb1 Policy : lru Mode : Write Back Block Size : 4096 Associativity : 256 Cache creation failed (dmesg can provide you more info) [root@enhanceio-test1 ~]# dmesg [ 4540.642825] enhanceio: Cache creation failed: Cache already exists.

lanconnected commented 5 years ago

Thanks for reporting, i'll look into it soon.

lanconnected commented 5 years ago

This has already been resolved in @schreibikus pull request. I merged it to mine tree. Thanks @schreibikus. Please close the bug once you test it works.