Bug 1752868 - [RFE] support LVM RAID (stuck) reshape reversal
Summary: [RFE] support LVM RAID (stuck) reshape reversal
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Heinz Mauelshagen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1752871
TreeView+ depends on / blocked
 
Reported: 2019-09-17 12:51 UTC by Heinz Mauelshagen
Modified: 2023-05-08 16:10 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
: 1752871 (view as bug list)
Environment:
Last Closed: 2023-05-08 12:38:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Heinz Mauelshagen 2019-09-17 12:51:53 UTC
Description of problem:
There's no lvm2 command to reverse a long running, reshaping RaidLV conversion (e.g. an erroneously started raid5 with 5 -> 7 stripes conversion) during the process.  The conversion has to finish up first and only then reversal can be started.  This can consume a lot of time and resources on large storage or slow transports, thus being able to interrupt the ongoing reshape and revert it can avoid such costs.  For stuck reshapes caused by bad blocks hit during conversion, such reverting functionality is one way to bail out (or being able to replace bad SubLVs during the conversion which is impossible with lvm2 now).

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

How reproducible:


Steps to Reproduce:
1. Fail component SubLV pair during reshape causing reshape to get stuck
2.
3.

Actual results:
Long runtime/resource consumption/getting stuck without lvm supported option to bail out.

Expected results:
Be able to interrupt ongoing resahpe at any time (even when stuck) and reverse it.

Additional info:
Upstream kernel commit 2c810cddc44d6f95cef75df3f07fc0850ff92417 added reshape reversal support to MD


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