]>
Commit | Line | Data |
---|---|---|
ab7193d1 AK |
1 | LVM2 installation |
2 | ================= | |
3 | ||
4 | 1) Install device-mapper | |
5 | ||
6 | Ensure the device-mapper has been installed on the machine. | |
7 | ||
8 | The device-mapper should be in the kernel (look for 'device-mapper' | |
9 | messages in the kernel logs) and /usr/include/libdevmapper.h should | |
10 | be present. | |
11 | ||
12 | The device-mapper is available from: | |
13 | ftp://ftp.sistina.com/pub/LVM2/device-mapper/ | |
14 | ||
15 | ||
16 | 2) Generate custom makefiles. | |
17 | ||
18 | Run the 'configure' script from the top directory. | |
19 | ||
20 | If you do not have GNU readline (http://www.gnu.org/directory/readline.html) | |
21 | installed use | |
22 | ./configure --disable-readline | |
23 | ||
24 | ||
25 | 3) Build and install LVM2. | |
26 | ||
27 | Run 'make install' from the top directory. | |
28 | ||
29 | ||
30 | 4) Create a configuration file | |
31 | ||
a9c0e97c AK |
32 | The tools will work fine without a configuration file being |
33 | present, but you ought to review the example file in doc/example.conf. | |
34 | For example, specifying the devices that LVM2 is to use should | |
35 | make the tools run more efficiently - and avoid scanning /dev/cdrom! | |
36 |