master - blkdeactivate: add support for VDO in blkdeactivate script
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=0dd905c959a8f36ea627027336b6d5dafb015001 Commit: 0dd905c959a8f36ea627027336b6d5dafb015001 Parent: e10f20bc23088a2f9f7529f8f2b40d9c1fcb54c6 Author: Peter Rajnoha <[email protected]> AuthorDate: Thu Apr 9 15:23:58 2020 +0200 Committer: Peter Rajnoha <[email protected]> CommitterDate: Thu Apr 9 15:29:29 2020 +0200
blkdeactivate: add support for VDO in blkdeactivate script
Make it possible to tear down VDO volumes with blkdeactivate if VDO is part of a device stack (and if VDO binary is installed). Also, support optional -o|--vdooptions configfile=file.
--- WHATS_NEW_DM | 1 + man/blkdeactivate.8_main | 11 +++++++++++ scripts/blkdeactivate.sh.in | 48 ++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 59 insertions(+), 1 deletion(-)
WHATS_NEW_DM +1 -0
@@ -1,5 +1,6 @@ Version 1.02.173 - ================================== + Add support for VDO in blkdeactivate script. Version 1.02.171 - 26th March 2020 ==================================
man/blkdeactivate.8_main +11 -0
@@ -9,6 +9,7 @@ blkdeactivate \(em utility to deactivate block devices .RB [ -l \ \fIlvm_options\fP ] .RB [ -m \ \fImpath_options\fP ] .RB [ -r \ \fImdraid_options\fP ] +.RB [ -o \ \fIvdo_options\fP ] .RB [ -u ] .RB [ -v ] .RI [ device ]
@@ -70,6 +71,15 @@ Comma-separated list of MD RAID specific options: Wait MD device's resync, recovery or reshape action to complete before deactivation. .RE + +.TP +.BR -o ", " --vdooptions \ \fIvdo_options\fP +Comma-separated list of VDO specific options: +.RS +.IP \fIconfigfile=file\fP +Use specified VDO configuration file. +.RE + .TP .BR -u ", " --umount Unmount a mounted device before trying to deactivate it.
@@ -120,4 +130,5 @@ of a device-mapper device fails, retry it and force removal. .BR lvm (8), .BR mdadm (8), .BR multipathd (8), +.BR vdo (8), .BR umount (8)
scripts/blkdeactivate.sh.in +47 -1
113 lines not on this page · raw message