Installation the Smart I/O prefetch Tool
- Check whether the native bcache module exists in the environment. If so, uninstall it.
Check whether the reference count of the bcache module exists.
1lsmod | grep bcache
- Detach the bcache module.
- Detach the cache drive.
echo 1 > /sys/block/[bcache]/bcache/detach
In the preceding command, [bcache] indicates the bcache device in /dev.

- Deregister the cache drive.
echo 1 > /sys/fs/bcache/[uuid]/unregister
The [uuid] value in the command must be set based on the content in the /sys/fs/bcache directory. All [uuid] devices in the directory must be processed in the same way.
- Disable a backend device.
echo 1 > /sys/block/[bcache]/bcache/stop
- Detach the bcache module.
rmmod bcache
- Detach the cache drive.
- Install the bcache module and the prefetch tool.
Parent topic: Smart I/O Prefetch User Guide

