Bug 2229023 - `lvcreate --type thin` errors when used with `--snapshot`
Summary: `lvcreate --type thin` errors when used with `--snapshot`
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: David Teigland
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-04 01:24 UTC by Patrick Hemmer
Modified: 2024-05-28 13:40 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-28 13:40:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Patrick Hemmer 2023-08-04 01:24:30 UTC
Description of problem:

Attempting to use `lvcreate` with the option `--type thin` and `--snapshot` produces the error:

    Command does not accept option: --snapshot.


Version-Release number of selected component (if applicable):

  LVM version:     2.03.18(2)-git (2022-11-10)
  Library version: 1.02.189-git (2022-11-10)
  Driver version:  4.48.0


How reproducible:
every time

Steps to Reproduce:
1. Have a source thin volume
2. lvcreate -s VG/LV --type thin

Actual results:

    Command does not accept option: --snapshot.

Expected results:

    Logical volume "lvol1" created.

Additional info:

This is a regression as this command used to work fine on Fedora 37. The documentation says that `--type thin` is implied, meaning not required, but is allowed.

Comment 1 Zdenek Kabelac 2023-08-04 12:34:37 UTC
Fixed upstream already (version 2.03.22)

https://listman.redhat.com/archives/lvm-devel/2023-June/024829.html

Comment 2 Aoife Moloney 2024-05-28 13:40:20 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.