How-To Install Btier on Debian Wheezy

    Btier - software for creating block devices that implement the principle of tiered storage . This approach allows you to use expensive fast SSD drives to increase the speed of storage systems on slow HDDs. Details can be found on the links.

    Attempting to install according to the instructions in Debian Wheezy was unsuccessful. Searches on the Internet also failed. After a brief shamanism, I still managed to compile the kernel module, which I want to share with you.

    So, the instruction for compiling the module:
    1. Install the headers and sources of the kernel
    apt-get install linux-headers-amd64 linux-source

    2. Unpack the archive with source codes
    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.

    Also popular now: