Bug 2229023 - `lvcreate --type thin` errors when used with `--snapshot`
Summary: `lvcreate --type thin` errors when used with `--snapshot`
Keywords:
Status: POST
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: 2023-08-04 12:34 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
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


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