Btier - software for creating block devices that implement the principle of
multi-level storage . This approach allows the use of expensive fast SSD drives to increase the speed of storage systems on slow HDDs. Details can be found on the links.
Attempting to install on instructions in Debian Wheezy was not successful. Searches on the Internet also lead to nothing. After a brief shamanism, I still managed to compile a kernel module, which I want to share with you.
So, the instructions for compiling the module:
1. Install the headers and kernel sources
apt-get install linux-headers-amd64 linux-source
2. Unpack the source file
cd /usr/src tar xvf linux-source-3.2.tar.bz2
3. We prepare source codes
cd linux-source-3.2 make oldconfig && make prepare
4. Change the link
cd /lib/modules/3.2.0-4-amd64 rm build ln -s /usr/src/linux-source-3.2 build
5. Copy the necessary elements
cd /usr/src/ cp linux-headers-3.2.0-4-amd64/Module.symvers linux-source-3.2 cp linux-headers-3.2.0-4-amd64/scripts/mod/* linux-source-3.2/scripts/mod/
6. Download the desired version of the btier archive and follow the installation instructions.