.TH VDOSETUUID 8 "2023-04-10" "Red Hat" \" -*- nroff -*-
.SH NAME
vdosetuuid \- sets a new uuid for the vdo volume stored on a backing
store
.SH SYNOPSIS
.B vdosetuuid
.RI [ options... ]
.I vdoBacking
.SH DESCRIPTION
.B vdosetuuid
sets a new uuid for the VDO volume stored on the 
.I vdoBacking
device.
.PP
.I vdoBacking
must be the path of the VDODataLV as described in \fBlvmvdo\fP(7).
Since \fBlvchange\fP(8) will only mount that as read-only, a writable version
of that device must be manually created, as shown in the example below.
.PP
.SH OPTIONS
.TP
.B \-\-help
Print this help message and exit.
.TP
.B \-\-uuid
Sets the uuid value that is stored in the VDO device. If not
specified, the uuid is randomly generated.
.TP
.B \-\-version
Show the version of vdosetuuid.
.SH EXAMPLE
.nf
# lvchange -ay vdo1/vdo0pool_vdata
# dmsetup table vdo1-vdo0pool_vdata > vdata.table
# lvchange -an vdo1/vdo0pool_vdata
# dmsetup create vdo1-vdo0pool_vdata --table "`cat vdata.table`"
# vdosetuuid --uuid 6ecb9db8-[...] /dev/mapper/vdo1-vdo0pool_vdata
# dmsetup remove vdo1-vdo0pool_vdata
.fi
.SH SEE ALSO
.BR lvmvdo (7),
.BR lvchange (8),
.BR dmsetup (8)
