mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Add a new option to the create command to create regions that map the extents of a file: # dmstats create --filemap /path/to/file /path/to/file: Created new group with 10 region(s) as group ID 0. When performing a --filemap no device argument is required (and supplying one results in error) since the device to bind to is implied by the file path and is obtained directly from an fstat(). Grouping may be optionally disabled by the --nogroup switch: in this case the command will report each region individually: # dmstats create --nogroup --filemap /path/to/file /path/to/file: Created new region with 1 area as region ID 0. /path/to/file: Created new region with 1 area as region ID 1. /path/to/file: Created new region with 1 area as region ID 2. When grouping regions the group alias is automatically set to the basename (as returned by dm_basename()) of the provided file. This can be overridden to a user-defined value at the command line by use of the --alias option. If grouping is disabled no alias can be set. Use of offset and subdivision options (--start, --length, --segments, --areas, --areasize). Setting aux_data and histograms for groups is possible but is not currently implemented.
This tree contains the LVM2 and device-mapper tools and libraries. For more information about LVM2 read the changelog in the WHATS_NEW file. Installation instructions are in INSTALL. There is no warranty - see COPYING and COPYING.LIB. Tarballs are available from: ftp://sources.redhat.com/pub/lvm2/ The source code is stored in git: http://git.fedorahosted.org/git/lvm2.git git clone git://git.fedorahosted.org/git/lvm2.git Mailing list for general discussion related to LVM2: linux-lvm@redhat.com Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm Mailing lists for LVM2 development, patches and commits: lvm-devel@redhat.com Subscribe from https://www.redhat.com/mailman/listinfo/lvm-devel lvm2-commits@lists.fedorahosted.org (Read-only archive of commits) Subscribe from https://fedorahosted.org/mailman/listinfo/lvm2-commits Mailing list for device-mapper development, including kernel patches and multipath-tools: dm-devel@redhat.com Subscribe from https://www.redhat.com/mailman/listinfo/dm-devel The source code repository used until 7th June 2012 is accessible here: http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/?cvsroot=lvm2.
Description
Languages
C
75.5%
Shell
18.7%
Python
2.9%
M4
1%
Makefile
0.8%
Other
1%