Editing
DRBD
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Install the necessary packages=== On Debian Sarge we can use ready packages. Your <tt>/etc/apt/sources.list</tt> should have an entry pointing to unstable. apt-get update Maybe some additional packages are necessary: apt-get install libdb3-dev libncurses-dev docbook-utils apt-get install fakeroot dpatch Get the kernel source and unpack it: apt-get install linux-source-2.6.12 cd /usr/src tar xjf /usr/src/linux-source-2.6.12.tar.bz2 Maybe you want to have your old .config cd linux-source-2.6.12 cp /boot/config-2.6.12-1-386 .config Now it's time to install patches: apt-get install util-vserver -t unstable apt-get install kernel-patch-vserver -t unstable Compile the Kernel: make-kpkg --rootcmd fakeroot --revision custom01 --added-patches vserver--append-to-version +vserver --initrd binary-arch Now you should find a .deb ready to install: cd .. dpkg -i kernel-image-2.6.12+vserver_custom01_i386.deb The configuration of GRUB should be updated now to boot the new kernel - try a reboot. Install the DRBD packages: apt-get install drbd0.7-module-source -t unstable apt-get install drbd0.7-utils -t unstable Unpack the module source: cd /usr/src/ tar xzf drbd0.7.tar.gz Compile the DRBD module: cd linux-source-2.6.12 make-kpkg --append-to-version +vserver modules_image Install the module: cd .. dpkg -i /usr/src/drbd0.7-module-2.6.12+vserver_0.7.11-1+custom01_i386.deb update-modules modprobe drbd
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information