LVM2 refers to the userspace toolset that provide logical volume management facilities on linux. It is reasonably backwards-compatible with the original LVM toolset.
To use LVM2 you need 3 things: device-mapper in your kernel, the userspace device-mapper support library (libdevmapper) and the userspace LVM2 tools. Please look at https://sourceware.org/dm/ for information about the device-mapper kernel and userspace components.
Tarballs of the userspace LVM2 source code releases are available from
ftp://sourceware.org/pub/lvm2/.
List of official mirror sites (including http and rsync protocols):
https://sourceware.org/mirrors.html.
linux-lvm
is the mailing list for any LVM-related questions and discussion.
Subscribe by sending email to
linux-lvm+subscribe@lists.linux.dev.
Unsubscribe by sending email to
linux-lvm+unsubscribe@lists.linux.dev.
The list archives are at
https://lore.kernel.org/linux-lvm/
The mailing list address is
linux-lvm@lists.linux.dev.
All commits are also posted to the lvm-devel mailing list.
This is the place to discuss the source code and propose patches.
Subscribe by sending email to
lvm-devel+subscribe@lists.linux.dev.
Unsubscribe by sending email to
lvm-devel+unsubscribe@lists.linux.dev.
The list archives are at
https://lore.kernel.org/lvm-devel/
The mailing list address is
lvm-devel@lists.linux.dev.
Please note that messages containing HTML or attachments may not make it through the spam filters onto the lists. Large log files, for example, should be put on the web - use a service such as http://pastebin.com/ if necessary - and the URL sent to the list instead.
The source code is stored in git and can be accessed with one of
git clone git@gitlab.com:lvmteam/lvm2.git git clone https://gitlab.com/lvmteam/lvm2.git
There is a web interface to git at https://gitlab.com/lvmteam/lvm2
New source code home is now at https://gitlab.com/lvmteam/lvm2.
To change the repository to new one, run in your clone:
git remote rename origin sourceware git remote add origin git@gitlab.com:lvmteam/lvm2.git
You may want to set tracking branches:
git branch --set-upstream-to origin/main main
Please report upstream bugs or request features in Red Hat Bugzilla: https://bugzilla.redhat.com/enter_bug.cgi?product=LVM%20and%20device-mapper
There are README, INSTALL files and man pages in the source package.
We have an old wiki at https://sourceware.org/lvm2/wiki/.
The LVM HOWTO is at
http://www.tldp.org/HOWTO/LVM-HOWTO/index.html. (This document is now very out-of-date.)
Channel #lvm on Libera.Chat
Until 7th June 2012, the primary copy of the source code was maintained under CVS.
Mailing list archives of the CVS commits are available at https://sourceware.org/ml/lvm2-cvs/
To access the old source code repository using CVS:
cvs -d :pserver:cvs@sourceware.org:/cvs/lvm2 login cvs
cvs -d :pserver:cvs@sourceware.org:/cvs/lvm2 checkout LVM2
The password is cvs.
The original LVM:
https://sourceware.org/lvm/
Device-mapper:
https://sourceware.org/dm/