summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2008-11-04 17:49:22 +0000
committerAlasdair Kergon <agk@redhat.com>2008-11-04 17:49:22 +0000
commit5b45c0728ff28cb60c35029a795fc4a6940e2312 (patch)
tree4752caaeef18fe5da6f4418c5fb884809c5007c3 /INSTALL
parent77b69aa724813e9f72c6ae8aca554ed1e22538d1 (diff)
downloadlvm2-5b45c0728ff28cb60c35029a795fc4a6940e2312.tar.gz
lvm2-5b45c0728ff28cb60c35029a795fc4a6940e2312.tar.xz
lvm2-5b45c0728ff28cb60c35029a795fc4a6940e2312.zip
quick review of docs
Note that we'll continue to use WHATS_NEW_DM for device-mapper changes until we can switch to unified version numbering.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL34
1 files changed, 10 insertions, 24 deletions
diff --git a/INSTALL b/INSTALL
index 93259a06..8d0d54de 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,44 +1,30 @@
-LVM2 installation
-=================
+Installation
+============
-1) Install device-mapper
-
- Ensure the device-mapper has been installed on the machine.
-
- The device-mapper should be in the kernel (look for 'device-mapper'
- messages in the kernel logs) and /usr/include/libdevmapper.h
- and libdevmapper.so should be present.
-
- The device-mapper is available from:
- ftp://ftp.sistina.com/pub/LVM2/device-mapper/
-
-
-2) Generate custom makefiles.
+1) Generate custom makefiles.
Run the 'configure' script from the top directory.
- If you wish to use the built-in LVM2 shell and have GNU readline
- installed (http://www.gnu.org/directory/readline.html) use:
- ./configure --enable-readline
-
If you don't want to include the LVM1 backwards-compatibility code use:
./configure --with-lvm1=none
To separate the LVM1 support into a shared library loaded by lvm.conf use:
./configure --with-lvm1=shared
+ Use ./configure --help to see other options.
-3) Build and install LVM2.
+2) Build and install.
- Run 'make install' from the top directory.
+ Run 'make' from the top directory to build everything you configured.
+ Run 'make install' to build and install everything you configured.
+ If you only want the device-mapper libraries and tools use
+ 'make device-mapper' or 'make install_device-mapper'.
-4) Create a configuration file
+3) If using LVM2, create a configuration file.
The tools will work fine without a configuration file being
present, but you ought to review the example file in doc/example.conf.
- For example, specifying the devices that LVM2 is to use can
- make the tools run more efficiently - and avoid scanning /dev/cdrom!
Please also refer to the WHATS_NEW file and the manual pages for the
individual commands.