Bug 1014708

Summary: [RFE] ssm: Implement 'migrate' command
Product: Red Hat Enterprise Linux 7 Reporter: Lukáš Czerner <lczerner>
Component: system-storage-managerAssignee: Jan Tulak <jtulak>
Status: CLOSED NEXTRELEASE QA Contact: Boyang Xue <bxue>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: agk, esandeen, lczerner, mthacker, okozina, prajnoha, rhandlin, xzhou, zkabelac
Target Milestone: rcKeywords: FutureFeature, Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-22 12:52:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1113520    

Description Lukáš Czerner 2013-10-02 15:06:29 UTC
Implement command 'migrate' for migrating whole volumes or just devices to a different one regardless on the backend used. Ssm should be able to handle this operation in a unified fashion for all supported backends.

For lvm based volumes, pvmove can be used.
For btrfs based volumes, btrfs replace feature can be used.

In case of regular devices we can use either dd, or something smarter which will probably end up to be file system dependent.

-Lukas

Comment 3 Alasdair Kergon 2014-07-03 00:35:55 UTC
Note that we're extending the pvmove syntax in 7.1 to support all-or-nothing migrations.

Comment 8 Jan Tulak 2018-06-19 15:00:58 UTC
Implemented in the upstream v1.0 release.

Comment 11 Red Hat Bugzilla Rules Engine 2018-06-21 17:24:40 UTC
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.

Comment 12 Jan Tulak 2018-08-10 12:40:30 UTC
Upstream solution was changed to a more acceptable one in the new release.