1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-23 10:50:34 +03:00
Peter Rajnoha 5f53ecda36
lv_manip: check fs resize is supported before LV extension
This avoids a situation where we would extend an LV and then we would
not do anything to the FS on it because the FS info check failed for some
reason, like the type was not supported (e.g. swap) or we could not resize
the FS unless being in some supported state (e.g. XFS to be mounted for
the xfs_growfs to work).

Before this patch (LV resized, FS not resized):

❯  lvextend --fs resize -L+4M vg/swap
  Size of logical volume vg/swap changed from 32.00 MiB (8 extents) to 36.00 MiB (9 extents).
  File system extend is not supported (swap).
  File system extend error.
  Logical volume vg/swap successfully resized.

With this patch (LV not resized, FS not resized):

❯  lvextend --fs resize -L+4M vg/swap
  File system extend is not supported (swap).
2025-01-06 15:29:43 +01:00
2023-07-12 15:18:38 +02:00
2024-10-31 17:55:31 +01:00
2024-08-30 16:51:15 +02:00
2024-08-30 16:51:15 +02:00
2024-12-19 14:55:56 +01:00
2015-07-04 14:36:57 +02:00
2021-03-02 22:54:40 +01:00
2024-08-13 11:17:57 +02:00
2024-08-30 16:51:15 +02:00
2024-12-09 16:04:53 -06:00
2016-01-21 12:11:37 +01:00
2018-07-27 17:09:46 +02:00
2008-11-04 17:49:22 +00:00
2024-05-29 09:30:41 -05:00
2024-05-16 11:32:43 +02:00
2024-12-09 12:57:57 +01:00
2024-12-09 12:57:57 +01:00
2024-12-19 14:57:43 +01:00

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://sourceware.org/pub/lvm2/
  https://github.com/lvmteam/lvm2/releases

The source code is stored in git:
  https://gitlab.com/lvmteam/lvm2
Clone:
  git clone git@gitlab.com:lvmteam/lvm2.git
Anonymous access:
  git clone https://gitlab.com/lvmteam/lvm2.git
Mirrored to:
* https://github.com/lvmteam/lvm2
  git clone https://github.com/lvmteam/lvm2.git
  git clone git@github.com:lvmteam/lvm2.git
* https://sourceware.org/git/?p=lvm2.git
  git clone https://sourceware.org/git/lvm2.git
  git clone git://sourceware.org/git/lvm2.git

Mailing list for general discussion related to LVM2:
  linux-lvm@lists.linux.dev
  Subscribe via email to: linux-lvm+subscribe@lists.linux.dev
  Archive https://lore.kernel.org/linux-lvm/
  Older archive https://listman.redhat.com/archives/linux-lvm/

Mailing lists for LVM2 development, patches and commits:
  lvm-devel@lists.linux.dev
  Subscribe via email to: lvm-devel+subscribe@lists.linux.dev
  Archive https://lore.kernel.org/lvm-devel/
  Older archive https://listman.redhat.com/archives/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

Website:
  https://sourceware.org/lvm2/

Report upstream bugs at:
  https://bugzilla.redhat.com/enter_bug.cgi?product=LVM%20and%20device-mapper
or open issues at:
  https://gitlab.com/groups/lvmteam/-/issues
  https://github.com/lvmteam/lvm2/issues

The source code repository used until 7th June 2012 is accessible 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.
Description
LVM2 mirror repository
https://sourceware.org/lvm2/
Readme 55 MiB
Languages
C 75.5%
Shell 18.7%
Python 2.9%
M4 1%
Makefile 0.8%
Other 1%