Bug 1713749

Summary: [RFE] Provide the user with a method to change the UUID of a VDO volume
Product: Red Hat Enterprise Linux 8 Reporter: Andy Walsh <awalsh>
Component: vdoAssignee: bjohnsto
Status: CLOSED ERRATA QA Contact: Filip Suba <fsuba>
Severity: unspecified Docs Contact: Marek Suchánek <msuchane>
Priority: unspecified    
Version: 8.2CC: awalsh, bgurney, corwin, rhandlin
Target Milestone: rcKeywords: FutureFeature
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 6.2.2.23 Doc Type: Enhancement
Doc Text:
.You can now import VDO volumes The `vdo` utility now enables you to import existing VDO volumes that are currently not registered on your system. To import a VDO volume, use the `vdo import` command. Additionally, you can modify the Universally Unique Identifier (UUID) of a VDO volume using the `vdo import` command.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 16:42:57 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: 1755139    

Description Andy Walsh 2019-05-24 17:43:05 UTC
As reported in https://github.com/dm-vdo/vdo/issues/15, users may want or need to change the UUID of a VDO volume.  We should provide that functionality.

Comment 1 Jakub Krysl 2019-10-15 14:47:35 UTC
Mass migration to Filip.

Comment 3 Filip Suba 2020-03-16 09:47:21 UTC
Verified with vdo-6.2.2.117-13.el8.

# vdodumpconfig /dev/sda
VDOConfig:
  blockSize: 4096
  logicalBlocks: 2435905347
  physicalBlocks: 2441609216
  slabSize: 524288
  recoveryJournalSize: 32768
  slabJournalBlocks: 224
UUID: 3be3ccc8-7c9f-4841-bb13-63ba42323962

# vdo modify --name=vdo0 --uuid=af007e74-fc40-bcc7-27a3-0b2cae1e507c

# vdodumpconfig /dev/sda
VDOConfig:
  blockSize: 4096
  logicalBlocks: 2435905347
  physicalBlocks: 2441609216
  slabSize: 524288
  recoveryJournalSize: 32768
  slabJournalBlocks: 224
UUID: af007e74-fc40-bcc7-27a3-0b2cae1e507c

Comment 6 errata-xmlrpc 2020-04-28 16:42:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1782