Bug 1279636 - RFE: Add ability to create RAID thin pool in one command
RFE: Add ability to create RAID thin pool in one command
Status: NEW
Product: Fedora
Classification: Fedora
Component: lvm2 (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: LVM and device-mapper development team
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-09 17:17 EST by Tony Asleson
Modified: 2015-11-19 10:37 EST (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tony Asleson 2015-11-09 17:17:55 EST
Description of problem:

Today if you want to create a RAID thin pool you first create LVs to be used for the metadata and the data and then run lvconvert on them to make it into a thin pool.  It would be good to have at least a single command which supports this for the general use case which utilizes best practice for sane defaults for the user that just want's their thinpool to be placed safely on multiple disks.
Comment 1 Zdenek Kabelac 2015-11-19 10:37:48 EST
2 paths for now exists:

--

lvcreate raid LV for data 
lvcreate raid LV for metadata

lvconvert them into thin-pool

--

lvcreate thin-pool

lvconvert  -m+1 data 
lvconvert  -m+1 metadata

---


ATM lvm2 is not 'smart' enough for this layouts.

Needs to support  usage of some smart 'tags' to place those devices just like might have imagine.

We may eventually reuse meaning of option '-m+1' for this kind of operation in future to make both LVs (data & metadata) mirrored - but long way to go to reach this without creating completely senseless layouts.

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