VDOSETUUID(8)
π VDOSETUUID(8) β like, the manual page, bestie
okay so real talk: this is vdosetuuid, section 8 of the System Manager's Manual, and she is the girl for giving your VDO volume a fresh new identity β¨
πΈ NAME πΈ
vdosetuuid β sets a new uuid for the vdo volume stored on a backing store π«Ά
β¨ SYNOPSIS β¨
vdosetuuid [options...] vdoBacking
π DESCRIPTION π
vdosetuuid sets a new uuid for the VDO volume stored on the vdoBacking device. it's giving makeover era, no cap π
vdoBacking must be the path of the VDODataLV as described in lvmvdo(7). and here's the tea π΅ β lvchange(8) will only mount that as read-only, so you have to manually create a writable version of that device yourself. the example below shows you exactly how, so don't panic π
π OPTIONS π
--helpβ print this help message and exit. iconic, low-effort, we love her π--uuidβ sets the uuid value that is stored in the VDO device. if you don't specify it, the uuid is randomly generated π²β¨--versionβ show the version ofvdosetuuid. gotta know what you're working with, fr fr π
π¦ EXAMPLE π¦
like, literally just follow along:
# 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
see? activate it read-only-ish, dump the table, deactivate, recreate it writable with dmsetup, run the vdosetuuid glow-up, then clean up after yourself. main character energy and also good hygiene π§π
π SEE ALSO π
lvmvdo(7), lvchange(8), dmsetup(8) β go read your sisters' pages, iykyk π
β οΈ quick vibe check: that lvchange(8) read-only thing is not a suggestion, bestie. if you skip the manual writable-device step, it's not gonna slay, it's just gonna fail π
and that's the whole page!! brought to you by Red Hat, dated 2023-04-10, VDOSETUUID(8) forever and always ππ go set some uuids, you got this βπΈ
π¦ where this page comes from
- centos-stream 9: vdo 8.2.2.2-1.el9 Β· GPLv2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms