master - man: dmsetup manglename
by Zdenek Kabelac
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=f845afe7cfc98a...
Commit: f845afe7cfc98ac1cde86e25d60c6eeeb530eebe
Parent: 4db71422a243ac915ec835a46031f8458f0a8648
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Wed Jun 11 10:52:16 2014 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Wed Jun 11 11:11:10 2014 +0200
man: dmsetup manglename
More updates to manglename option.
Add reference to LVM2 resource page, since for a long time,
this is the right places for sources for libdevmapper....
---
man/dmsetup.8.in | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/man/dmsetup.8.in b/man/dmsetup.8.in
index b257c89..10c63ab 100644
--- a/man/dmsetup.8.in
+++ b/man/dmsetup.8.in
@@ -192,13 +192,16 @@ When returning any table information from the kernel report on the
inactive table instead of the live table.
Requires kernel driver version 4.16.0 or above.
.TP
-.IR \fB\-\-manglename \ < mangling_mode >
+.IR \fB\-\-manglename \ { none | hex | auto }
Mangle any character not on a whitelist using mangling_mode when
processing device-mapper device names and UUIDs. The names and UUIDs
-are mangled on input and unmangled on output where the mangling_mode
-is one of: none (no mangling), hex (always do the mangling) and auto
-(only do the mangling if not mangled yet, do nothing if already
-mangled, error on mixed; this is used by default).
+are mangled on input and unmangled on output where the mangling mode
+is one of:
+\fInone\fP (no mangling),
+\fIhex\fP (always do the mangling) and
+\fIauto\fP (only do the mangling if not mangled yet, do nothing
+if already mangled, error on mixed)
+Default mode is \fI#DEFAULT_MANGLING#\fP.
Character whitelist: 0-9, A-Z, a-z, #+-.:=@_. This whitelist is
also supported by udev. Any character not on a whitelist is replaced
with its hex value (two digits) prefixed by \\x.
@@ -386,7 +389,7 @@ If neither is supplied, reads a table from standard input.
.br
Wait for any I/O in-flight through the device to complete, then
replace the table with a new table that fails any new I/O
-sent to the device. If successful, this should release any devices
+sent to the device. If successful, this should release any devices
held open by the device's table(s).
.br
.HP
@@ -612,7 +615,7 @@ Each line of the table specifies a single target and is of the form:
.B target_type
.RI < target_args >
.P
-Simple target types and <target_args> include:
+Simple target types and <target_args> include:
.HP
.B linear
.I destination_device start_sector
@@ -683,8 +686,8 @@ Supports snapshots of devices.
.P
To find out more about the various targets and their table formats and status
lines, please read the files in the Documentation/device-mapper directory in
-the kernel source tree.
-(Your distribution might include a copy of this information in the
+the kernel source tree.
+(Your distribution might include a copy of this information in the
documentation directory for the device-mapper package.)
.SH EXAMPLES
@@ -718,11 +721,13 @@ A cookie to use for all relevant commands to synchronize with udev processing.
It is an alternative to using \fB\-\-udevcookie\fP option.
.TP
.B DM_DEFAULT_NAME_MANGLING_MODE
-A default mangling mode. Defaults to "#DEFAULT_MANGLING#"
+A default mangling mode. Defaults to "\fI#DEFAULT_MANGLING#\fP"
and it is an alternative to using \fB\-\-manglename\fP option.
.SH AUTHORS
Original version: Joe Thornber (thornber(a)redhat.com)
.SH SEE ALSO
+LVM2 resource page https://www.sourceware.org/lvm2/
+.br
Device-mapper resource page: http://sources.redhat.com/dm/
9 years, 3 months
master - man: kiB uppercase
by Zdenek Kabelac
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4db71422a243ac...
Commit: 4db71422a243ac915ec835a46031f8458f0a8648
Parent: d13efac51b7a191e02106fcf467b64f3929eeb2d
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Wed Jun 11 10:54:19 2014 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Wed Jun 11 11:10:56 2014 +0200
man: kiB uppercase
---
man/lvchange.8.in | 4 ++--
man/lvcreate.8.in | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/man/lvchange.8.in b/man/lvchange.8.in
index ce10012..5c896e0 100644
--- a/man/lvchange.8.in
+++ b/man/lvchange.8.in
@@ -154,13 +154,13 @@ immediately poll a logical volume when it is activated, use
.IR \fB\-\-[raid]maxrecoveryrate " " \fIRate [ bBsSkKmMgG ]
Sets the maximum recovery rate for a RAID logical volume. \fIRate\fP
is specified as an amount per second for each device in the array.
-If no suffix is given, then kiB/sec/device is assumed. Setting the
+If no suffix is given, then KiB/sec/device is assumed. Setting the
recovery rate to 0 means it will be unbounded.
.TP
.IR \fB\-\-[raid]minrecoveryrate " " \fIRate [ bBsSkKmMgG ]
Sets the minimum recovery rate for a RAID logical volume. \fIRate\fP
is specified as an amount per second for each device in the array.
-If no suffix is given, then kiB/sec/device is assumed. Setting the
+If no suffix is given, then KiB/sec/device is assumed. Setting the
recovery rate to 0 means it will be unbounded.
.TP
.BR \-\-[raid]syncaction " {" \fIcheck | \fIrepair }
diff --git a/man/lvcreate.8.in b/man/lvcreate.8.in
index 64468a0..9892c21 100644
--- a/man/lvcreate.8.in
+++ b/man/lvcreate.8.in
@@ -316,13 +316,13 @@ Without this option a default name of "lvol#" will be generated where
.IR \fB\-\-[raid]maxrecoveryrate " " \fIRate [ bBsSkKmMgG ]
Sets the maximum recovery rate for a RAID logical volume. \fIRate\fP
is specified as an amount per second for each device in the array.
-If no suffix is given, then kiB/sec/device is assumed. Setting the
+If no suffix is given, then KiB/sec/device is assumed. Setting the
recovery rate to 0 means it will be unbounded.
.TP
.IR \fB\-\-[raid]minrecoveryrate " " \fIRate [ bBsSkKmMgG ]
Sets the minimum recovery rate for a RAID logical volume. \fIRate\fP
is specified as an amount per second for each device in the array.
-If no suffix is given, then kiB/sec/device is assumed. Setting the
+If no suffix is given, then KiB/sec/device is assumed. Setting the
recovery rate to 0 means it will be unbounded.
.TP
.B \-\-noudevsync
9 years, 3 months
master - man: update lvmthin
by Zdenek Kabelac
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=d13efac51b7a19...
Commit: d13efac51b7a191e02106fcf467b64f3929eeb2d
Parent: e1568376360b3e0b0d640441909bc92056009143
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Tue Jun 10 23:58:45 2014 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Wed Jun 11 11:10:55 2014 +0200
man: update lvmthin
Improve graphics form of page and use shorter correct and suggested
forms of thin pool manipulation commands.
---
man/lvmthin.7.in | 258 +++++++++++++++++++++++++++++-------------------------
1 files changed, 138 insertions(+), 120 deletions(-)
diff --git a/man/lvmthin.7.in b/man/lvmthin.7.in
index a2da3ca..7d2ef45 100644
--- a/man/lvmthin.7.in
+++ b/man/lvmthin.7.in
@@ -95,166 +95,177 @@ appears as a snapshot of another LV after creation
The primary method for using lvm thin provisioning:
-.nf
-1. create ThinDataLV
+.SS 1. create ThinDataLV
- Create an LV that will hold thin pool data.
+Create an LV that will hold thin pool data.
- Command
- lvcreate \-n ThinDataLV \-L LargeSize VG
+.B lvcreate \-n ThinDataLV \-L LargeSize VG
- Example
- # lvcreate \-n pool0 \-L 10G vg
+.I Example
+.br
+.B # lvcreate \-n pool0 \-L 10G vg
-2. create ThinMetaLV
+.SS 2. create ThinMetaLV
- Create an LV that will hold thin pool metadata.
+Create an LV that will hold thin pool metadata.
- Command
- lvcreate \-n ThinMetaLV \-L SmallSize VG
+.B lvcreate \-n ThinMetaLV \-L SmallSize VG
- Example
- # lvcreate \-n pool0meta \-L 1G vg
+.I Example
+.br
+.B # lvcreate \-n pool0meta \-L 1G vg
- # lvs
- pool0 vg -wi-a----- 10.00g
- pool0meta vg -wi-a----- 1.00g
+# lvs
+ LV VG Attr LSize
+ pool0 vg -wi-a----- 10.00g
+ pool0meta vg -wi-a----- 1.00g
-3. create ThinPoolLV
+.SS 3. create ThinPoolLV
- Combine the data and metadata LVs into a thin pool LV.
- ThinDataLV is renamed to hidden ThinPoolLV_tdata.
- ThinMetaLV is renamed to hidden ThinPoolLV_tmeta.
- The new ThinPoolLV takes the previous name of ThinDataLV.
+Combine the data and metadata LVs into a thin pool LV.
+ThinDataLV is renamed to hidden ThinPoolLV_tdata.
+ThinMetaLV is renamed to hidden ThinPoolLV_tmeta.
+The new ThinPoolLV takes the previous name of ThinDataLV.
- Command
- lvconvert \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
+.B lvconvert \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
- Example
- # lvconvert \-\-thinpool vg/pool0 \-\-poolmetadata vg/pool0meta
+.I Example
+.br
+.B # lvconvert \-\-thinpool vg/pool0 \-\-poolmetadata vg/pool0meta
- # lvs vg/pool0
- LV VG Attr LSize Pool Origin Data%
- pool0 vg twi-a-tz-- 10.00g 0.00
+# lvs vg/pool0
+ LV VG Attr LSize Pool Origin Data% Meta%
+ pool0 vg twi-a-tz-- 10.00g 0.00 0.00
- # lvs -a
- pool0 vg twi-a-tz-- 10.00g
- [pool0_tdata] vg Twi-ao---- 10.00g
- [pool0_tmeta] vg ewi-ao---- 1.00g
+# lvs \-a
+ LV VG Attr LSize
+ pool0 vg twi-a-tz-- 10.00g
+ [pool0_tdata] vg Twi-ao---- 10.00g
+ [pool0_tmeta] vg ewi-ao---- 1.00g
-4. create ThinLV
+.SS 4. create ThinLV
- Create a new thin LV from the thin pool LV.
- The thin LV is created with a virtual size.
- Multiple new thin LVs may be created in the thin pool.
- Thin LV names must be unique in the VG.
- The thinpool argument specifies which thin pool will
- contain the ThinLV.
+Create a new thin LV from the thin pool LV.
+The thin LV is created with a virtual size.
+Multiple new thin LVs may be created in the thin pool.
+Thin LV names must be unique in the VG.
+The thinpool argument specifies which thin pool will
+contain the ThinLV.
- Command
- lvcreate \-\-type thin \-n ThinLV \-V VirtualSize \-\-thinpool VG/ThinPoolLV
+.B lvcreate \-n ThinLV \-V VirtualSize \-\-thinpool VG/ThinPoolLV
+.br
+.B lvcreate \-T \-n ThinLV \-V VirtualSize VG/ThinPoolLV
- Example
- Create a thin LV in a thin pool:
- # lvcreate \-\-type thin \-n thin1 \-V 1T \-\-thinpool vg/pool0
+.I Example
+.br
+Create a thin LV in a thin pool:
+.br
+.B # lvcreate \-T \-n thin1 \-V 1T vg/pool0
- Create another thin LV in the same thin pool:
- # lvcreate \-\-type thin \-n thin2 \-V 1T \-\-thinpool vg/pool0
+Create another thin LV in the same thin pool:
+.br
+.B # lvcreate \-n thin2 \-V 1T \-\-thinpool vg/pool0
- # lvs vg/thin1 vg/thin2
- LV VG Attr LSize Pool Origin Data%
- thin1 vg Vwi-a-tz-- 1.00t pool0 0.00
- thin2 vg Vwi-a-tz-- 1.00t pool0 0.00
+# lvs vg/thin1 vg/thin2
+ LV VG Attr LSize Pool Origin Data%
+ thin1 vg Vwi-a-tz-- 1.00t pool0 0.00
+ thin2 vg Vwi-a-tz-- 1.00t pool0 0.00
-5. create SnapLV
+.SS 5. create SnapLV
- Create snapshots of an existing ThinLV or SnapLV.
+Create snapshots of an existing ThinLV or SnapLV.
+Do not \fBNOT\fP specify
+.BR \-L ", " \-\-size
+since this would not create thin snapshot, but old COW volume.
- Command
- lvcreate \-\-type thin \-n SnapLV \-s ThinLV \-\-thinpool VG/ThinPoolLV
- lvcreate \-\-type thin \-n SnapLV \-s PrevSnapLV \-\-thinpool VG/ThinPoolLV
+.B lvcreate \-n SnapLV \-s VG/ThinLV
+.br
+.B lvcreate \-n SnapLV \-s VG/PrevSnapLV
- Example
- Create first snapshot of an existing ThinLV:
- # lvcreate \-\-type thin \-n thin1s1 \-s thin1 \-\-thinpool vg/pool0
+.I Example
+.br
+Create first snapshot of an existing ThinLV:
+.br
+.B # lvcreate \-n thin1s1 \-s vg/thin1
- Create second snapshot of the same ThinLV:
- # lvcreate \-\-type thin \-n thin1s2 \-s thin1 \-\-thinpool vg/pool0
+Create second snapshot of the same ThinLV:
+.br
+.B # lvcreate \-n thin1s2 \-s vg/thin1
- Create a snapshot of the first snapshot:
- # lvcreate \-\-type thin \-n thin1s1s1 \-s thin1s1 \-\-thinpool vg/pool0
+Create a snapshot of the first snapshot:
+.br
+.B # lvcreate \-n thin1s1s1 \-s vg/thin1s1
- # lvs vg/thin1s1 vg/thin1s2 vg/thin1s1s1
- LV VG Attr LSize Pool Origin
- thin1s1 vg Vwi---tz-k 1.00t pool0 thin1
- thin1s2 vg Vwi---tz-k 1.00t pool0 thin1
- thin1s1s1 vg Vwi---tz-k 1.00t pool0 thin1s1
+# lvs vg/thin1s1 vg/thin1s2 vg/thin1s1s1
+ LV VG Attr LSize Pool Origin
+ thin1s1 vg Vwi---tz-k 1.00t pool0 thin1
+ thin1s2 vg Vwi---tz-k 1.00t pool0 thin1
+ thin1s1s1 vg Vwi---tz-k 1.00t pool0 thin1s1
-6. activate SnapLV
- Thin snapshots are created with the persistent "activation skip"
- flag, indicated by the "k" attribute. Use \-K with lvchange
- or vgchange to activate thin snapshots with the "k" attribute.
+.SS 6. activate SnapLV
- Command
- lvchange \-ay \-K VG/SnapLV
+Thin snapshots are created with the persistent "activation skip"
+flag, indicated by the "k" attribute. Use \-K with lvchange
+or vgchange to activate thin snapshots with the "k" attribute.
- Example
- # lvchange \-ay \-K vg/thin1s1
+.B lvchange \-ay \-K VG/SnapLV
- # lvs vg/thin1s1
- thin1s1 vg Vwi-a-tz-k 1.00t pool0 thin1
-.fi
+.I Example
+.br
+.B # lvchange \-ay \-K vg/thin1s1
+# lvs vg/thin1s1
+ LV VG Attr LSize Pool Origin
+ thin1s1 vg Vwi-a-tz-k 1.00t pool0 thin1
.SH Thin Topics
-Specify devices for data and metadata LVs
-.br
-Tolerate device failures using raid
+.B Specify devices for data and metadata LVs
.br
-Spare metadata LV
+.B Tolerate device failures using raid
.br
-Metadata check and repair
+.B Spare metadata LV
.br
-Automatic pool metadata LV
+.B Metadata check and repair
.br
-Activation of thin snapshots
+.B Automatic pool metadata LV
.br
-Removing thin pool LVs, thin LVs and snapshots
+.B Activation of thin snapshots
.br
-Manually manage free data space of thin pool LV
+.B Removing thin pool LVs, thin LVs and snapshots
.br
-Manually manage free metadata space of a thin pool LV
+.B Manually manage free data space of thin pool LV
.br
-Using fstrim to increase free space in a thin pool LV
+.B Manually manage free metadata space of a thin pool LV
.br
-Automatically extend thin pool LV
+.B Using fstrim to increase free space in a thin pool LV
.br
-Data space exhaustion
+.B Automatically extend thin pool LV
.br
-Metadata space exhaustion
+.B Data space exhaustion
.br
-Zeroing
+.B Metadata space exhaustion
.br
-Discard
+.B Zeroing
.br
-Chunk size
+.B Discard
.br
-Size of pool metadata LV
+.B Chunk size
.br
-Create a thin snapshot of an external, read only LV
+.B Size of pool metadata LV
.br
-Convert a standard LV to a thin LV with an external origin
+.B Create a thin snapshot of an external, read only LV
.br
-Single step thin pool LV creation
+.B Convert a standard LV to a thin LV with an external origin
.br
-Single step thin pool LV and thin LV creation
+.B Single step thin pool LV creation
.br
-Merge thin snapshots
+.B Single step thin pool LV and thin LV creation
.br
-XFS on snapshots
+.B Merge thin snapshots
.br
+.B XFS on snapshots
\&
@@ -267,22 +278,26 @@ separate physical devices. To do that, specify the device name(s)
at the end of the lvcreate line. It can be especially helpful
to use fast devices for the metadata LV.
-.nf
-lvcreate \-n ThinDataLV \-L LargeSize VG LargePV
-lvcreate \-n ThinMetaLV \-L SmallSize VG SmallPV
-lvconvert \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
+.B lvcreate \-n ThinDataLV \-L LargeSize VG LargePV
+.br
+.B lvcreate \-n ThinMetaLV \-L SmallSize VG SmallPV
+.br
+.B lvconvert \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
-Example
-# lvcreate \-n pool0 \-L 10G vg /dev/sdA
-# lvcreate \-n pool0meta \-L 1G vg /dev/sdB
-# lvconvert \-\-thinpool vg/pool0 \-\-poolmetadata vg/pool0meta
-.fi
+.I Example
+.br
+.B # lvcreate \-n pool0 \-L 10G vg /dev/sdA
+.br
+.B # lvcreate \-n pool0meta \-L 1G vg /dev/sdB
+.br
+.B # lvconvert \-\-thinpool vg/pool0 \-\-poolmetadata vg/pool0meta
.BR lvm.conf (5)
.B thin_pool_metadata_require_separate_pvs
.br
controls the default PV usage for thin pool creation.
+\&
.SS Tolerate device failures using raid
@@ -291,16 +306,19 @@ controls the default PV usage for thin pool creation.
To tolerate device failures, use raid for the pool data LV and
pool metadata LV. This is especially recommended for pool metadata LVs.
-.nf
-lvcreate \-\-type raid1 \-m 1 \-n ThinMetaLV \-L SmallSize VG PVA PVB
-lvcreate \-\-type raid1 \-m 1 \-n ThinDataLV \-L LargeSize VG PVC PVD
-lvconvert \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
+.B lvcreate \-\-type raid1 \-m 1 \-n ThinMetaLV \-L SmallSize VG PVA PVB
+.br
+.B lvcreate \-\-type raid1 \-m 1 \-n ThinDataLV \-L LargeSize VG PVC PVD
+.br
+.B lvconvert \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
-Example
-# lvcreate \-\-type raid1 \-m 1 \-n pool0 \-L 10G vg /dev/sdA /dev/sdB
-# lvcreate \-\-type raid1 \-m 1 \-n pool0meta \-L 1G vg /dev/sdC /dev/sdD
-# lvconvert \-\-thinpool vg/pool0 \-\-poolmetadata vg/pool0meta
-.fi
+.I Example
+.br
+.B # lvcreate \-\-type raid1 \-m 1 \-n pool0 \-L 10G vg /dev/sdA /dev/sdB
+.br
+.B # lvcreate \-\-type raid1 \-m 1 \-n pool0meta \-L 1G vg /dev/sdC /dev/sdD
+.br
+.B # lvconvert \-\-thinpool vg/pool0 \-\-poolmetadata vg/pool0meta
.SS Spare metadata LV
9 years, 3 months
master - man: more compliant
by Zdenek Kabelac
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=e1568376360b3e...
Commit: e1568376360b3e0b0d640441909bc92056009143
Parent: 08969876330111e6d49618ff0313bdd61b69d7f2
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Tue Jun 10 19:32:39 2014 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Wed Jun 11 11:10:55 2014 +0200
man: more compliant
---
man/blkdeactivate.8.in | 30 ++++++++++++++++++++----------
1 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/man/blkdeactivate.8.in b/man/blkdeactivate.8.in
index 9998744..bfd0204 100644
--- a/man/blkdeactivate.8.in
+++ b/man/blkdeactivate.8.in
@@ -15,31 +15,41 @@ LVM volumes are handled directly using the \fIlvm\fP command.
Other device-mapper based devices are handled using the
\fIdmsetup\fP command.
.SH OPTIONS
-.IP "\fB\-e, \-\-errors\fP"
+.TP
+.BR \-e ", " \-\-errors
Show errors reported from tools called by blkdeactivate.
Without this option, any error messages from these external tools
are suppressed and the blkdeactivate itself provides only a summary
message about device being skipped or not.
-.IP "\fB\-h, \-\-help\fP"
+.TP
+.BR \-h ", " \-\-help
Display the help text.
-.IP "\fB\-u, \-\-umount\fP"
+.TP
+.BR \-u ", " \-\-umount
Unmount a mounted device before trying to deactivate it.
Without this option used, a device that is mounted is not deactivated.
-.IP "\fB\-v, \-\-verbose\fP"
+.TP
+.BR \-v ", " \-\-verbose
Run in verbose mode.
-.IP "\fB\-d, \-\-dmoption\fP \fIdm_options\fP"
+.TP
+.BR \-d ", " \-\-dmoption " " \fIdm_options
Comma separated list of device-mapper specific options.
-.IP "\fB\-l, \-\-lvmoption\fP \fIlvm_options\fP"
+.TP
+.BR \-l ", " \-\-lvmoption " " \fIlvm_options
Comma separated list of LVM specific options.
.SH DM_OPTIONS
-.IP "\fBretry\fP"
+.TP
+.B retry
Retry removal several times in case of failure.
-.IP "\fBforce\fP"
+.TP
+.B force
Force device removal. See \fBdmsetup\fP(8) for more information.
.SH LVM_OPTIONS
-.IP "\fBretry\fP"
+.TP
+.B retry
Retry removal several times in case of failure.
-.IP "\fBwholevg\fP"
+.TP
+.B wholevg
Deactivate the whole LVM Volume Group when processing a Logical Volume.
Deactivating Volume Group as a whole takes less time than deactivating
each Logical Volume separately.
9 years, 3 months
master - man: properly escape -
by Zdenek Kabelac
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=08969876330111...
Commit: 08969876330111e6d49618ff0313bdd61b69d7f2
Parent: 49560910275696fa7dd149932fe9c4530667ecdd
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Wed Jun 11 11:06:30 2014 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Wed Jun 11 11:10:55 2014 +0200
man: properly escape -
Dash should be using '\' to be typographically correct.
---
man/blkdeactivate.8.in | 6 +-
man/clvmd.8.in | 8 +-
man/cmirrord.8.in | 4 +-
man/dmeventd.8.in | 12 ++-
man/dmsetup.8.in | 2 +-
man/fsadm.8.in | 2 +-
man/lvchange.8.in | 6 +-
man/lvconvert.8.in | 22 ++--
man/lvcreate.8.in | 22 ++--
man/lvdisplay.8.in | 4 +-
man/lvextend.8.in | 12 +-
man/lvm-dumpconfig.8.in | 4 +-
man/lvm.8.in | 2 +-
man/lvm.conf.5.in | 34 +++---
man/lvm2-activation-generator.8.in | 2 +-
man/lvmcache.7.in | 44 +++---
man/lvmchange.8.in | 2 +-
man/lvmconf.8.in | 4 +-
man/lvmdiskscan.8.in | 2 +-
man/lvmdump.8.in | 6 +-
man/lvmetad.8.in | 10 +-
man/lvmsadc.8.in | 2 +-
man/lvmsar.8.in | 2 +-
man/lvmthin.7.in | 274 ++++++++++++++++++------------------
man/lvreduce.8.in | 2 +-
man/lvremove.8.in | 2 +-
man/lvrename.8.in | 2 +-
man/lvresize.8.in | 28 ++--
man/lvs.8.in | 4 +-
man/lvscan.8.in | 2 +-
man/pvchange.8.in | 4 +-
man/pvck.8.in | 2 +-
man/pvcreate.8.in | 12 +-
man/pvmove.8.in | 20 ++--
man/pvremove.8.in | 2 +-
man/pvresize.8.in | 2 +-
man/pvs.8.in | 2 +-
man/pvscan.8.in | 2 +-
man/vgcfgbackup.8.in | 4 +-
man/vgcfgrestore.8.in | 2 +-
man/vgchange.8.in | 16 +-
man/vgck.8.in | 2 +-
man/vgcreate.8.in | 6 +-
man/vgdisplay.8.in | 4 +-
man/vgextend.8.in | 2 +-
man/vgimport.8.in | 2 +-
man/vgimportclone.8.in | 4 +-
man/vgmerge.8.in | 6 +-
man/vgmknodes.8.in | 2 +-
man/vgreduce.8.in | 6 +-
man/vgremove.8.in | 6 +-
man/vgrename.8.in | 4 +-
man/vgs.8.in | 2 +-
man/vgscan.8.in | 2 +-
man/vgsplit.8.in | 6 +-
55 files changed, 327 insertions(+), 323 deletions(-)
diff --git a/man/blkdeactivate.8.in b/man/blkdeactivate.8.in
index f6713f3..9998744 100644
--- a/man/blkdeactivate.8.in
+++ b/man/blkdeactivate.8.in
@@ -1,6 +1,6 @@
.TH "BLKDEACTIVATE" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
.SH "NAME"
-blkdeactivate \- utility to deactivate block devices
+blkdeactivate \(em utility to deactivate block devices
.SH SYNOPSIS
.B blkdeactivate
.RI [ options ]
@@ -65,12 +65,12 @@ Deactivate all supported block devices found in the system. Retry deactivation
of device-mapper devices in case the deactivation fails. Deactivate the whole
Volume Group at once when processing an LVM Logical Volume.
.sp
-.B blkdeactivate \-u -d retry -l wholevg
+.B blkdeactivate \-u \-d retry \-l wholevg
Deactivate all supported block devices found in the system. Retry deactivation
of device-mapper devices in case the deactivation fails and force removal.
.sp
-.B blkdeactivate -d force,retry
+.B blkdeactivate \-d force,retry
.SH SEE ALSO
.BR lsblk (8)
diff --git a/man/clvmd.8.in b/man/clvmd.8.in
index 2d7b06b..d79c29b 100644
--- a/man/clvmd.8.in
+++ b/man/clvmd.8.in
@@ -1,6 +1,6 @@
.TH CLVMD 8 "LVM TOOLS #VERSION#" "Red Hat Inc" \" -*- nroff -*-
.SH NAME
-clvmd \- cluster LVM daemon
+clvmd \(em cluster LVM daemon
.SH SYNOPSIS
.B clvmd
.RB [ \-d
@@ -54,7 +54,7 @@ enable cluster-wide logging then the command needs to be issued twice, eg:
.br
.B clvmd
.br
-.B clvmd -d2
+.B clvmd \-d2
.br
.TP
.BR \-E < "\fIlock uuid" >
@@ -68,7 +68,7 @@ Show help information.
.TP
.B \-I \fIcluster manager
Selects the cluster manager to use for locking and internal communications,
-the available managers will be listed as part of the \fBclvmd -h\fP output.
+the available managers will be listed as part of the \fBclvmd \-h\fP output.
clvmd will use the first cluster manager that succeeds, and it checks them
in the order cman,corosync,openais. As it is quite possible to have
(eg) corosync and cman available on the same system you might have to
@@ -107,7 +107,7 @@ The default is 0 (no timeout) and the value is in seconds. Don't set this too
small or you will experience spurious errors. 10 or 20 seconds might be
sensible.
.br
-This timeout will be ignored if you start clvmd with the -d switch.
+This timeout will be ignored if you start clvmd with the \-d switch.
.TP
.B \-V
Display the version of the cluster LVM daemon.
diff --git a/man/cmirrord.8.in b/man/cmirrord.8.in
index 035fa43..8ef6794 100644
--- a/man/cmirrord.8.in
+++ b/man/cmirrord.8.in
@@ -1,6 +1,6 @@
.TH CMIRRORD 8 "LVM TOOLS #VERSION#" "Red Hat Inc" \" -*- nroff -*-
.SH NAME
-cmirrord \- cluster mirror log daemon
+cmirrord \(em cluster mirror log daemon
.SH SYNOPSIS
.B cmirrord
@@ -27,4 +27,4 @@ cluster mirror log daemon.
.SH SEE ALSO
.BR lvm (8)
.BR clvmd (8)
-.BR cluster.conf (5)
\ No newline at end of file
+.BR cluster.conf (5)
diff --git a/man/dmeventd.8.in b/man/dmeventd.8.in
index e742a61..77bbafb 100644
--- a/man/dmeventd.8.in
+++ b/man/dmeventd.8.in
@@ -1,9 +1,11 @@
.TH DMEVENTD 8 "DM TOOLS #VERSION#" "Red Hat Inc" \" -*- nroff -*-
.SH NAME
-dmeventd \- Device-mapper event daemon
+dmeventd \(em Device-mapper event daemon
.SH SYNOPSIS
.B dmeventd
-.RB [ \-d " [" -d " [" -d ]]]
+.RB [ \-d
+.RB [ \-d
+.RB [ \-d ]]]
.RB [ \-f ]
.RB [ \-h ]
.RB [ \-R ]
@@ -36,7 +38,11 @@ See \fBlvm.conf\fP(5).
.SH OPTIONS
.TP
.B \-d
-Repeat from 1 to 3 times (-d, -dd, -ddd) to increase the detail of
+Repeat from 1 to 3 times (
+.BR \-d ,
+.BR \-dd ,
+.BR \-ddd
+) to increase the detail of
debug messages sent to syslog.
Each extra d adds more debugging information.
.TP
diff --git a/man/dmsetup.8.in b/man/dmsetup.8.in
index 1b17580..b257c89 100644
--- a/man/dmsetup.8.in
+++ b/man/dmsetup.8.in
@@ -1,6 +1,6 @@
.TH DMSETUP 8 "Apr 06 2006" "Linux" "MAINTENANCE COMMANDS"
.SH NAME
-dmsetup \- low level logical volume management
+dmsetup \(em low level logical volume management
.SH SYNOPSIS
.ad l
.B dmsetup clear
diff --git a/man/fsadm.8.in b/man/fsadm.8.in
index 20ec4c8..2aecd65 100644
--- a/man/fsadm.8.in
+++ b/man/fsadm.8.in
@@ -1,6 +1,6 @@
.TH "FSADM" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
.SH "NAME"
-fsadm \- utility to resize or check filesystem on a device
+fsadm \(em utility to resize or check filesystem on a device
.SH SYNOPSIS
.B fsadm
.RI [ options ]
diff --git a/man/lvchange.8.in b/man/lvchange.8.in
index 27f81aa..ce10012 100644
--- a/man/lvchange.8.in
+++ b/man/lvchange.8.in
@@ -1,6 +1,6 @@
.TH LVCHANGE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-lvchange \- change attributes of a logical volume
+lvchange \(em change attributes of a logical volume
.SH SYNOPSIS
.B lvchange
.RB [ \-\-addtag
@@ -190,7 +190,7 @@ the number of I/Os to the drive to a minimum. The default behavior is to
set the write-mostly attribute for the specified physical volume in the
logical volume. It is possible to also remove the write-mostly flag by
appending a ":n" to the physical volume or to toggle the value by specifying
-":t". The \fB--writemostly\fP argument can be specified more than one time
+":t". The \fB\-\-writemostly\fP argument can be specified more than one time
in a single command; making it possible to toggle the write-mostly attributes
for all the physical volumes in a logical volume at once.
.TP
@@ -253,7 +253,7 @@ Suppress locking failure messages.
.SH Examples
Changes the permission on volume lvol1 in volume group vg00 to be read-only:
.sp
-.B lvchange -pr vg00/lvol1
+.B lvchange \-pr vg00/lvol1
.SH SEE ALSO
.BR lvm (8),
.BR lvmcache (7),
diff --git a/man/lvconvert.8.in b/man/lvconvert.8.in
index 44a3dbe..76003b4 100644
--- a/man/lvconvert.8.in
+++ b/man/lvconvert.8.in
@@ -1,6 +1,6 @@
.TH LVCONVERT 8 "LVM TOOLS #VERSION#" "Red Hat, Inc" \" -*- nroff -*-
.SH NAME
-lvconvert \- convert a logical volume from linear to mirror or snapshot
+lvconvert \(em convert a logical volume from linear to mirror or snapshot
.SH SYNOPSIS
.B lvconvert
.BR \-m | \-\-mirrors
@@ -30,7 +30,7 @@ lvconvert \- convert a logical volume from linear to mirror or snapshot
.RB [ \-y | \-\-yes ]
.RB [ \-\-version ]
.IR LogicalVolume [ Path ]
-.RI [ PhysicalVolume [ Path ][ :PE [ -PE ]]...]
+.RI [ PhysicalVolume [ Path ][ :PE [ \-PE ]]...]
.sp
.B lvconvert \-\-splitmirrors \fIImages
.RB [ \-\-commandprofile
@@ -39,7 +39,7 @@ lvconvert \- convert a logical volume from linear to mirror or snapshot
.IR SplitLogicalVolumeName ]
.RB [ \-\-trackchanges ]
.IR MirrorLogicalVolume [ Path ]
-.RI [ SplittablePhysicalVolume [ Path ][ :PE [ -PE ]]...]
+.RI [ SplittablePhysicalVolume [ Path ][ :PE [ \-PE ]]...]
.sp
.B lvconvert
.BR \-\-splitsnapshot
@@ -124,7 +124,7 @@ lvconvert \- convert a logical volume from linear to mirror or snapshot
.IR ExternalOriginLogicalVolume { Name | Path }
.RB [ \-\-originname
.IR NewExternalOriginVolumeName ]]
-.RI [ PhysicalVolume [ Path ][ :PE [ -PE ]]...]
+.RI [ PhysicalVolume [ Path ][ :PE [ \-PE ]]...]
.RB [ \-h | \-? | \-\-help ]
.RB [ \-v | \-\-verbose ]
.RB [ \-\-version ]
@@ -142,7 +142,7 @@ lvconvert \- convert a logical volume from linear to mirror or snapshot
.B \-\-poolmetadatasize
.IR CachePoolMetadataSize [ bBsSkKmMgG ]}]
.IR LogicalVolume [ Path ]
-.RI [ PhysicalVolume [ Path ][ :PE [ -PE ]]...]
+.RI [ PhysicalVolume [ Path ][ :PE [ \-PE ]]...]
.RB [ \-h | \-? | \-\-help ]
.RB [ \-v | \-\-verbose ]
.RB [ \-\-version ]
@@ -198,7 +198,7 @@ For more information on cache pool LVs and cache LVs, see \fBlvm\fP(8).
.TP
.BR \-m ", " \-\-mirrors " " \fIMirrors
Specifies the degree of the mirror you wish to create.
-For example, "\fB-m 1\fP" would convert the original logical
+For example, "\fB\-m 1\fP" would convert the original logical
volume to a mirror volume with 2-sides; that is, a
linear volume plus one copy. There are two implementations of mirroring
which correspond to the "raid1" and "mirror" segment types. The default
@@ -451,10 +451,10 @@ Converts logical volume "vg00/lvol2" to snapshot of original volume
.B lvconvert \-s vg00/lvol1 vg00/lvol2
Converts linear logical volume "vg00/lvol1" to a two-way mirror,
-using physical extents /dev/sda:0-15 and /dev/sdb:0-15 for allocation
+using physical extents /dev/sda:0\-15 and /dev/sdb:0\-15 for allocation
of new extents:
.sp
-.B lvconvert \-m1 vg00/lvol1 /dev/sda:0-15 /dev/sdb:0-15
+.B lvconvert \-m1 vg00/lvol1 /dev/sda:0\-15 /dev/sdb:0\-15
Converts mirror logical volume "vg00/lvmirror1" to linear, freeing physical
extents from /dev/sda:
@@ -507,19 +507,19 @@ and convert "vg00/lv1" into a thin volume using this pool. Original "vg00/lv1"
is used as an external read-only origin, where all writes to such volume
are stored in the "vg00/lvpool".
.sp
-.B lvconvert \-\-thinpool vg00/lvpool -c 128 -T lv1
+.B lvconvert \-\-thinpool vg00/lvpool \-c 128 \-T lv1
Convert the logical volume "vg00/origin" into a thin volume from the thin pool
"vg00/lvpool". This thin volume will use "vg00/origin" as an external origin
volume for unprovisioned areas in this volume.
For the read-only external origin use the new name "vg00/external".
.sp
-.B lvconvert \-\-thinpool vg00/lvpool \-\-originname external -T vg00/origin
+.B lvconvert \-\-thinpool vg00/lvpool \-\-originname external \-T vg00/origin
Convert an existing logical volume to a cache pool LV using the
given cache metadata LV.
.sp
-.B lvconvert --type cache-pool --poolmetadata vg00/lvx_meta vg00/lvx_data
+.B lvconvert \-\-type cache-pool \-\-poolmetadata vg00/lvx_meta vg00/lvx_data
.br
.B lvrename vg00/lvx_data vg00/lvx_cachepool
diff --git a/man/lvcreate.8.in b/man/lvcreate.8.in
index 164ca27..64468a0 100644
--- a/man/lvcreate.8.in
+++ b/man/lvcreate.8.in
@@ -85,7 +85,7 @@ lvcreate \- create a logical volume in an existing volume group
.RB [ \-Z | \-\-zero
.RI { y | n }]
.IR VolumeGroup { Name | Path }[/ ThinPoolLogicalVolumeName ]
-.RI [ PhysicalVolumePath [ :PE [ -PE ]]...]
+.RI [ PhysicalVolumePath [ :PE [ \-PE ]]...]
.br
.B lvcreate
@@ -136,8 +136,8 @@ for common options.
.IR \fB\-a ", " \fB\-\-activate " {" y | ay | n | ey | en | ly | ln }
Controls the availability of the Logical Volumes for immediate use after
the command finishes running.
-By default, new Logical Volumes are activated (\fB-a\fIy\fR).
-If it is possible technically, \fB-a\fIn\fR will leave the new Logical
+By default, new Logical Volumes are activated (\fB\-a\fIy\fR).
+If it is possible technically, \fB\-a\fIn\fR will leave the new Logical
Volume inactive. But for example, snapshots can only be created
in the active state so \fB\-a\fIn\fR cannot be used with \fB\-\-snapshot\fP.
Normally the \fB\-\-zero\fP \fIn\fP argument has to be supplied too because
@@ -256,7 +256,7 @@ Default unit is megabytes.
.BR \-m ", " \-\-mirrors " " \fIMirrors
Creates a mirrored logical volume with \fIMirrors\fP copies.
For example, specifying
-.BI -m 1
+.BI \-m 1
would result in a mirror with two-sides; that is,
a linear volume plus one copy.
@@ -507,9 +507,9 @@ under 100MiB of actual data on it:
.B lvcreate \-\-virtualsize 1T \-\-size 100M \-\-snapshot \-\-name sparse vg1
Creates a linear logical volume "vg00/lvol1" using physical extents
-/dev/sda:0-7 and /dev/sdb:0-7 for allocation of extents:
+/dev/sda:0\-7 and /dev/sdb:0\-7 for allocation of extents:
.sp
-.B lvcreate \-L 64M -n lvol1 vg00 /dev/sda:0\-7 /dev/sdb:0\-7
+.B lvcreate \-L 64M \-n lvol1 vg00 /dev/sda:0\-7 /dev/sdb:0\-7
Creates a 5GiB RAID5 logical volume "vg00/my_lv", with 3 stripes (plus
a parity drive for a total of 4 devices) and a stripesize of 64KiB:
@@ -542,30 +542,30 @@ will share the same blocks within the thin pool.
Note: the size MUST NOT be specified, otherwise the non-thin snapshot
is created instead:
.sp
-.B lvcreate -s vg00/thinvol --name thinsnap
+.B lvcreate \-s vg00/thinvol \-\-name thinsnap
Creates a thin snapshot volume of read-only inactive volume "origin"
which then becomes the thin external origin for the thin snapshot volume
in vg00 that will use an existing thin pool "vg00/pool":
.sp
-.B lvcreate -s --thinpool vg00/pool origin
+.B lvcreate \-s \-\-thinpool vg00/pool origin
Create a cache pool LV that can later be used to cache one
logical volume.
.sp
-.B lvcreate --type cache-pool -L 1G -n my_lv_cachepool vg /dev/fast1
+.B lvcreate \-\-type cache-pool \-L 1G \-n my_lv_cachepool vg /dev/fast1
If there is an existing cache pool LV, create the large slow
device (i.e. the origin LV) and link it to the supplied cache pool LV,
creating a cache LV.
.sp
-.B lvcreate --type cache -L 100G -n my_lv vg/my_lv_cachepool /dev/slow1
+.B lvcreate \-\-type cache \-L 100G \-n my_lv vg/my_lv_cachepool /dev/slow1
If there is an existing logical volume, create the small and fast
cache pool LV and link it to the supplied existing logical
volume (i.e. the origin LV), creating a cache LV.
.sp
-.B lvcreate --type cache -L 1G -n my_lv_cachepool vg/my_lv /dev/fast1
+.B lvcreate \-\-type cache \-L 1G \-n my_lv_cachepool vg/my_lv /dev/fast1
.SH SEE ALSO
.BR lvm (8),
diff --git a/man/lvdisplay.8.in b/man/lvdisplay.8.in
index bf9f544..5593752 100644
--- a/man/lvdisplay.8.in
+++ b/man/lvdisplay.8.in
@@ -1,6 +1,6 @@
.TH LVDISPLAY 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-lvdisplay \- display attributes of a logical volume
+lvdisplay \(em display attributes of a logical volume
.SH SYNOPSIS
.B lvdisplay
.RB [ \-a | \-\-all ]
@@ -37,7 +37,7 @@ lvdisplay \- display attributes of a logical volume
.RB [ \-o | \-\-options
.RI [ + ] Field [ ,Field ...]]
.RB [ \-O | \-\-sort
-.RI [ + | - ] Key1 [ , [ + | - ] Key2 ...]]
+.RI [ + | \- ] Key1 [ , [ + | \- ] Key2 ...]]
.RB [ \-P | \-\-partial ]
.RB [ \-\-segments ]
.RB [ \-\-separator
diff --git a/man/lvextend.8.in b/man/lvextend.8.in
index 845a3ea..8deab54 100644
--- a/man/lvextend.8.in
+++ b/man/lvextend.8.in
@@ -1,6 +1,6 @@
.TH LVEXTEND 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-lvextend \- extend the size of a logical volume
+lvextend \(em extend the size of a logical volume
.SH SYNOPSIS
.B lvextend
.RB [ \-\-alloc
@@ -28,7 +28,7 @@ lvextend \- extend the size of a logical volume
.RB [ \-t | \-\-test ]
.RB [ \-v | \-\-verbose ]
.I LogicalVolumePath
-.RI [ PhysicalVolumePath [ :PE [ -PE ]]...]
+.RI [ PhysicalVolumePath [ :PE [ \-PE ]]...]
.SH DESCRIPTION
lvextend allows you to extend the size of a logical volume.
Extension of snapshot logical volumes (see
@@ -108,18 +108,18 @@ Extends the size of the logical volume "vg01/lvol10" by 54MiB on physical
volume /dev/sdk3. This is only possible if /dev/sdk3 is a member of
volume group vg01 and there are enough free physical extents in it:
.sp
-.B lvextend -L +54 /dev/vg01/lvol10 /dev/sdk3
+.B lvextend \-L +54 /dev/vg01/lvol10 /dev/sdk3
Extends the size of logical volume "vg01/lvol01" by the amount of free
space on physical volume /dev/sdk3. This is equivalent to specifying
-"-l +100%PVS" on the command line:
+"\-l +100%PVS" on the command line:
.sp
.B lvextend /dev/vg01/lvol01 /dev/sdk3
Extends a logical volume "vg01/lvol01" by 16MiB using physical extents
-/dev/sda:8-9 and /dev/sdb:8-9 for allocation of extents:
+/dev/sda:8\-9 and /dev/sdb:8\-9 for allocation of extents:
.sp
-.B lvextend -L+16M vg01/lvol01 /dev/sda:8-9 /dev/sdb:8-9
+.B lvextend -L+16M vg01/lvol01 /dev/sda:8\-9 /dev/sdb:8\-9
.SH SEE ALSO
.BR fsadm (8),
diff --git a/man/lvm-dumpconfig.8.in b/man/lvm-dumpconfig.8.in
index 4b21ef1..844f8ac 100644
--- a/man/lvm-dumpconfig.8.in
+++ b/man/lvm-dumpconfig.8.in
@@ -1,9 +1,9 @@
.TH "LVM-DUMPCONFIG" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
.SH "NAME"
-lvm-dumpconfig \- dump LVM configuration
+lvm-dumpconfig \(em dump LVM configuration
.SH SYNOPSIS
.B lvm dumpconfig
-.RB [ \-f | \-\-file ]
+.RB [ \-f | \-\-file
.IR filename ]
.RB [ \-\-type
.RI { current | default | diff | missing | new | profilable | profilable-command | profilable-metadata }
diff --git a/man/lvm.8.in b/man/lvm.8.in
index 9df3cde..5449e20 100644
--- a/man/lvm.8.in
+++ b/man/lvm.8.in
@@ -1,6 +1,6 @@
.TH LVM 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-lvm \- LVM2 tools
+lvm \(em LVM2 tools
.SH SYNOPSIS
.B lvm
[command | file]
diff --git a/man/lvm.conf.5.in b/man/lvm.conf.5.in
index bf73a29..c434527 100644
--- a/man/lvm.conf.5.in
+++ b/man/lvm.conf.5.in
@@ -1,6 +1,6 @@
.TH LVM.CONF 5 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-lvm.conf \- Configuration file for LVM2
+lvm.conf \(em Configuration file for LVM2
.SH SYNOPSIS
.B #DEFAULT_SYS_DIR#/lvm.conf
.SH DESCRIPTION
@@ -65,8 +65,8 @@ For this purpose, there's the \fBcommand_profile_template.profile\fP
(for metadata profiles) which contain all settings that are customizable
by profiles of certain type. Users are encouraged to copy these template
profiles and edit them as needed. Alternatively, the
-\fBlvm dumpconfig --file <ProfileName.profile> --type profilable-command <section>\fP
-or \fBlvm dumpconfig --file <ProfileName.profile> --type profilable-metadata <section>\fP
+\fBlvm dumpconfig \-\-file <ProfileName.profile> \-\-type profilable-command <section>\fP
+or \fBlvm dumpconfig \-\-file <ProfileName.profile> \-\-type profilable-metadata <section>\fP
can be used to generate a configuration with profilable settings in either
of the type for given section and save it to new ProfileName.profile
(if the section is not specified, all profilable settings are reported).
@@ -249,7 +249,7 @@ start of the aligned data area of the Physical Volume will be shifted
by the alignment_offset exposed in sysfs.
.sp
To see the location of the first Physical Extent of an existing Physical Volume
-use \fBpvs -o +pe_start\fP . It will be a multiple of the requested
+use \fBpvs \-o +pe_start\fP . It will be a multiple of the requested
\fBdata_alignment\fP plus the alignment_offset from
\fBdata_alignment_offset_detection\fP (if enabled) or the pvcreate
commandline.
@@ -318,7 +318,7 @@ is invoked. By default tools append messages to the log file.
When set, display and reporting tools will still write the requested
device properties to standard output, but messages confirming that
something was or wasn't changed will be reduced to the 'verbose' level
-and not appear unless -v is supplied.
+and not appear unless \-v is supplied.
.IP
\fBsyslog\fP \(em Set to 1 (the default) to send log messages through syslog.
Turn off by setting to 0. If you set to an integer greater than one,
@@ -394,7 +394,7 @@ Interpreted as octal if the first digit is zero.
Defaults to 077.
Use 022 to allow other users to read the files by default.
.IP
-\fBformat\fP \(em The default value of \fB--metadatatype\fP used
+\fBformat\fP \(em The default value of \fB\-\-metadatatype\fP used
to determine which format of metadata to use when creating new
physical volumes and volume groups. \fBlvm1\fP or \fBlvm2\fP.
.IP
@@ -408,14 +408,14 @@ If an LVM2 tool is then run but unable to communicate
with device-mapper, it will automatically invoke the equivalent LVM1
version of the tool. Note that for LVM1 tools to
manipulate physical volumes and volume groups created by LVM2 you
-must use \fB--metadataformat lvm1\fP when creating them.
+must use \fB\-\-metadataformat lvm1\fP when creating them.
.IP
\fBlibrary_dir\fP \(em A directory searched for LVM2's shared libraries
ahead of the places \fBdlopen\fP (3) searches.
.IP
\fBformat_libraries\fP \(em A list of shared libraries to load that contain
code to process different formats of metadata. For example, liblvm2formatpool.so
-is needed to read GFS pool metadata if LVM2 was configured \fB--with-pool=shared\fP.
+is needed to read GFS pool metadata if LVM2 was configured \fB\-\-with-pool=shared\fP.
.IP
\fBlocking_type\fP \(em What type of locking to use.
1 is the default, which use flocks on files in \fBlocking_dir\fP
@@ -424,7 +424,7 @@ avoid conflicting LVM2 commands running concurrently on a single
machine. 0 disables locking and risks corrupting your metadata.
If set to 2, the tools will load the external \fBlocking_library\fP
(see below).
-If the tools were configured \fB--with-cluster=internal\fP
+If the tools were configured \fB\-\-with-cluster=internal\fP
(the default) then 3 means to use built-in cluster-wide locking.
Type 4 enforces read-only metadata and forbids any operations that
might want to modify Volume Group metadata.
@@ -450,7 +450,7 @@ group metadata and PV state flags are obtained from the lvmetad instance and no
scanning is done by the individual commands. In a setup with lvmetad, lvmetad
udev rules \fBmust\fP be set up for LVM to work correctly. Without proper udev
rules, all changes in block device configuration will be \fBignored\fP until a
-manual 'pvscan --cache' is performed.
+manual 'pvscan \-\-cache' is performed.
.br
If lvmetad has been running while use_lvmetad was 0, it \fBMUST\fP be stopped before
changing use_lvmetad to 1 and started again afterwards.
@@ -487,7 +487,7 @@ These options are useful if you are replicating configuration files
around a cluster. Use of \fBhosttags = 1\fP means every machine
can have static and identical local configuration files yet use
different settings and activate different logical volumes by
-default. See also \fBvolume_list\fP below and \fB--addtag\fP
+default. See also \fBvolume_list\fP below and \fB\-\-addtag\fP
in \fBlvm\fP (8).
.TP
\fBactivation\fP \(em Settings affecting device-mapper activation
@@ -564,7 +564,7 @@ to store on each physical volume.
Currently it can be set to 0, 1 or 2. The default is 1.
If set to 2, one copy is placed at the beginning of the disk
and the other is placed at the end.
-It can be overridden on the command line with \fB--pvmetadatacopies\fP
+It can be overridden on the command line with \fB\-\-pvmetadatacopies\fP
(see \fBpvcreate\fP).
If creating a volume group with just one physical volume, it's a
good idea to have 2 copies. If creating a large volume group with
@@ -590,12 +590,12 @@ metadata format, this states whether metadata areas should be ignored.
The default is "n". If metadata areas on a physical volume are ignored,
LVM will not not store metadata in the metadata areas present on newly
created Physical Volumes. The option can be overridden on the command
-line with \fB--metadataignore\fP (See \fBpvcreate\fP and \fBpvchange\fP).
+line with \fB\-\-metadataignore\fP (See \fBpvcreate\fP and \fBpvchange\fP).
Metadata areas cannot be created or extended after Logical Volumes have
been allocated on the device.
If you do not want to store metadata on this device, it is still wise
always to allocate a metadata area (use a non-zero value for
-\fB--pvmetadatacopies\fP) in case you need it in the future and to use
+\fB\-\-pvmetadatacopies\fP) in case you need it in the future and to use
this option to instruct LVM2 to ignore it.
.IP
\fBvgmetadatacopies\fP \(em When creating a volume group using the
@@ -603,17 +603,17 @@ LVM2 metadata format, this is the default number of copies of metadata
desired across all the physical volumes in the volume group. If set to
a non-zero value, LVM will automatically set or clear the metadataignore
flag on the physical volumes (see \fBpvcreate\fP and \fBpvchange\fP
-\fB--metadataignore\fP) in order to achieve the desired number of metadata
+\fB\-\-metadataignore\fP) in order to achieve the desired number of metadata
copies. An LVM command that adds or removes physical volumes (for example,
\fBvgextend\fP, \fBvgreduce\fP, \fBvgsplit\fP, or \fBvgmerge\fP), may cause
LVM to automatically set or clear the metadataignore flags. Also, if
physical volumes go missing or reappear, or a new number of copies is
-explicitly set (see \fBvgchange --vgmetadatacopies\fP), LVM may adjust
+explicitly set (see \fBvgchange \-\-vgmetadatacopies\fP), LVM may adjust
the metadataignore flags.
Set \fBvgmetadatacopies\fP to 0 instructs LVM not to set or clear the
metadataignore flags automatically. You may set a value larger than the
sum of all metadata areas on all physical volumes. The value can
-be overridden on the command line with \fB--vgmetadatacopies\fP for various
+be overridden on the command line with \fB\-\-vgmetadatacopies\fP for various
commands (for example, \fBvgcreate\fP and \fBvgchange\fP), and can be
queryied with the \fBvg_mda_copies\fP field of \fBvgs\fP. This option
is useful for volume groups containing large numbers of physical volumes
diff --git a/man/lvm2-activation-generator.8.in b/man/lvm2-activation-generator.8.in
index 180b8da..0f6d838 100644
--- a/man/lvm2-activation-generator.8.in
+++ b/man/lvm2-activation-generator.8.in
@@ -12,7 +12,7 @@ option is used). Otherwise, if \fBlvmetad\fP(8) is enabled,
the lvm2-activation-generator exits immediately without generating
any systemd units and LVM2 fully relies on event-based activation
to activate the LVM2 volumes instead using the \fBpvscan\fP(8)
-(pvscan --cache -aay) call that is a part of \fBudev\fP(8) rules.
+(pvscan \-\-cache -aay) call that is a part of \fBudev\fP(8) rules.
These systemd units are generated by lvm2-activation-generator:
.sp
diff --git a/man/lvmcache.7.in b/man/lvmcache.7.in
index 5a09257..87fb9f4 100644
--- a/man/lvmcache.7.in
+++ b/man/lvmcache.7.in
@@ -1,6 +1,6 @@
.TH "LVMCACHE" "7" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
.SH NAME
-lvmcache - LVM caching
+lvmcache \(em LVM caching
.SH DESCRIPTION
@@ -66,22 +66,22 @@ steps might be used in practice.
.SS Cache Commands
.nf
0. create OriginLV
-lvcreate -L LargeSize -n OriginLV VG SlowPVs
+lvcreate \-L LargeSize \-n OriginLV VG SlowPVs
1. create CacheDataLV
-lvcreate -L CacheSize -n CacheDataLV VG FastPVs
+lvcreate \-L CacheSize \-n CacheDataLV VG FastPVs
2. create CacheMetaLV
-lvcreate -L MetaSize -n CacheMetaLV VG FastPVs
+lvcreate \-L MetaSize \-n CacheMetaLV VG FastPVs
3. create CachePoolLV
-lvconvert --type cache-pool --poolmetadata VG/CacheMetaLV VG/CacheDataLV
+lvconvert \-\-type cache-pool \-\-poolmetadata VG/CacheMetaLV VG/CacheDataLV
CachePoolLV takes the name of CacheDataLV.
CacheDataLV is renamed CachePoolLV_cdata and becomes hidden.
CacheMetaLV is renamed CachePoolLV_cmeta and becomes hidden.
4. create CacheLV
-lvconvert --type cache --cachepool VG/CachePoolLV VG/OriginLV
+lvconvert \-\-type cache \-\-cachepool VG/CachePoolLV VG/OriginLV
CacheLV takes the name of OriginLV.
OriginLV is renamed OriginLV_corig and becomes hidden.
.fi
@@ -94,20 +94,20 @@ Creating a simple cache LV.
.nf
0. Create the origin LV
-# lvcreate -L 10G -n lvx vg /dev/slow_dev
+# lvcreate \-L 10G \-n lvx vg /dev/slow_dev
1. Create a cache data LV
-# lvcreate -L 1G -n lvx_cache vg /dev/fast_dev
+# lvcreate \-L 1G \-n lvx_cache vg /dev/fast_dev
2. Create a cache metadata LV (~1/1000th size of CacheDataLV or 8MiB)
-# lvcreate -L 8M -n lvx_cache_meta vg /dev/fast_dev
+# lvcreate \-L 8M \-n lvx_cache_meta vg /dev/fast_dev
3. Create a cache pool LV, combining cache data LV and cache metadata LV
-# lvconvert --type cache-pool --poolmetadata vg/lvx_cache_meta \\
+# lvconvert \-\-type cache-pool \-\-poolmetadata vg/lvx_cache_meta \\
vg/lvx_cache
4. Create a cached LV by combining the cache pool LV and origin LV
-# lvconvert --type cache --cachepool vg/lvx_cache vg/lvx
+# lvconvert \-\-type cache \-\-cachepool vg/lvx_cache vg/lvx
.fi
.B Example 2:
@@ -120,22 +120,22 @@ redundant. Example 2 illustrates how to do that. Note that only steps
.nf
0. Create an origin LV we wish to cache
-# lvcreate -L 10G -n lvx vg /dev/slow_devs
+# lvcreate \-L 10G \-n lvx vg /dev/slow_devs
1. Create a 2-way RAID1 cache data LV
-# lvcreate --type raid1 -m 1 -L 1G -n lvx_cache vg \\
+# lvcreate \-\-type raid1 \-m 1 \-L 1G -n lvx_cache vg \\
/dev/fast1 /dev/fast2
2. Create a 2-way RAID1 cache metadata LV
-# lvcreate --type raid1 -m 1 -L 8M -n lvx_cache_meta vg \\
+# lvcreate \-\-type raid1 \-m 1 \-L 8M -n lvx_cache_meta vg \\
/dev/fast1 /dev/fast2
3. Create a cache pool LV combining cache data LV and cache metadata LV
-# lvconvert --type cache-pool --poolmetadata vg/lvx_cache_meta \\
+# lvconvert \-\-type cache-pool \-\-poolmetadata vg/lvx_cache_meta \\
vg/lvx_cache
4. Create a cached LV by combining the cache pool LV and origin LV
-# lvconvert --type cache --cachepool vg/lvx_cache vg/lvx
+# lvconvert \-\-type cache \-\-cachepool vg/lvx_cache vg/lvx
.fi
.B Example 3:
@@ -151,20 +151,20 @@ in this case.
.nf
0. Create an origin LV we wish to cache (yours may already exist)
-# lvcreate -L 10G -n lvx vg /dev/slow
+# lvcreate \-L 10G \-n lvx vg /dev/slow
1. Create a cache data LV
-# lvcreate -L 1G -n lvx_cache vg /dev/fast
+# lvcreate \-L 1G \-n lvx_cache vg /dev/fast
2. Create a cache metadata LV
-# lvcreate -L 8M -n lvx_cache_meta vg /dev/fast
+# lvcreate \-L 8M \-n lvx_cache_meta vg /dev/fast
3. Create a cache pool LV specifying cache mode "writethrough"
-# lvconvert --type cache-pool --poolmetadata vg/lvx_cache_meta \\
- --cachemode writethrough vg/lvx_cache
+# lvconvert \-\-type cache-pool \-\-poolmetadata vg/lvx_cache_meta \\
+ \-\-cachemode writethrough vg/lvx_cache
4. Create a cache LV by combining the cache pool LV and origin LV
-# lvconvert --type cache --cachepool vg/lvx_cache vg/lvx
+# lvconvert \-\-type cache \-\-cachepool vg/lvx_cache vg/lvx
.fi
.SS Removing Cache Logical Volumes
diff --git a/man/lvmchange.8.in b/man/lvmchange.8.in
index 0d58813..dc6b3bd 100644
--- a/man/lvmchange.8.in
+++ b/man/lvmchange.8.in
@@ -1,6 +1,6 @@
.TH LVMCHANGE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-lvmchange \- change attributes of the logical volume manager
+lvmchange \(em change attributes of the logical volume manager
.SH SYNOPSIS
.B lvmchange
.SH DESCRIPTION
diff --git a/man/lvmconf.8.in b/man/lvmconf.8.in
index 2c822ee..bfd539a 100644
--- a/man/lvmconf.8.in
+++ b/man/lvmconf.8.in
@@ -1,9 +1,7 @@
.TH "LVMCONF" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
.SH "NAME"
-.B lvmconf
-\- LVM configuration modifier
-
+lvmconf \(em LVM configuration modifier
.SH "SYNOPSIS"
.B lvmconf
.RB [ \-\-disable-cluster ]
diff --git a/man/lvmdiskscan.8.in b/man/lvmdiskscan.8.in
index c35d071..6de34c1 100644
--- a/man/lvmdiskscan.8.in
+++ b/man/lvmdiskscan.8.in
@@ -1,6 +1,6 @@
.TH LVMDISKSCAN 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-lvmdiskscan \- scan for all devices visible to LVM2
+lvmdiskscan \(em scan for all devices visible to LVM2
.SH SYNOPSIS
.B lvmdiskscan
.RB [ \-\-commandprofile
diff --git a/man/lvmdump.8.in b/man/lvmdump.8.in
index a34e062..9a8c469 100644
--- a/man/lvmdump.8.in
+++ b/man/lvmdump.8.in
@@ -1,6 +1,6 @@
.TH LVMDUMP 8 "LVM TOOLS #VERSION#" "Red Hat, Inc."
.SH NAME
-lvmdump - create lvm2 information dumps for diagnostic purposes
+lvmdump \(em create lvm2 information dumps for diagnostic purposes
.SH SYNOPSIS
.B lvmdump
.RB [ \-a ]
@@ -83,10 +83,10 @@ of systemd journal for current boot.
.TP
.B \-u
Gather udev info and context: /etc/udev/udev.conf file, udev daemon version
-(output of 'udevadm info --version' command), udev rules currently used in the system
+(output of 'udevadm info \-\-version' command), udev rules currently used in the system
(content of /lib/udev/rules.d and /etc/udev/rules.d directory),
list of files in /lib/udev directory and dump of current udev
-database content (the output of 'udevadm info --export-db' command).
+database content (the output of 'udevadm info \-\-export\-db' command).
.SH ENVIRONMENT VARIABLES
.TP
\fBLVM_BINARY\fP
diff --git a/man/lvmetad.8.in b/man/lvmetad.8.in
index a8ca678..4f60249 100644
--- a/man/lvmetad.8.in
+++ b/man/lvmetad.8.in
@@ -1,6 +1,6 @@
.TH LVMETAD 8 "LVM TOOLS #VERSION#" "Red Hat Inc" \" -*- nroff -*-
.SH NAME
-lvmetad \- LVM metadata cache daemon
+lvmetad \(em LVM metadata cache daemon
.SH SYNOPSIS
.B lvmetad
.RB [ \-l
@@ -22,7 +22,7 @@ consistent image of the volume groups available in the system.
lvmetad is used by LVM only if it is enabled in \fBlvm.conf\fP(5) by specifying the
\fBglobal/use_lvmetad\fP setting. If this is not defined in the LVM configuration
explicitly then default setting is used instead (see the output of
-\fBlvm dumpconfig --type default global/use_lvmetad\fP command).
+\fBlvm dumpconfig \-\-type default global/use_lvmetad\fP command).
.SH OPTIONS
To run the daemon in a test environment both the pidfile_path and the
@@ -37,11 +37,11 @@ Show help information.
.IR \fB\-l " {" all | wire | debug }
Select the type of log messages to generate.
Messages are logged by syslog.
-Additionally, when -f is given they are also sent to standard error.
+Additionally, when \-f is given they are also sent to standard error.
Since release 2.02.98, there are two classes of messages: wire and debug.
Selecting 'all' supplies both and is equivalent to a comma-separated list
--l wire,debug.
-Prior to release 2.02.98, repeating -d from 1 to 3 times, viz. -d, -dd, -ddd,
+\-l wire,debug.
+Prior to release 2.02.98, repeating \-d from 1 to 3 times, viz. \-d, \-dd, \-ddd,
increased the detail of messages.
.TP
.B \-p \fIpidfile_path
diff --git a/man/lvmsadc.8.in b/man/lvmsadc.8.in
index e0af210..e156de2 100644
--- a/man/lvmsadc.8.in
+++ b/man/lvmsadc.8.in
@@ -1,7 +1,7 @@
.TH "LVMSADC" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
.SH "NAME"
-lvmsadc \- LVM system activity data collector
+lvmsadc \(em LVM system activity data collector
.SH "SYNOPSIS"
.B lvmsadc
diff --git a/man/lvmsar.8.in b/man/lvmsar.8.in
index 29de791..a9a6132 100644
--- a/man/lvmsar.8.in
+++ b/man/lvmsar.8.in
@@ -1,7 +1,7 @@
.TH "LVMSAR" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
.SH "NAME"
-lvmsar \- LVM system activity reporter
+lvmsar \(em LVM system activity reporter
.SH "SYNOPSIS"
.B lvmsar
diff --git a/man/lvmthin.7.in b/man/lvmthin.7.in
index 030745b..a2da3ca 100644
--- a/man/lvmthin.7.in
+++ b/man/lvmthin.7.in
@@ -1,7 +1,7 @@
.TH "LVMTHIN" "7" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
.SH NAME
-lvmthin - LVM thin provisioning
+lvmthin \(em LVM thin provisioning
.SH DESCRIPTION
@@ -101,20 +101,20 @@ The primary method for using lvm thin provisioning:
Create an LV that will hold thin pool data.
Command
- lvcreate -n ThinDataLV -L LargeSize VG
+ lvcreate \-n ThinDataLV \-L LargeSize VG
Example
- # lvcreate -n pool0 -L 10G vg
+ # lvcreate \-n pool0 \-L 10G vg
2. create ThinMetaLV
Create an LV that will hold thin pool metadata.
Command
- lvcreate -n ThinMetaLV -L SmallSize VG
+ lvcreate \-n ThinMetaLV \-L SmallSize VG
Example
- # lvcreate -n pool0meta -L 1G vg
+ # lvcreate \-n pool0meta \-L 1G vg
# lvs
pool0 vg -wi-a----- 10.00g
@@ -128,10 +128,10 @@ The primary method for using lvm thin provisioning:
The new ThinPoolLV takes the previous name of ThinDataLV.
Command
- lvconvert --thinpool VG/ThinDataLV --poolmetadata VG/ThinMetaLV
+ lvconvert \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
Example
- # lvconvert --thinpool vg/pool0 --poolmetadata vg/pool0meta
+ # lvconvert \-\-thinpool vg/pool0 \-\-poolmetadata vg/pool0meta
# lvs vg/pool0
LV VG Attr LSize Pool Origin Data%
@@ -152,14 +152,14 @@ The primary method for using lvm thin provisioning:
contain the ThinLV.
Command
- lvcreate --type thin -n ThinLV -V VirtualSize --thinpool VG/ThinPoolLV
+ lvcreate \-\-type thin \-n ThinLV \-V VirtualSize \-\-thinpool VG/ThinPoolLV
Example
Create a thin LV in a thin pool:
- # lvcreate --type thin -n thin1 -V 1T --thinpool vg/pool0
+ # lvcreate \-\-type thin \-n thin1 \-V 1T \-\-thinpool vg/pool0
Create another thin LV in the same thin pool:
- # lvcreate --type thin -n thin2 -V 1T --thinpool vg/pool0
+ # lvcreate \-\-type thin \-n thin2 \-V 1T \-\-thinpool vg/pool0
# lvs vg/thin1 vg/thin2
LV VG Attr LSize Pool Origin Data%
@@ -171,18 +171,18 @@ The primary method for using lvm thin provisioning:
Create snapshots of an existing ThinLV or SnapLV.
Command
- lvcreate --type thin -n SnapLV -s ThinLV --thinpool VG/ThinPoolLV
- lvcreate --type thin -n SnapLV -s PrevSnapLV --thinpool VG/ThinPoolLV
+ lvcreate \-\-type thin \-n SnapLV \-s ThinLV \-\-thinpool VG/ThinPoolLV
+ lvcreate \-\-type thin \-n SnapLV \-s PrevSnapLV \-\-thinpool VG/ThinPoolLV
Example
Create first snapshot of an existing ThinLV:
- # lvcreate --type thin -n thin1s1 -s thin1 --thinpool vg/pool0
+ # lvcreate \-\-type thin \-n thin1s1 \-s thin1 \-\-thinpool vg/pool0
Create second snapshot of the same ThinLV:
- # lvcreate --type thin -n thin1s2 -s thin1 --thinpool vg/pool0
+ # lvcreate \-\-type thin \-n thin1s2 \-s thin1 \-\-thinpool vg/pool0
Create a snapshot of the first snapshot:
- # lvcreate --type thin -n thin1s1s1 -s thin1s1 --thinpool vg/pool0
+ # lvcreate \-\-type thin \-n thin1s1s1 \-s thin1s1 \-\-thinpool vg/pool0
# lvs vg/thin1s1 vg/thin1s2 vg/thin1s1s1
LV VG Attr LSize Pool Origin
@@ -193,19 +193,19 @@ The primary method for using lvm thin provisioning:
6. activate SnapLV
Thin snapshots are created with the persistent "activation skip"
- flag, indicated by the "k" attribute. Use -K with lvchange
+ flag, indicated by the "k" attribute. Use \-K with lvchange
or vgchange to activate thin snapshots with the "k" attribute.
-
+
Command
- lvchange -ay -K VG/SnapLV
-
+ lvchange \-ay \-K VG/SnapLV
+
Example
- # lvchange -ay -K vg/thin1s1
-
+ # lvchange \-ay \-K vg/thin1s1
+
# lvs vg/thin1s1
thin1s1 vg Vwi-a-tz-k 1.00t pool0 thin1
.fi
-
+
.SH Thin Topics
@@ -268,14 +268,14 @@ at the end of the lvcreate line. It can be especially helpful
to use fast devices for the metadata LV.
.nf
-lvcreate -n ThinDataLV -L LargeSize VG LargePV
-lvcreate -n ThinMetaLV -L SmallSize VG SmallPV
-lvconvert --thinpool VG/ThinDataLV --poolmetadata VG/ThinMetaLV
+lvcreate \-n ThinDataLV \-L LargeSize VG LargePV
+lvcreate \-n ThinMetaLV \-L SmallSize VG SmallPV
+lvconvert \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
Example
-# lvcreate -n pool0 -L 10G vg /dev/sdA
-# lvcreate -n pool0meta -L 1G vg /dev/sdB
-# lvconvert --thinpool vg/pool0 --poolmetadata vg/pool0meta
+# lvcreate \-n pool0 \-L 10G vg /dev/sdA
+# lvcreate \-n pool0meta \-L 1G vg /dev/sdB
+# lvconvert \-\-thinpool vg/pool0 \-\-poolmetadata vg/pool0meta
.fi
.BR lvm.conf (5)
@@ -292,14 +292,14 @@ To tolerate device failures, use raid for the pool data LV and
pool metadata LV. This is especially recommended for pool metadata LVs.
.nf
-lvcreate --type raid1 -m 1 -n ThinMetaLV -L SmallSize VG PVA PVB
-lvcreate --type raid1 -m 1 -n ThinDataLV -L LargeSize VG PVC PVD
-lvconvert --thinpool VG/ThinDataLV --poolmetadata VG/ThinMetaLV
+lvcreate \-\-type raid1 \-m 1 \-n ThinMetaLV \-L SmallSize VG PVA PVB
+lvcreate \-\-type raid1 \-m 1 \-n ThinDataLV \-L LargeSize VG PVC PVD
+lvconvert \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
Example
-# lvcreate --type raid1 -m 1 -n pool0 -L 10G vg /dev/sdA /dev/sdB
-# lvcreate --type raid1 -m 1 -n pool0meta -L 1G vg /dev/sdC /dev/sdD
-# lvconvert --thinpool vg/pool0 --poolmetadata vg/pool0meta
+# lvcreate \-\-type raid1 \-m 1 \-n pool0 \-L 10G vg /dev/sdA /dev/sdB
+# lvcreate \-\-type raid1 \-m 1 \-n pool0meta \-L 1G vg /dev/sdC /dev/sdD
+# lvconvert \-\-thinpool vg/pool0 \-\-poolmetadata vg/pool0meta
.fi
@@ -309,7 +309,7 @@ Example
The first time a thin pool LV is created, lvm will create a spare
metadata LV in the VG. This behavior can be controlled with the
-option --poolmetadataspare y|n. (Future thin pool creations will
+option \-\-poolmetadataspare y|n. (Future thin pool creations will
also attempt to create the pmspare LV if none exists.)
To create the pmspare ("pool metadata spare") LV, lvm first creates
@@ -323,11 +323,11 @@ explicitly.
.nf
Example
-# lvcreate -n pool0 -L 10G vg
-# lvcreate -n pool0meta -L 10G vg
-# lvconvert --thinpool vg/pool0 --poolmetadata vg/pool0meta
+# lvcreate \-n pool0 \-L 10G vg
+# lvcreate \-n pool0meta \-L 10G vg
+# lvconvert \-\-thinpool vg/pool0 \-\-poolmetadata vg/pool0meta
-# lvs -a
+# lvs \-a
[lvol0_pmspare] vg ewi------- 10.00g
pool0 vg twi---tz-- 10.00g
[pool0_tdata] vg Twi------- 10.00g
@@ -366,7 +366,7 @@ be repaired.
Command to repair a thin pool:
.nf
-lvconvert --repair VG/ThinPoolLV
+lvconvert \-\-repair VG/ThinPoolLV
.fi
Repair performs the following steps:
@@ -396,7 +396,7 @@ the pool metadata LV can be manually swapped with another LV
containing new metadata:
.nf
-lvconvert --thinpool VG/ThinPoolLV --poolmetadata VG/NewThinMetaLV
+lvconvert \-\-thinpool VG/ThinPoolLV \-\-poolmetadata VG/NewThinMetaLV
.fi
@@ -409,14 +409,14 @@ specifying a thin pool metadata LV. LVM will automatically
create a metadata LV from the same VG.
.nf
-lvcreate -n ThinDataLV -L LargeSize VG
-lvconvert --thinpool VG/ThinDataLV
+lvcreate \-n ThinDataLV \-L LargeSize VG
+lvconvert \-\-thinpool VG/ThinDataLV
Example
-# lvcreate -n pool0 -L 10G vg
-# lvconvert --thinpool vg/pool0
+# lvcreate \-n pool0 \-L 10G vg
+# lvconvert \-\-thinpool vg/pool0
-# lvs -a
+# lvs \-a
pool0 vg twi-a-tz-- 10.00g
[pool0_tdata] vg Twi-ao---- 10.00g
[pool0_tmeta] vg ewi-ao---- 16.00m
@@ -442,31 +442,31 @@ by normal activation commands. The skipping behavior does not
apply to deactivation commands.
A snapshot LV with the "k" attribute can be activated using
-the -K (or --ignoreactivationskip) option in addition to the
-standard -ay (or --activate y) option.
+the \-K (or \-\-ignoreactivationskip) option in addition to the
+standard \-ay (or \-\-activate y) option.
Command to activate a thin snapshot LV:
.nf
-lvchange -ay -K VG/SnapLV
+lvchange \-ay \-K VG/SnapLV
.fi
The persistent "activation skip" flag can be turned off during
-lvcreate, or later with lvchange using the -kn
-(or --setactivationskip n) option.
-It can be turned on again with -ky (or --setactivationskip y).
+lvcreate, or later with lvchange using the \-kn
+(or \-\-setactivationskip n) option.
+It can be turned on again with \-ky (or \-\-setactivationskip y).
When the "activation skip" flag is removed, normal activation
-commands will activate the LV, and the -K activation option is
+commands will activate the LV, and the \-K activation option is
not needed.
Command to create snapshot LV without the activation skip flag:
.nf
-lvcreate --type thin -n SnapLV -kn -s ThinLV --thinpool VG/ThinPoolLV
+lvcreate \-\-type thin \-n SnapLV \-kn \-s ThinLV \-\-thinpool VG/ThinPoolLV
.fi
Command to remove the activation skip flag from a snapshot LV:
.nf
-lvchange -kn VG/SnapLV
+lvchange \-kn VG/SnapLV
.fi
.BR lvm.conf (5)
@@ -498,26 +498,26 @@ vgcfgbackup does not back up thin pool metadata.
The available free space in a thin pool LV can be displayed
with the lvs command. Free space can be added by extending
-the thin pool LV.
+the thin pool LV.
.nf
Command to extend thin pool data space:
-lvextend -L Size VG/ThinPoolLV
+lvextend \-L Size VG/ThinPoolLV
Example
1. A thin pool LV is using 26.96% of its data blocks.
# lvs
-LV VG Attr LSize Pool Origin Data%
-pool0 vg twi-a-tz-- 10.00g 26.96
+LV VG Attr LSize Pool Origin Data%
+pool0 vg twi-a-tz-- 10.00g 26.96
2. Double the amount of physical space in the thin pool LV.
-# lvextend -L+10G vg/pool0
+# lvextend \-L+10G vg/pool0
3. The percentage of used data blocks is half the previous value.
# lvs
-LV VG Attr LSize Pool Origin Data%
-pool0 vg twi-a-tz-- 20.00g 13.48
+LV VG Attr LSize Pool Origin Data%
+pool0 vg twi-a-tz-- 20.00g 13.48
.fi
Other methods of increasing free data space in a thin pool LV
@@ -530,25 +530,25 @@ fstrim on the file system using a thin LV.
\&
The available metadata space in a thin pool LV can be displayed
-with the lvs -o+metadata_percent command.
+with the lvs \-o+metadata_percent command.
Command to extend thin pool metadata space:
.nf
-lvextend -L Size VG/ThinPoolLV_tmeta
+lvextend \-L Size VG/ThinPoolLV_tmeta
.fi
Example
-1. A thin pool LV is using 12.40% of its metadata blocks.
+1. A thin pool LV is using 12.40% of its metadata blocks.
.nf
-# lvs -oname,size,data_percent,metadata_percent vg/pool0
-LV LSize Data% Meta%
+# lvs \-oname,size,data_percent,metadata_percent vg/pool0
+LV LSize Data% Meta%
pool0 20.00g 13.48 12.40
.fi
2. Display a thin pool LV with its component thin data LV and thin metadata LV.
.nf
-# lvs -a -oname,attr,size vg
+# lvs \-a \-oname,attr,size vg
LV Attr LSize
pool0 twi-a-tz-- 20.00g
[pool0_tdata] Twi-ao---- 20.00g
@@ -557,12 +557,12 @@ pool0 twi-a-tz-- 20.00g
3. Double the amount of physical space in the thin metadata LV.
.nf
-# lvextend -L+12M vg/pool0_tmeta
+# lvextend \-L+12M vg/pool0_tmeta
.fi
4. The percentage of used metadata blocks is half the previous value.
.nf
-# lvs -a -oname,size,data_percent,metadata_percent vg
+# lvs \-a \-oname,size,data_percent,metadata_percent vg
LV LSize Data% Meta%
pool0 20.00g 13.48 6.20
[pool0_tdata] 20.00g
@@ -581,7 +581,7 @@ been used by removed files. fstrim uses discards and will not work
if the thin pool LV has discards mode set to ignore.
Example
-
+
A thin pool has 10G of physical data space, and a thin LV has a virtual
size of 100G. Writing a 1G file to the file system reduces the
free space in the thin pool by 10% and increases the virtual usage
@@ -590,38 +590,38 @@ of the file system by 1%. Removing the 1G file restores the virtual
thin pool. The fstrim command restores the physical space to the thin pool.
.nf
-# lvs -a -oname,attr,size,pool_lv,origin,data_percent,metadata_percent vg
+# lvs \-a \-oname,attr,size,pool_lv,origin,data_percent,metadata_percent vg
LV Attr LSize Pool Origin Data% Meta%
pool0 twi-a-tz-- 10.00g 47.01 21.03
-thin1 Vwi-aotz-- 100.00g pool0 2.70
+thin1 Vwi-aotz-- 100.00g pool0 2.70
-# df -h /mnt/X
+# df \-h /mnt/X
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg-thin1 99G 1.1G 93G 2% /mnt/X
# dd if=/dev/zero of=/mnt/X/1Gfile bs=4096 count=262144; sync
# lvs
-pool0 vg twi-a-tz-- 10.00g 57.01 25.26
-thin1 vg Vwi-aotz-- 100.00g pool0 3.70
+pool0 vg twi-a-tz-- 10.00g 57.01 25.26
+thin1 vg Vwi-aotz-- 100.00g pool0 3.70
-# df -h /mnt/X
+# df \-h /mnt/X
/dev/mapper/vg-thin1 99G 2.1G 92G 3% /mnt/X
# rm /mnt/X/1Gfile
# lvs
-pool0 vg twi-a-tz-- 10.00g 57.01 25.26
-thin1 vg Vwi-aotz-- 100.00g pool0 3.70
+pool0 vg twi-a-tz-- 10.00g 57.01 25.26
+thin1 vg Vwi-aotz-- 100.00g pool0 3.70
-# df -h /mnt/X
+# df \-h /mnt/X
/dev/mapper/vg-thin1 99G 1.1G 93G 2% /mnt/X
-# fstrim -v /mnt/X
+# fstrim \-v /mnt/X
# lvs
-pool0 vg twi-a-tz-- 10.00g 47.01 21.03
-thin1 vg Vwi-aotz-- 100.00g pool0 2.70
+pool0 vg twi-a-tz-- 10.00g 47.01 21.03
+thin1 vg Vwi-aotz-- 100.00g pool0 2.70
.fi
The "Discard" section covers an option for automatically freeing data
@@ -641,9 +641,9 @@ Command to enable or disable the monitoring and automatic extension
of an existing thin pool LV:
.nf
-lvchange --monitor {y|n} VG/ThinPoolLV
+lvchange \-\-monitor {y|n} VG/ThinPoolLV
.fi
-
+
.BR lvm.conf (5)
.B thin_pool_autoextend_threshold thin_pool_autoextend_percent
.br
@@ -716,7 +716,7 @@ When metadata space is exhausted, the lvs command displays 100 under Meta%
for the thin pool LV:
.nf
-# lvs -o lv_name,size,data_percent,metadata_percent vg/pool0
+# lvs \-o lv_name,size,data_percent,metadata_percent vg/pool0
LV LSize Data% Meta%
pool0 100.00
.fi
@@ -730,7 +730,7 @@ repair.
1. Deactivate the thin pool LV, or reboot the system if this is not possible.
-2. Repair thin pool with lvconvert --repair.
+2. Repair thin pool with lvconvert \-\-repair.
.br
See "Metadata check and repair".
@@ -747,17 +747,17 @@ repair.
When a thin pool provisions a new data block for a thin LV, the
new block is first overwritten with zeros. The zeroing mode is
-indicated by the "z" attribute displayed by lvs. The option -Z
-(or --zero) can be added to commands to specify the zeroing mode.
+indicated by the "z" attribute displayed by lvs. The option \-Z
+(or \-\-zero) can be added to commands to specify the zeroing mode.
Command to set the zeroing mode when creating a thin pool LV:
.nf
-lvconvert -Z{y|n} --thinpool VG/ThinDataLV --poolmetadata VG/ThinMetaLV
+lvconvert \-Z{y|n} \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
.fi
Command to change the zeroing mode of an existing thin pool LV:
.nf
-lvchange -Z{y|n} VG/ThinPoolLV
+lvchange \-Z{y|n} VG/ThinPoolLV
.fi
If zeroing mode is changed from "n" to "y", previously provisioned
@@ -791,26 +791,26 @@ mode.
Command to display the current discard mode of a thin pool LV:
.nf
-lvs -o+discards VG/ThinPoolLV
+lvs \-o+discards VG/ThinPoolLV
.fi
-
+
Command to set the discard mode when creating a thin pool LV:
.nf
-lvconvert --discards {ignore|nopassdown|passdown}
- --thinpool VG/ThinDataLV --poolmetadata VG/ThinMetaLV
+lvconvert \-\-discards {ignore|nopassdown|passdown}
+ \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
.fi
Command to change the discard mode of an existing thin pool LV:
.nf
-lvchange --discards {ignore|nopassdown|passdown} VG/ThinPoolLV
+lvchange \-\-discards {ignore|nopassdown|passdown} VG/ThinPoolLV
.fi
-
+
.nf
Example
-# lvs -o name,discards vg/pool0
+# lvs \-o name,discards vg/pool0
pool0 passdown
-# lvchange --discards ignore vg/pool0
+# lvchange \-\-discards ignore vg/pool0
.fi
.BR lvm.conf (5)
@@ -824,7 +824,7 @@ controls the default discards mode used when creating a thin pool.
\&
The size of data blocks managed by a thin pool can be specified with
-the --chunksize option when the thin pool LV is created. The default
+the \-\-chunksize option when the thin pool LV is created. The default
unit is kilobytes and the default value is 64KiB. The value must be a
power of two between 4KiB and 1GiB.
@@ -834,10 +834,10 @@ a smaller value reduces copying time and consumes less space.
Command to display the thin pool LV chunk size:
.nf
-lvs -o+chunksize VG/ThinPoolLV
-
+lvs \-o+chunksize VG/ThinPoolLV
+
Example
-# lvs -o name,chunksize
+# lvs \-o name,chunksize
pool0 64.00k
.fi
@@ -863,7 +863,7 @@ ThinPoolLVSize / ThinPoolLVChunkSize * 64b.
When creating a thin metadata LV explicitly, the size is specified
in the lvcreate command. When a command automatically creates a
-thin metadata LV, the --poolmetadatasize option can be used specify
+thin metadata LV, the \-\-poolmetadatasize option can be used specify
a non-default size. The default unit is megabytes.
@@ -878,13 +878,13 @@ snapshot are stored in the thin pool, and the external LV is used
to read unwritten parts of the thin snapshot.
.nf
-lvcreate --type thin -n SnapLV -s VG/ExternalOriginLV
- --thinpool VG/ThinPoolLV
-
+lvcreate \-\-type thin \-n SnapLV \-s VG/ExternalOriginLV
+ \-\-thinpool VG/ThinPoolLV
+
Example
-# lvchange -an vg/lve
-# lvchange --permission r vg/lve
-# lvcreate --type thin -n snaplve -s vg/lve --thinpool vg/pool0
+# lvchange \-an vg/lve
+# lvchange \-\-permission r vg/lve
+# lvcreate \-\-type thin \-n snaplve \-s vg/lve \-\-thinpool vg/pool0
# lvs vg/lve vg/snaplve
LV VG Attr LSize Pool Origin Data%
@@ -902,7 +902,7 @@ standard LV. At the same time, the existing LV is converted to a
read only external LV with a new name. Unwritten portions of the
thin LV are read from the external LV.
The new name given to the existing LV can be specified with
---originname, otherwise the existing LV will be given a default
+\-\-originname, otherwise the existing LV will be given a default
name, e.g. lvol#.
Convert ExampleLV into a read only external LV with the new name
@@ -910,17 +910,17 @@ NewExternalOriginLV, and create a new thin LV that is given the previous
name of ExampleLV.
.nf
-lvconvert --type thin --thinpool VG/ThinPoolLV
- --originname NewExternalOriginLV --thin VG/ExampleLV
+lvconvert \-\-type thin \-\-thinpool VG/ThinPoolLV
+ \-\-originname NewExternalOriginLV \-\-thin VG/ExampleLV
Example
-# lvcreate -n lv_example -L 10G vg
+# lvcreate \-n lv_example \-L 10G vg
# lvs
lv_example vg -wi-a----- 10.00g
-# lvconvert --type thin --thinpool vg/pool0
- --originname lv_external --thin vg/lv_example
+# lvconvert \-\-type thin \-\-thinpool vg/pool0
+ \-\-originname lv_external \-\-thin vg/lv_example
# lvs
LV VG Attr LSize Pool Origin
@@ -939,16 +939,16 @@ This one command creates a thin data LV, a thin metadata LV,
and combines the two into a thin pool LV.
.nf
-lvcreate -L LargeSize --thinpool VG/ThinPoolLV
+lvcreate \-L LargeSize \-\-thinpool VG/ThinPoolLV
Example
-# lvcreate -L8M --thinpool vg/pool0
+# lvcreate \-L8M \-\-thinpool vg/pool0
# lvs vg/pool0
LV VG Attr LSize Pool Origin Data%
pool0 vg twi-a-tz-- 8.00m 0.00
-# lvs -a
+# lvs \-a
pool0 vg twi-a-tz-- 8.00m
[pool0_tdata] vg Twi-ao---- 8.00m
[pool0_tmeta] vg ewi-ao---- 8.00m
@@ -964,21 +964,21 @@ lvcreate command. This one command creates a thin data LV,
a thin metadata LV, combines the two into a thin pool LV,
and creates a thin LV in the new pool.
.br
--L LargeSize specifies the physical size of the thin pool LV.
+\-L LargeSize specifies the physical size of the thin pool LV.
.br
--V VirtualSize specifies the virtual size of the thin LV.
+\-V VirtualSize specifies the virtual size of the thin LV.
.nf
-lvcreate -L LargeSize -V VirtualSize -n ThinLV --thinpool VG/ThinPoolLV
+lvcreate \-L LargeSize \-V VirtualSize \-n ThinLV \-\-thinpool VG/ThinPoolLV
Equivalent to:
-lvcreate -L LargeSize --thinpool VG/ThinPoolLV
-lvcreate --type thin -n ThinLV -V VirtualSize --thinpool VG/ThinPoolLV
+lvcreate \-L LargeSize \-\-thinpool VG/ThinPoolLV
+lvcreate \-\-type thin \-n ThinLV \-V VirtualSize \-\-thinpool VG/ThinPoolLV
Example
-# lvcreate -L8M -V2G -n thin1 --thinpool vg/pool0
+# lvcreate \-L8M \-V2G \-n thin1 \-\-thinpool vg/pool0
-# lvs -a
+# lvs \-a
pool0 vg twi-a-tz-- 8.00m
[pool0_tdata] vg Twi-ao---- 8.00m
[pool0_tmeta] vg ewi-ao---- 8.00m
@@ -991,7 +991,7 @@ thin1 vg Vwi-a-tz-- 2.00g pool0
\&
A thin snapshot can be merged into its origin thin LV using the lvconvert
---merge command. The result of a snapshot merge is that the origin thin
+\-\-merge command. The result of a snapshot merge is that the origin thin
LV takes the content of the snapshot LV, and the snapshot LV is removed.
Any content that was unique to the origin thin LV is lost after the merge.
@@ -1001,7 +1001,7 @@ the effect of the merge is delayed until the origin thin LV is next
activated.
.nf
-lvconvert --merge VG/SnapLV
+lvconvert \-\-merge VG/SnapLV
Example
# lvs vg
@@ -1010,7 +1010,7 @@ pool0 vg twi-a-tz-- 10.00g
thin1 vg Vwi-a-tz-- 100.00g pool0
thin1s1 vg Vwi-a-tz-k 100.00g pool0 thin1
-# lvconvert --merge vg/thin1s1
+# lvconvert \-\-merge vg/thin1s1
# lvs vg
LV VG Attr LSize Pool Origin
@@ -1038,7 +1038,7 @@ file1 file2 file3
# ls /mnt/Xs
file3 file4 file5
-# lvconvert --merge vg/thin1s1
+# lvconvert \-\-merge vg/thin1s1
Logical volume vg/thin1s1 contains a filesystem in use.
Delaying merge since snapshot is open.
Merging of thin snapshot thin1s1 will occur on next activation.
@@ -1046,7 +1046,7 @@ Merging of thin snapshot thin1s1 will occur on next activation.
# umount /mnt/X
# umount /mnt/Xs
-# lvs -a vg
+# lvs \-a vg
LV VG Attr LSize Pool Origin
pool0 vg twi-a-tz-- 10.00g
[pool0_tdata] vg Twi-ao---- 10.00g
@@ -1054,13 +1054,13 @@ pool0 vg twi-a-tz-- 10.00g
thin1 vg Owi-a-tz-- 100.00g pool0
[thin1s1] vg Swi-a-tz-k 100.00g pool0 thin1
-# lvchange -an vg/thin1
-# lvchange -ay vg/thin1
+# lvchange \-an vg/thin1
+# lvchange \-ay vg/thin1
# mount /dev/vg/thin1 /mnt/X
# ls /mnt/X
-file3 file4 file5
+file3 file4 file5
.fi
@@ -1076,18 +1076,18 @@ file system on the origin LV.
If the snapshot LV is writable, mounting will recover the log to clear the
dummy transaction, but will require skipping the uuid check:
-mount /dev/VG/SnapLV /mnt -o nouuid
+mount /dev/VG/SnapLV /mnt \-o nouuid
Or, the uuid can be changed on disk before mounting:
-xfs_admin -U generate /dev/VG/SnapLV
+xfs_admin \-U generate /dev/VG/SnapLV
.br
mount /dev/VG/SnapLV /mnt
If the snapshot LV is readonly, the log recovery and uuid check need to be
skipped while mounting readonly:
-mount /dev/VG/SnapLV /mnt -o ro,nouuid,norecovery
+mount /dev/VG/SnapLV /mnt \-o ro,nouuid,norecovery
.SH SEE ALSO
diff --git a/man/lvreduce.8.in b/man/lvreduce.8.in
index 852ef0b..120afb7 100644
--- a/man/lvreduce.8.in
+++ b/man/lvreduce.8.in
@@ -1,6 +1,6 @@
.TH LVREDUCE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-lvreduce \- reduce the size of a logical volume
+lvreduce \(em reduce the size of a logical volume
.SH SYNOPSIS
.B lvreduce
.RB [ \-A | \-\-autobackup
diff --git a/man/lvremove.8.in b/man/lvremove.8.in
index 245b6e6..b0bb477 100644
--- a/man/lvremove.8.in
+++ b/man/lvremove.8.in
@@ -1,6 +1,6 @@
.TH LVREMOVE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-lvremove \- remove a logical volume
+lvremove \(em remove a logical volume
.SH SYNOPSIS
.B lvremove
.RB [ \-A | \-\-autobackup
diff --git a/man/lvrename.8.in b/man/lvrename.8.in
index b299fa2..bba46ae 100644
--- a/man/lvrename.8.in
+++ b/man/lvrename.8.in
@@ -1,6 +1,6 @@
.TH LVRENAME 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-lvrename \- rename a logical volume
+lvrename \(em rename a logical volume
.SH SYNOPSIS
.B lvrename
.RB [ \-A | \-\-autobackup
diff --git a/man/lvresize.8.in b/man/lvresize.8.in
index 52f9e38..ed95a0d 100644
--- a/man/lvresize.8.in
+++ b/man/lvresize.8.in
@@ -1,6 +1,6 @@
.TH LVRESIZE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-lvresize \- resize a logical volume
+lvresize \(em resize a logical volume
.SH SYNOPSIS
.B lvresize
.RB [ \-\-alloc " " \fIAllocationPolicy ]
@@ -19,7 +19,7 @@ lvresize \- resize a logical volume
.RB [ \-n | \-\-nofsck ]
.RB [ \-r | \-\-resizefs ]
.IR LogicalVolume { Name | Path }
-.RI [ PhysicalVolumePath [ :PE [ -PE ]]...]
+.RI [ PhysicalVolumePath [ :PE [ \-PE ]]...]
.SH DESCRIPTION
lvresize allows you to resize a logical volume.
Be careful when reducing a logical volume's size, because data in the reduced
@@ -30,7 +30,7 @@ Resizing snapshot logical volumes (see
.BR lvcreate (8)
for information about creating snapshots) is supported as well.
But to change the number of copies in a mirrored logical
-volume use
+volume use
.BR lvconvert (8).
.SH OPTIONS
See \fBlvm\fP(8) for common options.
@@ -40,16 +40,16 @@ Force resize without prompting even when it may cause data loss.
.TP
.BR \-n ", " \-\-nofsck
Do not perform fsck before resizing filesystem when filesystem
-requires it. You may need to use \fB--force\fR to proceed with
+requires it. You may need to use \fB\-\-force\fR to proceed with
this option.
.TP
.BR \-r ", " \-\-resizefs
-Resize underlying filesystem together with the logical volume using
+Resize underlying filesystem together with the logical volume using
\fBfsadm\fR(8).
.TP
-.IR \fB\-l ", " \fB\-\-extents " [" + | - ] LogicalExtentsNumber [ % { VG | LV | PVS | FREE | ORIGIN }]
+.IR \fB\-l ", " \fB\-\-extents " [" + | \- ] LogicalExtentsNumber [ % { VG | LV | PVS | FREE | ORIGIN }]
Change or set the logical volume size in units of logical extents.
-With the \fI+\fP or \fI-\fP sign the value is added to or subtracted from the actual size
+With the \fI+\fP or \fI\-\fP sign the value is added to or subtracted from the actual size
of the logical volume and without it, the value is taken as an absolute one.
The total number of physical extents affected will be
greater than this if, for example, the volume is mirrored.
@@ -68,12 +68,12 @@ to be allocated or freed (including extents used by any mirrors, for example).
The code may currently allocate or remove more space than you might otherwise
expect.
.TP
-.IR \fB\-L ", " \fB\-\-size " [" + | - ] LogicalVolumeSize [ bBsSkKmMgGtTpPeE ]
+.IR \fB\-L ", " \fB\-\-size " [" + | \- ] LogicalVolumeSize [ bBsSkKmMgGtTpPeE ]
Change or set the logical volume size in units of megabytes.
A size suffix of \fIM\fP for megabytes,
\fIG\fP for gigabytes, \fIT\fP for terabytes, \fIP\fP for petabytes
or \fIE\fP for exabytes is optional.
-With the \fI+\fP or \fI-\fP sign the value is added or subtracted
+With the \fI+\fP or \fI\-\fP sign the value is added or subtracted
from the actual size of the logical volume and rounded
to the full extent size and without it,
the value is taken as an absolute one.
@@ -110,13 +110,13 @@ or has rules that ignore the devices LVM2 creates.
.SH EXAMPLES
.br
Extend a logical volume vg1/lv1 by 16MB using physical extents
-/dev/sda:0-1 and /dev/sdb:0-1 for allocation of extents:
+/dev/sda:0\-1 and /dev/sdb:0\-1 for allocation of extents:
.sp
-.B lvresize -L+16M vg1/lv1 /dev/sda:0-1 /dev/sdb:0-1
+.B lvresize \-L+16M vg1/lv1 /dev/sda:0\-1 /dev/sdb:0\-1
.SH SEE ALSO
.BR fsadm (8),
-.BR lvm (8),
+.BR lvm (8),
.BR lvconvert (8),
-.BR lvcreate (8),
-.BR lvreduce (8),
+.BR lvcreate (8),
+.BR lvreduce (8),
.BR lvchange (8)
diff --git a/man/lvs.8.in b/man/lvs.8.in
index 43d79d8..2467306 100644
--- a/man/lvs.8.in
+++ b/man/lvs.8.in
@@ -1,6 +1,6 @@
.TH LVS 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-lvs \- report information about logical volumes
+lvs \(em report information about logical volumes
.SH SYNOPSIS
.B lvs
.RB [ \-\-aligned ]
@@ -48,7 +48,7 @@ are components of normally-accessible Logical Volumes, such as mirrors,
but which are not independently accessible (e.g. not mountable).
The names of such Logical Volumes are enclosed within square brackets
in the output. For example, after creating a mirror using
-.B lvcreate -m1 --mirrorlog disk
+.B lvcreate -m1 \-\-mirrorlog disk
, this option will reveal three internal Logical
Volumes, with suffixes mimage_0, mimage_1, and mlog.
.TP
diff --git a/man/lvscan.8.in b/man/lvscan.8.in
index 001f544..fad0fbe 100644
--- a/man/lvscan.8.in
+++ b/man/lvscan.8.in
@@ -1,6 +1,6 @@
.TH LVSCAN 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-lvscan \- scan (all disks) for Logical Volumes
+lvscan \(em scan (all disks) for Logical Volumes
.SH SYNOPSIS
.B lvscan
.RB [ \-a | \-\-all]
diff --git a/man/pvchange.8.in b/man/pvchange.8.in
index 6fe3e3d..606b1dd 100644
--- a/man/pvchange.8.in
+++ b/man/pvchange.8.in
@@ -1,6 +1,6 @@
.TH PVCHANGE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-pvchange \- change attributes of a physical volume
+pvchange \(em change attributes of a physical volume
.SH SYNOPSIS
.B pvchange
.RB [ \-\-addtag
@@ -49,7 +49,7 @@ Disallows the allocation of physical extents on this physical volume
(possibly because of disk errors, or because it will be removed after
freeing it:
.sp
-.B pvchange -x n /dev/sdk1
+.B pvchange \-x n /dev/sdk1
.SH SEE ALSO
.BR lvm (8),
.BR pvcreate (8)
diff --git a/man/pvck.8.in b/man/pvck.8.in
index 4308196..368dc06 100644
--- a/man/pvck.8.in
+++ b/man/pvck.8.in
@@ -1,6 +1,6 @@
.TH PVCK 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-pvck \- check physical volume metadata
+pvck \(em check physical volume metadata
.SH SYNOPSIS
.B pvck
.RB [ \-\-commandprofile
diff --git a/man/pvcreate.8.in b/man/pvcreate.8.in
index 76a0abb..9011585 100644
--- a/man/pvcreate.8.in
+++ b/man/pvcreate.8.in
@@ -1,6 +1,6 @@
.TH PVCREATE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-pvcreate \- initialize a disk or partition for use by LVM
+pvcreate \(em initialize a disk or partition for use by LVM
.SH SYNOPSIS
.B pvcreate
.RB [ \-\-commandprofile
@@ -117,7 +117,7 @@ You should also specify an appropriate \fIPhysicalExtentSize\fP when creating
the Volume Group with \fBvgcreate\fP.
.sp
To see the location of the first Physical Extent of an existing Physical Volume
-use \fBpvs -o +pe_start\fP . It will be a multiple of the requested
+use \fBpvs \-o +pe_start\fP . It will be a multiple of the requested
alignment. In addition it may be shifted by \fIalignment_offset\fP from
\fIdata_alignment_offset_detection\fP (if enabled in \fBlvm.conf\fP(5)) or
\fB\-\-dataalignmentoffset\fP.
@@ -149,7 +149,7 @@ area in case you need it in the future and to use this option to instruct
LVM2 to ignore it.
.TP
.B \-\-restorefile \fIfile
-In conjunction with \fB--uuid\fP, this extracts the location and size
+In conjunction with \fB\-\-uuid\fP, this extracts the location and size
of the data on the PV from the file (produced by \fBvgcfgbackup\fP)
and ensures that the metadata that the program produces is consistent
with the contents of the file i.e. the physical extents will be in
@@ -172,11 +172,11 @@ Create a separate bootloader area of specified size besides PV's data
area. The bootloader area is an area of reserved space on the PV from
which LVM2 will not allocate any extents and it's kept untouched. This is
primarily aimed for use with bootloaders to embed their own data or metadata.
-The start of the bootloader area is always aligned, see also \fB--dataalignment\fP
-and \fB--dataalignmentoffset\fP. The bootloader area size may eventually
+The start of the bootloader area is always aligned, see also \fB\-\-dataalignment\fP
+and \fB\-\-dataalignmentoffset\fP. The bootloader area size may eventually
end up increased due to the alignment, but it's never less than the
size that is requested. To see the bootloader area start and size of
-an existing Physical Volume use \fBpvs -o +pv_ba_start,pv_ba_size\fP.
+an existing Physical Volume use \fBpvs \-o +pv_ba_start,pv_ba_size\fP.
.TP
.B \-\-setphysicalvolumesize \fIsize
Overrides the automatically-detected size of the PV. Use with care.
diff --git a/man/pvmove.8.in b/man/pvmove.8.in
index 39e6cbf..0f58b05 100644
--- a/man/pvmove.8.in
+++ b/man/pvmove.8.in
@@ -1,6 +1,6 @@
.TH PVMOVE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-pvmove \- move physical extents
+pvmove \(em move physical extents
.SH SYNOPSIS
.B pvmove
.RB [ \-\-abort ]
@@ -17,8 +17,8 @@ pvmove \- move physical extents
.RB [ \-v | \-\-verbose ]
.RB [ \-n | \-\-name
.IR LogicalVolume ]
-.RI [ SourcePhysicalVolume [ :PE [ -PE ]...]
-.RI [ DestinationPhysicalVolume [ :PE [ -PE ]...]...]]
+.RI [ SourcePhysicalVolume [ :PE [ \-PE ]...]
+.RI [ DestinationPhysicalVolume [ :PE [ \-PE ]...]...]]
.SH DESCRIPTION
pvmove allows you to move the allocated physical extents (PEs) on
.I SourcePhysicalVolume
@@ -35,7 +35,7 @@ is specified, the normal allocation rules for the Volume Group are used.
If pvmove gets interrupted for any reason (e.g. the machine crashes)
then run pvmove again without any PhysicalVolume arguments to
restart any moves that were in progress from the last checkpoint.
-Alternatively use \fBpvmove --abort\fP at any time to abort them
+Alternatively use \fBpvmove \-\-abort\fP at any time to abort them
at the last checkpoint.
You can run more than one pvmove at once provided they are moving data
@@ -117,13 +117,13 @@ can be specified like this:
To perform the action only on extents belonging to the single Logical Volume
lvol1 do this:
.sp
-.B pvmove -n lvol1 /dev/sdb1 /dev/sdc1
+.B pvmove \-n lvol1 /dev/sdb1 /dev/sdc1
.P
Rather than moving the contents of the entire device, it is possible to
move a range of Physical Extents - for example numbers 1000 to 1999
inclusive on /dev/sdb1 - like this:
.sp
-.B pvmove /dev/sdb1:1000-1999
+.B pvmove /dev/sdb1:1000\-1999
.P
A range can also be specified as start+length, so
.sp
@@ -135,22 +135,22 @@ also refers to 1000 Physical Extents starting from Physical Extent number 1000.
To move a range of Physical Extents to a specific location (which must have
sufficient free extents) use the form:
.sp
-.B pvmove /dev/sdb1:1000-1999 /dev/sdc1
+.B pvmove /dev/sdb1:1000\-1999 /dev/sdc1
.sp
or
.sp
-.B pvmove /dev/sdb1:1000-1999 /dev/sdc1:0-999
+.B pvmove /dev/sdb1:1000\-1999 /dev/sdc1:0\-999
.P
If the source and destination are on the same disk, the
.B anywhere
allocation policy would be needed, like this:
.sp
-.B pvmove --alloc anywhere /dev/sdb1:1000-1999 /dev/sdb1:0-999
+.B pvmove \-\-alloc anywhere /dev/sdb1:1000\-1999 /dev/sdb1:0\-999
.P
The part of a specific Logical Volume present within in a range of Physical
Extents can also be picked out and moved, like this:
.sp
-.B pvmove -n lvol1 /dev/sdb1:1000-1999 /dev/sdc1
+.B pvmove \-n lvol1 /dev/sdb1:1000\-1999 /dev/sdc1
.SH SEE ALSO
.BR lvm (8),
.BR vgconvert (8)
diff --git a/man/pvremove.8.in b/man/pvremove.8.in
index abf1ca9..5f9b055 100644
--- a/man/pvremove.8.in
+++ b/man/pvremove.8.in
@@ -1,6 +1,6 @@
.TH PVREMOVE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-pvremove \- remove a physical volume
+pvremove \(em remove a physical volume
.SH SYNOPSIS
.B pvremove
.RB [ \-\-commandprofile
diff --git a/man/pvresize.8.in b/man/pvresize.8.in
index 14e459c..2cc1183 100644
--- a/man/pvresize.8.in
+++ b/man/pvresize.8.in
@@ -1,6 +1,6 @@
.TH PVRESIZE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-pvresize \- resize a disk or partition in use by LVM2
+pvresize \(em resize a disk or partition in use by LVM2
.SH SYNOPSIS
.B pvresize
.RB [ \-\-commandprofile
diff --git a/man/pvs.8.in b/man/pvs.8.in
index 9f9cde8..ed57980 100644
--- a/man/pvs.8.in
+++ b/man/pvs.8.in
@@ -1,6 +1,6 @@
.TH PVS 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-pvs \- report information about physical volumes
+pvs \(em report information about physical volumes
.SH SYNOPSIS
.B pvs
.RB [ \-a | \-\-all ]
diff --git a/man/pvscan.8.in b/man/pvscan.8.in
index 19ca3fc..c1187ac 100644
--- a/man/pvscan.8.in
+++ b/man/pvscan.8.in
@@ -1,6 +1,6 @@
.TH PVSCAN 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-pvscan \- scan all disks for physical volumes
+pvscan \(em scan all disks for physical volumes
.SH SYNOPSIS
.B pvscan
.RB [ \-\-commandprofile
diff --git a/man/vgcfgbackup.8.in b/man/vgcfgbackup.8.in
index 2bfebc6..17b3bcb 100644
--- a/man/vgcfgbackup.8.in
+++ b/man/vgcfgbackup.8.in
@@ -1,6 +1,6 @@
.TH VGCFGBACKUP 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgcfgbackup \- backup volume group descriptor area
+vgcfgbackup \(em backup volume group descriptor area
.SH SYNOPSIS
.B vgcfgbackup
.RB [ \-\-commandprofile
@@ -20,7 +20,7 @@ will be backed up.
.sp
In a default installation, each volume group gets backed up into a separate
file bearing the name of the volume group in the directory #DEFAULT_BACKUP_DIR#.
-You can write the backup to an alternative file using \fB-f\fP. In this case
+You can write the backup to an alternative file using \fB\-f\fP. In this case
if you are backing up more than one volume group the filename is
treated as a template, and %s gets replaced by the volume group name.
.sp
diff --git a/man/vgcfgrestore.8.in b/man/vgcfgrestore.8.in
index 752fc56..96b0a10 100644
--- a/man/vgcfgrestore.8.in
+++ b/man/vgcfgrestore.8.in
@@ -1,6 +1,6 @@
.TH VGCFGRESTORE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgcfgrestore \- restore volume group descriptor area
+vgcfgrestore \(em restore volume group descriptor area
.SH SYNOPSIS
.B vgcfgrestore
.RB [ \-\-commandprofile
diff --git a/man/vgchange.8.in b/man/vgchange.8.in
index d756811..284a655 100644
--- a/man/vgchange.8.in
+++ b/man/vgchange.8.in
@@ -1,6 +1,6 @@
.TH VGCHANGE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgchange \- change attributes of a volume group
+vgchange \(em change attributes of a volume group
.SH SYNOPSIS
.B vgchange
.RB [ \-\-addtag
@@ -34,7 +34,7 @@ vgchange \- change attributes of a volume group
.RB [ \-\-noudevsync ]
.RB [ \-l | \-\-logicalvolume
.IR MaxLogicalVolumes ]
-.RB [ -p | \-\-maxphysicalvolumes
+.RB [ \-p | \-\-maxphysicalvolumes
.IR MaxPhysicalVolumes ]
.RB [ \-\-metadataprofile
.IR ProfileName ]
@@ -44,7 +44,7 @@ vgchange \- change attributes of a volume group
.RB [ \-s | \-\-physicalextentsize
.IR PhysicalExtentSize [ bBsSkKmMgGtTpPeE ]]
.RB [ \-\-refresh ]
-.RB [ -t | \-\-test ]
+.RB [ \-t | \-\-test ]
.RB [ \-v | \-\-verbose ]
.RB [ \-\-version ]
.RB [ \-x | \-\-resizeable
@@ -168,8 +168,8 @@ For volume groups with metadata in lvm1 format, the limit is 255.
If the metadata uses lvm2 format, the value 0 removes this restriction:
there is then no limit. If you have a large number of physical volumes in
a volume group with metadata in lvm2 format, for tool performance reasons,
-you should consider some use of \fB--pvmetadatacopies 0\fP as described in
-\fBpvcreate(8)\fP, and/or use \fB--vgmetadatacopies\fP.
+you should consider some use of \fB\-\-pvmetadatacopies 0\fP as described in
+\fBpvcreate(8)\fP, and/or use \fB\-\-vgmetadatacopies\fP.
.TP
.BR \-\-metadataprofile " " \fIProfileName
Uses and attaches ProfileName configuration profile to the volume group
@@ -181,7 +181,7 @@ attached. See \fBlvm.conf\fP(5) for more information about \fBmetadata profiles\
.BR \-\- [ vg ] metadatacopies " " \fINumberOfCopies | \fIunmanaged | \fIall
Sets the desired number of metadata copies in the volume group. If set to
a non-zero value, LVM will automatically manage the 'metadataignore'
-flags on the physical volumes (see \fBpvchange\fP or \fBpvcreate --metadataignore\fP) in order
+flags on the physical volumes (see \fBpvchange\fP or \fBpvcreate \-\-metadataignore\fP) in order
to achieve \fINumberOfCopies\fP copies of metadata. If set to \fIunmanaged\fP,
LVM will not automatically manage the 'metadataignore' flags. If set to
\fIall\fP, LVM will first clear all of the 'metadataignore' flags on all
@@ -225,12 +225,12 @@ with/by physical volumes.
.SH Examples
To activate all known volume groups in the system:
.sp
-.B vgchange -a y
+.B vgchange \-a y
To change the maximum number of logical volumes of inactive volume group
vg00 to 128.
.sp
-.B vgchange -l 128 /dev/vg00
+.B vgchange \-l 128 /dev/vg00
.SH SEE ALSO
diff --git a/man/vgck.8.in b/man/vgck.8.in
index 56cbdb0..f09e709 100644
--- a/man/vgck.8.in
+++ b/man/vgck.8.in
@@ -1,6 +1,6 @@
.TH VGCK 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgck \- check volume group metadata
+vgck \(em check volume group metadata
.SH SYNOPSIS
.B vgck
.RB [ \-\-commandprofile
diff --git a/man/vgcreate.8.in b/man/vgcreate.8.in
index a2340d3..bcfbcfc 100644
--- a/man/vgcreate.8.in
+++ b/man/vgcreate.8.in
@@ -1,6 +1,6 @@
.TH VGCREATE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgcreate \- create a volume group
+vgcreate \(em create a volume group
.SH SYNOPSIS
.B vgcreate
.RB [ \-\-addtag
@@ -17,11 +17,11 @@ vgcreate \- create a volume group
.RB [ \-h | \-\-help ]
.RB [ \-l | \-\-maxlogicalvolumes
.IR MaxLogicalVolumes ]
-.RB [ -M | \-\-metadatatype
+.RB [ \-M | \-\-metadatatype
.IR type ]
.RB [ \-\-metadataprofile
.IR ProfileName ]
-.RB [ -p | \-\-maxphysicalvolumes
+.RB [ \-p | \-\-maxphysicalvolumes
.IR MaxPhysicalVolumes ]
.RB [ \-\- [ vg ] metadatacopies
.IR NumberOfCopies | unmanaged | all ]
diff --git a/man/vgdisplay.8.in b/man/vgdisplay.8.in
index bb2ead7..d1ea89a 100644
--- a/man/vgdisplay.8.in
+++ b/man/vgdisplay.8.in
@@ -1,6 +1,6 @@
.TH VGDISPLAY 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgdisplay \- display attributes of volume groups
+vgdisplay \(em display attributes of volume groups
.SH SYNOPSIS
.B vgdisplay
.RB [ \-A | \-\-activevolumegroups ]
@@ -37,7 +37,7 @@ vgdisplay \- display attributes of volume groups
.RB [ \-o|\-\-options
.RI [ + ] Field1 [ ,Field2 ...]]
.RB [ \-O | \-\-sort
-.RI [ + | - ] Key1 [ , [ + | - ] Key2 ...]]
+.RI [ + | \- ] Key1 [ , [ + | \- ] Key2 ...]]
.RB [ \-P | \-\-partial ]
.RB [ \-\-separator
.IR Separator ]
diff --git a/man/vgextend.8.in b/man/vgextend.8.in
index ae7291c..52837db 100644
--- a/man/vgextend.8.in
+++ b/man/vgextend.8.in
@@ -1,6 +1,6 @@
.TH VGEXTEND 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgextend \- add physical volumes to a volume group
+vgextend \(em add physical volumes to a volume group
.SH SYNOPSIS
.B vgextend
.RB [ \-A | \-\-autobackup
diff --git a/man/vgimport.8.in b/man/vgimport.8.in
index 9496d40..31378f4 100644
--- a/man/vgimport.8.in
+++ b/man/vgimport.8.in
@@ -1,6 +1,6 @@
.TH VGIMPORT 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgimport \- make exported volume groups known to the system
+vgimport \(em make exported volume groups known to the system
.SH SYNOPSIS
.B vgimport
.RB [ \-a | \-\-all ]
diff --git a/man/vgimportclone.8.in b/man/vgimportclone.8.in
index 52ff079..cdf5e68 100644
--- a/man/vgimportclone.8.in
+++ b/man/vgimportclone.8.in
@@ -1,6 +1,6 @@
.TH VGIMPORTCLONE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc." \" -*- nroff -*-
.SH NAME
-vgimportclone \- import and rename duplicated volume group (e.g. a hardware snapshot)
+vgimportclone \(em import and rename duplicated volume group (e.g. a hardware snapshot)
.SH SYNOPSIS
.B vgimportclone
.RB [ \-n | \-\-basevgname
@@ -38,7 +38,7 @@ To rename the VG associated with "/dev/sdc" and "/dev/sdd"
from "vg00" to "vg00_snap"
(and to change associated VG and PV UUIDs) do:
.sp
-.B vgimportclone --basevgname vg00_snap /dev/sdc /dev/sdd
+.B vgimportclone \-\-basevgname vg00_snap /dev/sdc /dev/sdd
.SH SEE ALSO
.BR lvm (8),
diff --git a/man/vgmerge.8.in b/man/vgmerge.8.in
index f67cffb..bfc8c34 100644
--- a/man/vgmerge.8.in
+++ b/man/vgmerge.8.in
@@ -1,6 +1,6 @@
.TH VGMERGE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgmerge \- merge two volume groups
+vgmerge \(em merge two volume groups
.SH SYNOPSIS
.B vgmerge
.RB [ \-A | \-\-autobackup
@@ -24,7 +24,7 @@ fit into \fIDestinationVolumeGroupName\fP's limits.
See \fBlvm\fP(8) for common options.
.TP
.BR \-l ", " \-\-list
-Display merged \fIDestinationVolumeGroupName\fP like \fBvgdisplay -v\fP.
+Display merged \fIDestinationVolumeGroupName\fP like \fBvgdisplay \-v\fP.
.TP
.BR \-t ", " \-\-test
Do a test run WITHOUT making any real changes.
@@ -33,7 +33,7 @@ Merge the inactive volume group named "my_vg"
into the active or inactive volume group named "databases" giving verbose
runtime information:
.sp
-.B vgmerge -v databases my_vg
+.B vgmerge \-v databases my_vg
.SH SEE ALSO
.BR lvm (8),
.BR vgcreate (8),
diff --git a/man/vgmknodes.8.in b/man/vgmknodes.8.in
index 54fd3ec..4f5bbfe 100644
--- a/man/vgmknodes.8.in
+++ b/man/vgmknodes.8.in
@@ -1,6 +1,6 @@
.TH VGMKNODES 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgmknodes \- recreate volume group directory and logical volume special files
+vgmknodes \(em recreate volume group directory and logical volume special files
.SH SYNOPSIS
.B vgmknodes
.RB [ \-\-commandprofile
diff --git a/man/vgreduce.8.in b/man/vgreduce.8.in
index 141533e..9e70a0a 100644
--- a/man/vgreduce.8.in
+++ b/man/vgreduce.8.in
@@ -1,6 +1,6 @@
.TH VGREDUCE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgreduce \- reduce a volume group
+vgreduce \(em reduce a volume group
.SH SYNOPSIS
.B vgreduce
.RB [ \-a | \-\-all ]
@@ -31,7 +31,7 @@ group (new logical volumes may again be created, changed and so on).
If this is not possible (there are logical volumes referencing the missing
physical volumes) and you cannot or do not want to remove them manually, you
-can run this option with \fB--force\fP to have \fBvgreduce\fP
+can run this option with \fB\-\-force\fP to have \fBvgreduce\fP
remove any partial LVs.
Any logical volumes and dependent snapshots that were partly on the
@@ -40,7 +40,7 @@ that lie on disks that are still present.
If your logical volumes spanned several disks including the ones that are
lost, you might want to try to salvage data first by activating your
-logical volumes with \fB--partial\fP as described in \fBlvm\fP(8).
+logical volumes with \fB\-\-partial\fP as described in \fBlvm\fP(8).
.SH SEE ALSO
.BR lvm (8),
diff --git a/man/vgremove.8.in b/man/vgremove.8.in
index d17db10..f824a56 100644
--- a/man/vgremove.8.in
+++ b/man/vgremove.8.in
@@ -1,6 +1,6 @@
.TH VGREMOVE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgremove \- remove a volume group
+vgremove \(em remove a volume group
.SH SYNOPSIS
.B vgremove
.RB [ \-\-commandprofile
@@ -16,12 +16,12 @@ vgremove \- remove a volume group
.SH DESCRIPTION
vgremove allows you to remove one or more volume groups.
If one or more physical volumes in the volume group are lost,
-consider \fBvgreduce --removemissing\fP to make the volume group
+consider \fBvgreduce \-\-removemissing\fP to make the volume group
metadata consistent again.
.sp
If there are logical volumes that exist in the volume group,
a prompt will be given to confirm removal. You can override
-the prompt with \fB-f\fP.
+the prompt with \fB\-f\fP.
.SH OPTIONS
See \fBlvm\fP(8) for common options.
.TP
diff --git a/man/vgrename.8.in b/man/vgrename.8.in
index 6951fb0..1f2539b 100644
--- a/man/vgrename.8.in
+++ b/man/vgrename.8.in
@@ -1,6 +1,6 @@
.TH VGRENAME 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgrename \- rename a volume group
+vgrename \(em rename a volume group
.SH SYNOPSIS
.B vgrename
.RB [ \-A | \-\-autobackup
@@ -47,7 +47,7 @@ Changes the name of the Volume Group with UUID
.br
Zvlifi-Ep3t-e0Ng-U42h-o0ye-KHu1-nl7Ns4 to VolGroup00_tmp:
.sp
-.B vgrename Zvlifi-Ep3t-e0Ng-U42h-o0ye-KHu1-nl7Ns4 VolGroup00_tmp
+.B vgrename Zvlifi\-Ep3t\-e0Ng\-U42h\-o0ye\-KHu1\-nl7Ns4 VolGroup00_tmp
.SH SEE ALSO
.BR lvm (8),
diff --git a/man/vgs.8.in b/man/vgs.8.in
index c32195b..b389ea2 100644
--- a/man/vgs.8.in
+++ b/man/vgs.8.in
@@ -1,6 +1,6 @@
.TH VGS 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgs \- report information about volume groups
+vgs \(em report information about volume groups
.SH SYNOPSIS
.B vgs
.RB [ \-a | \-\-all ]
diff --git a/man/vgscan.8.in b/man/vgscan.8.in
index c11b1ea..b9105d8 100644
--- a/man/vgscan.8.in
+++ b/man/vgscan.8.in
@@ -1,6 +1,6 @@
.TH VGSCAN 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgscan \- scan all disks for volume groups and rebuild caches
+vgscan \(em scan all disks for volume groups and rebuild caches
.SH SYNOPSIS
.B vgscan
.RB [ \-\-commandprofile
diff --git a/man/vgsplit.8.in b/man/vgsplit.8.in
index 546d02f..5939ed5 100644
--- a/man/vgsplit.8.in
+++ b/man/vgsplit.8.in
@@ -1,6 +1,6 @@
.TH VGSPLIT 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
-vgsplit \- split a volume group into two
+vgsplit \(em split a volume group into two
.SH SYNOPSIS
.B vgsplit
.RB [ \-\-alloc
@@ -15,9 +15,9 @@ vgsplit \- split a volume group into two
.RB [ \-h | \-\-help ]
.RB [ \-l | \-\-maxlogicalvolumes
.IR MaxLogicalVolumes ]
-.RB [ -M | \-\-metadatatype
+.RB [ \-M | \-\-metadatatype
.IR type ]
-.RB [ -p | \-\-maxphysicalvolumes
+.RB [ \-p | \-\-maxphysicalvolumes
.IR MaxPhysicalVolumes ]
.RB [ \-\- [ vg ] metadatacopies
.IR NumberOfCopies | unmanaged | all ]
9 years, 3 months
master - man: use bullets
by Zdenek Kabelac
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=49560910275696...
Commit: 49560910275696fa7dd149932fe9c4530667ecdd
Parent: d2b60c6e351df63b5bfc82cd27ac23dd8ffe89a9
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Wed Jun 11 11:06:13 2014 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Wed Jun 11 11:10:55 2014 +0200
man: use bullets
---
man/lvdisplay.8.in | 26 +++++++++++++-------------
man/pvdisplay.8.in | 22 +++++++++++-----------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/man/lvdisplay.8.in b/man/lvdisplay.8.in
index a9f3d49..bf9f544 100644
--- a/man/lvdisplay.8.in
+++ b/man/lvdisplay.8.in
@@ -81,19 +81,19 @@ N.B. \fBlvs\fP(8) provides considerably more control over the output.
The values are:
-* logical volume name
-* volume group name
-* logical volume access
-* logical volume status
-* internal logical volume number
-* open count of logical volume
-* logical volume size in sectors
-* current logical extents associated to logical volume
-* allocated logical extents of logical volume
-* allocation policy of logical volume
-* read ahead sectors of logical volume
-* major device number of logical volume
-* minor device number of logical volume
+\(bu logical volume name
+\(bu volume group name
+\(bu logical volume access
+\(bu logical volume status
+\(bu internal logical volume number
+\(bu open count of logical volume
+\(bu logical volume size in sectors
+\(bu current logical extents associated to logical volume
+\(bu allocated logical extents of logical volume
+\(bu allocation policy of logical volume
+\(bu read ahead sectors of logical volume
+\(bu major device number of logical volume
+\(bu minor device number of logical volume
.fi
.TP
diff --git a/man/pvdisplay.8.in b/man/pvdisplay.8.in
index f317bcc..aab65ca 100644
--- a/man/pvdisplay.8.in
+++ b/man/pvdisplay.8.in
@@ -71,17 +71,17 @@ N.B. \fBpvs\fP(8) provides considerably more control over the output.
The values are:
-* physical volume device name
-* volume group name
-* physical volume size in sectors
-* internal physical volume number (obsolete)
-* physical volume status
-* physical volume (not) allocatable
-* current number of logical volumes on this physical volume
-* physical extent size in kilobytes
-* total number of physical extents
-* free number of physical extents
-* allocated number of physical extents
+\(bu physical volume device name
+\(bu volume group name
+\(bu physical volume size in sectors
+\(bu internal physical volume number (obsolete)
+\(bu physical volume status
+\(bu physical volume (not) allocatable
+\(bu current number of logical volumes on this physical volume
+\(bu physical extent size in kilobytes
+\(bu total number of physical extents
+\(bu free number of physical extents
+\(bu allocated number of physical extents
.fi
.TP
9 years, 3 months
master - man: advertise lvmcache, lvmthin
by Zdenek Kabelac
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=d2b60c6e351df6...
Commit: d2b60c6e351df63b5bfc82cd27ac23dd8ffe89a9
Parent: 6766cdc8a1a0fb2cd041f629d8c2b6adbaca0ff0
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Tue Jun 10 11:05:51 2014 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Wed Jun 11 11:10:54 2014 +0200
man: advertise lvmcache, lvmthin
Add references to new man pages so they get known.
---
man/lvchange.8.in | 2 ++
man/lvconvert.8.in | 5 +++++
man/lvcreate.8.in | 4 ++++
3 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/man/lvchange.8.in b/man/lvchange.8.in
index 09f54e6..27f81aa 100644
--- a/man/lvchange.8.in
+++ b/man/lvchange.8.in
@@ -256,5 +256,7 @@ Changes the permission on volume lvol1 in volume group vg00 to be read-only:
.B lvchange -pr vg00/lvol1
.SH SEE ALSO
.BR lvm (8),
+.BR lvmcache (7),
+.BR lvmthin (7),
.BR lvcreate (8),
.BR vgchange (8)
diff --git a/man/lvconvert.8.in b/man/lvconvert.8.in
index 2833f20..44a3dbe 100644
--- a/man/lvconvert.8.in
+++ b/man/lvconvert.8.in
@@ -235,6 +235,8 @@ or
When converting a logical volume to a cache LV, the
.B \-\-cachepool
argument is required.
+See \fBlvmcache\fP(7) for more info about caching support
+and \fBlvmthin\fP(7) for thin provisioning support.
.TP
.BR \-i ", " \-\-interval " " \fISeconds
Report progress as a percentage at regular intervals.
@@ -413,6 +415,7 @@ Switches logical volume into a thin pool's data volume.
Content of converted volume is lost.
Thin pool's metadata logical volume can be specified with the option
\fB\-\-poolmetadata\fP or allocated with \fB\-\-poolmetadatasize\fP.
+See \fBlvmthin\fP(7) for more info about thin provisioning support.
.SH Examples
Converts the linear logical volume "vg00/lvol1" to a two-way mirror
@@ -528,6 +531,8 @@ cache pool LV.
.SH SEE ALSO
.BR lvm (8),
.BR lvm.conf (5),
+.BR lvmcache (7),
+.BR lvmthin (7),
.BR lvdisplay (8),
.BR lvextend (8),
.BR lvreduce (8),
diff --git a/man/lvcreate.8.in b/man/lvcreate.8.in
index ee50587..164ca27 100644
--- a/man/lvcreate.8.in
+++ b/man/lvcreate.8.in
@@ -403,6 +403,7 @@ Specifying the optional argument \fB\-\-virtualsize\fP will cause
the creation of the thin logical volume from given thin pool volume.
Specifying both arguments will cause the creation of both
thin pool and thin volume using this pool.
+See \fBlvmthin\fP(7) for more info about thin provisioning support.
Requires device mapper kernel driver for thin provisioning
from kernel 3.2 or newer.
.TP
@@ -430,6 +431,7 @@ as is the case with
.IR raid10
or
.IR zero .
+See \fBlvmcache\fP(7) for more info about caching support.
Note that the cache segment type requires a dm-cache kernel module version
1.3.0 or greater.
@@ -568,6 +570,8 @@ volume (i.e. the origin LV), creating a cache LV.
.SH SEE ALSO
.BR lvm (8),
.BR lvm.conf (5),
+.BR lvmcache (7),
+.BR lvmthin (7),
.BR lvconvert (8),
.BR lvchange (8),
.BR lvextend (8),
9 years, 3 months
master - tests: some more renames lib/test -> lib/inittest
by Peter Rajnoha
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=6766cdc8a1a0fb...
Commit: 6766cdc8a1a0fb2cd041f629d8c2b6adbaca0ff0
Parent: 5c5177c37c88cc0e7d5fbd5b82647ce562dad32f
Author: Peter Rajnoha <prajnoha(a)redhat.com>
AuthorDate: Wed Jun 11 11:07:32 2014 +0200
Committer: Peter Rajnoha <prajnoha(a)redhat.com>
CommitterDate: Wed Jun 11 11:07:32 2014 +0200
tests: some more renames lib/test -> lib/inittest
---
test/api/lvtest.sh | 2 +-
test/api/pe_start.sh | 2 +-
test/api/percent.sh | 2 +-
test/api/pytest.sh | 2 +-
test/api/thin_percent.sh | 2 +-
test/api/vglist.sh | 2 +-
test/api/vgtest.sh | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/test/api/lvtest.sh b/test/api/lvtest.sh
index 0b7684a..5fe6f57 100644
--- a/test/api/lvtest.sh
+++ b/test/api/lvtest.sh
@@ -11,7 +11,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 1
diff --git a/test/api/pe_start.sh b/test/api/pe_start.sh
index 20ba8ec..2fc118f 100644
--- a/test/api/pe_start.sh
+++ b/test/api/pe_start.sh
@@ -11,7 +11,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_devs 2
diff --git a/test/api/percent.sh b/test/api/percent.sh
index 097cad8..a503ca3 100644
--- a/test/api/percent.sh
+++ b/test/api/percent.sh
@@ -11,7 +11,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
kernel_at_least 2 6 33 || skip
diff --git a/test/api/pytest.sh b/test/api/pytest.sh
index 8359c01..7b6085f 100644
--- a/test/api/pytest.sh
+++ b/test/api/pytest.sh
@@ -11,7 +11,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
#
# TODO:
diff --git a/test/api/thin_percent.sh b/test/api/thin_percent.sh
index 50ad8f6..5335655 100644
--- a/test/api/thin_percent.sh
+++ b/test/api/thin_percent.sh
@@ -11,7 +11,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux have_thin 1 0 0 || skip
diff --git a/test/api/vglist.sh b/test/api/vglist.sh
index 275c9d2..421705b 100644
--- a/test/api/vglist.sh
+++ b/test/api/vglist.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 2
aux apitest vglist $vg `get vg_field $vg vg_uuid | sed -e s,-,,g`
diff --git a/test/api/vgtest.sh b/test/api/vgtest.sh
index 6c0be4e..72255fe 100644
--- a/test/api/vgtest.sh
+++ b/test/api/vgtest.sh
@@ -13,7 +13,7 @@
# tests lvm2app library
#
-. lib/test
+. lib/inittest
aux prepare_pvs 2
9 years, 3 months
master - tests: rename test to inittest
by Zdenek Kabelac
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=5c5177c37c88cc...
Commit: 5c5177c37c88cc0e7d5fbd5b82647ce562dad32f
Parent: 9f68aadb742b9cbd70c5cf5d750b64ff534bc8b3
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Fri Jun 6 17:40:04 2014 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Tue Jun 10 10:51:27 2014 +0200
tests: rename test to inittest
We are getting into problem when we use 'test' for commands like
should/not/...
So avoid overloading test name and change it to inittest.
---
test/Makefile.in | 2 +-
test/lib/inittest.sh | 102 +++++++++++++++++++++
test/lib/test.sh | 102 ---------------------
test/shell/000-basic.sh | 2 +-
test/shell/activate-minor.sh | 2 +-
test/shell/activate-missing-segment.sh | 2 +-
test/shell/activate-missing.sh | 2 +-
test/shell/activate-partial.sh | 2 +-
test/shell/activation-skip.sh | 2 +-
test/shell/clvmd-restart.sh | 2 +-
test/shell/covercmd.sh | 2 +-
test/shell/discards-thin.sh | 2 +-
test/shell/dmeventd-restart.sh | 2 +-
test/shell/dumpconfig.sh | 2 +-
test/shell/error-usage.sh | 2 +-
test/shell/fsadm.sh | 2 +-
test/shell/inconsistent-metadata.sh | 2 +-
test/shell/listings.sh | 2 +-
test/shell/lock-blocking.sh | 2 +-
test/shell/lock-parallel.sh | 2 +-
test/shell/lvchange-mirror.sh | 2 +-
test/shell/lvchange-partial-raid10.sh | 2 +-
test/shell/lvchange-partial.sh | 2 +-
test/shell/lvchange-raid.sh | 2 +-
test/shell/lvchange-syncaction-raid.sh | 2 +-
test/shell/lvchange-thin.sh | 2 +-
test/shell/lvconvert-mirror-basic.sh | 2 +-
test/shell/lvconvert-mirror-updown.sh | 2 +-
test/shell/lvconvert-mirror.sh | 2 +-
test/shell/lvconvert-raid.sh | 2 +-
test/shell/lvconvert-raid10.sh | 2 +-
test/shell/lvconvert-raid456.sh | 2 +-
test/shell/lvconvert-repair-dmeventd.sh | 2 +-
test/shell/lvconvert-repair-policy.sh | 2 +-
test/shell/lvconvert-repair-raid-dmeventd.sh | 2 +-
test/shell/lvconvert-repair-raid.sh | 2 +-
test/shell/lvconvert-repair-replace.sh | 2 +-
test/shell/lvconvert-repair-snapshot.sh | 2 +-
test/shell/lvconvert-repair-thin.sh | 2 +-
test/shell/lvconvert-repair-transient-dmeventd.sh | 2 +-
test/shell/lvconvert-repair-transient.sh | 2 +-
test/shell/lvconvert-repair.sh | 2 +-
test/shell/lvconvert-snapshot.sh | 2 +-
test/shell/lvconvert-thin-external.sh | 2 +-
test/shell/lvconvert-thin-raid.sh | 2 +-
test/shell/lvconvert-thin.sh | 2 +-
test/shell/lvconvert-twostep.sh | 2 +-
test/shell/lvcreate-cache.sh | 2 +-
test/shell/lvcreate-large-raid.sh | 2 +-
test/shell/lvcreate-large-raid10.sh | 2 +-
test/shell/lvcreate-large.sh | 2 +-
test/shell/lvcreate-mirror.sh | 2 +-
test/shell/lvcreate-missing.sh | 2 +-
test/shell/lvcreate-operation.sh | 2 +-
test/shell/lvcreate-pvtags.sh | 2 +-
test/shell/lvcreate-raid.sh | 2 +-
test/shell/lvcreate-raid10.sh | 2 +-
test/shell/lvcreate-repair.sh | 2 +-
test/shell/lvcreate-signature-wiping.sh | 2 +-
test/shell/lvcreate-small-snap.sh | 2 +-
test/shell/lvcreate-striped-mirror.sh | 2 +-
test/shell/lvcreate-thin-external.sh | 2 +-
test/shell/lvcreate-thin-power2.sh | 2 +-
test/shell/lvcreate-thin-snap.sh | 2 +-
test/shell/lvcreate-thin.sh | 2 +-
test/shell/lvcreate-usage.sh | 2 +-
test/shell/lvextend-percent-extents.sh | 2 +-
test/shell/lvextend-snapshot-dmeventd.sh | 2 +-
test/shell/lvextend-snapshot-policy.sh | 2 +-
test/shell/lvextend-thin-metadata-dmeventd.sh | 2 +-
test/shell/lvm-init.sh | 2 +-
test/shell/lvmcache-exercise.sh | 2 +-
test/shell/lvmetad-ambiguous.sh | 2 +-
test/shell/lvmetad-disabled.sh | 2 +-
test/shell/lvmetad-dump.sh | 2 +-
test/shell/lvmetad-lvm1.sh | 2 +-
test/shell/lvmetad-no-cluster.sh | 2 +-
test/shell/lvmetad-override.sh | 2 +-
test/shell/lvmetad-pvs.sh | 2 +-
test/shell/lvmetad-pvscan-cache.sh | 2 +-
test/shell/lvmetad-pvscan-filter.sh | 2 +-
test/shell/lvmetad-pvscan-nomda.sh | 2 +-
test/shell/lvmetad-restart.sh | 2 +-
test/shell/lvmetad-test.sh | 2 +-
test/shell/lvmetad-warning.sh | 2 +-
test/shell/lvresize-mirror.sh | 2 +-
test/shell/lvresize-raid.sh | 2 +-
test/shell/lvresize-raid10.sh | 2 +-
test/shell/lvresize-rounding.sh | 2 +-
test/shell/lvresize-thin-external-origin.sh | 2 +-
test/shell/lvresize-thin-metadata.sh | 2 +-
test/shell/lvresize-usage.sh | 2 +-
test/shell/mda-rollback.sh | 2 +-
test/shell/mdata-strings.sh | 2 +-
test/shell/metadata-balance.sh | 2 +-
test/shell/metadata-dirs.sh | 2 +-
test/shell/metadata.sh | 2 +-
test/shell/mirror-names.sh | 2 +-
test/shell/mirror-vgreduce-removemissing.sh | 2 +-
test/shell/name-mangling.sh | 2 +-
test/shell/nomda-missing.sh | 2 +-
test/shell/nomda-restoremissing.sh | 2 +-
test/shell/orphan-ondisk.sh | 2 +-
test/shell/pool-labels.sh | 2 +-
test/shell/process-each-duplicate-vgnames.sh | 2 +-
test/shell/process-each-lv.sh | 2 +-
test/shell/process-each-vg.sh | 2 +-
test/shell/profiles-thin.sh | 2 +-
test/shell/profiles.sh | 2 +-
test/shell/pv-duplicate-uuid.sh | 2 +-
test/shell/pv-duplicate.sh | 2 +-
test/shell/pv-min-size.sh | 2 +-
test/shell/pv-range-overflow.sh | 2 +-
test/shell/pvchange-usage.sh | 2 +-
test/shell/pvcreate-bootloaderarea.sh | 2 +-
test/shell/pvcreate-ff.sh | 2 +-
test/shell/pvcreate-metadata0.sh | 2 +-
test/shell/pvcreate-operation-md.sh | 2 +-
test/shell/pvcreate-operation.sh | 2 +-
test/shell/pvcreate-usage.sh | 2 +-
test/shell/pvmove-all-segtypes.sh | 2 +-
test/shell/pvmove-background.sh | 2 +-
test/shell/pvmove-basic.sh | 2 +-
test/shell/pvmove-cache-segtypes.sh | 2 +-
test/shell/pvmove-raid-segtypes.sh | 2 +-
test/shell/pvmove-restart.sh | 2 +-
test/shell/pvmove-thin-segtypes.sh | 2 +-
test/shell/pvremove-thin.sh | 2 +-
test/shell/pvremove-usage.sh | 2 +-
test/shell/read-ahead.sh | 2 +-
test/shell/snapshot-autoumount-dmeventd.sh | 2 +-
test/shell/snapshot-lvm1.sh | 2 +-
test/shell/snapshot-maxsize.sh | 2 +-
test/shell/snapshot-merge.sh | 2 +-
test/shell/snapshot-reactivate.sh | 2 +-
test/shell/snapshot-usage.sh | 2 +-
test/shell/snapshots-of-mirrors.sh | 2 +-
test/shell/stray-device-node.sh | 2 +-
test/shell/tags.sh | 2 +-
test/shell/test-partition.sh | 2 +-
test/shell/thin-autoumount-dmeventd.sh | 2 +-
test/shell/thin-defaults.sh | 2 +-
test/shell/thin-merge.sh | 2 +-
test/shell/thin-restore.sh | 2 +-
test/shell/thin-vglock.sh | 2 +-
test/shell/topology-support.sh | 2 +-
test/shell/unknown-segment.sh | 2 +-
test/shell/unlost-pv.sh | 2 +-
test/shell/vg-name-from-env.sh | 2 +-
test/shell/vgcfgbackup-usage.sh | 2 +-
test/shell/vgchange-many.sh | 2 +-
test/shell/vgchange-maxlv.sh | 2 +-
test/shell/vgchange-partial.sh | 2 +-
test/shell/vgchange-sysinit.sh | 2 +-
test/shell/vgchange-usage.sh | 2 +-
test/shell/vgck.sh | 2 +-
test/shell/vgcreate-usage.sh | 2 +-
test/shell/vgextend-restoremissing.sh | 2 +-
test/shell/vgextend-usage.sh | 2 +-
test/shell/vgimportclone.sh | 2 +-
test/shell/vgmerge-operation.sh | 2 +-
test/shell/vgmerge-usage.sh | 2 +-
test/shell/vgreduce-removemissing-snapshot.sh | 2 +-
test/shell/vgreduce-usage.sh | 2 +-
test/shell/vgremove-corrupt-vg.sh | 2 +-
test/shell/vgrename-usage.sh | 2 +-
test/shell/vgsplit-operation.sh | 2 +-
test/shell/vgsplit-raid.sh | 2 +-
test/shell/vgsplit-stacked.sh | 2 +-
test/shell/vgsplit-thin.sh | 2 +-
test/shell/vgsplit-usage.sh | 2 +-
test/shell/zero-usage.sh | 2 +-
172 files changed, 272 insertions(+), 272 deletions(-)
diff --git a/test/Makefile.in b/test/Makefile.in
index 5ac045f..46aeaec 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -156,7 +156,7 @@ lib/paths: $(srcdir)/Makefile.in .lib-dir-stamp Makefile
mv $@-t $@
LIB = lib/not lib/invalid lib/fail lib/should lib/harness \
- lib/check lib/aux lib/test lib/utils lib/get lib/lvm-wrapper \
+ lib/check lib/aux lib/inittest lib/utils lib/get lib/lvm-wrapper \
lib/paths
CMDS = lvm $(shell cat $(top_builddir)/tools/.commands)
diff --git a/test/lib/inittest.sh b/test/lib/inittest.sh
new file mode 100644
index 0000000..731cd7a
--- /dev/null
+++ b/test/lib/inittest.sh
@@ -0,0 +1,102 @@
+#!/usr/bin/env bash
+# Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved.
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU General Public License v.2.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+# sanitize the environment
+LANG=C
+LC_ALL=C
+TZ=UTC
+
+# Put script name into variable, so it can used in external scripts
+TESTNAME=${0##*/}
+# Nice debug message
+PS4='#${BASH_SOURCE[0]##*/}:${LINENO}+ '
+export TESTNAME PS4
+
+unset CDPATH
+
+# grab some common utilities
+. lib/utils
+
+TESTOLDPWD=$(pwd)
+COMMON_PREFIX="LVMTEST"
+PREFIX="${COMMON_PREFIX}$$"
+
+TESTDIR=$(mkdtemp "${LVM_TEST_DIR:-$TESTOLDPWD}" "$PREFIX.XXXXXXXXXX") || \
+ die "failed to create temporary directory in ${LVM_TEST_DIR:-$TESTOLDPWD}"
+RUNNING_DMEVENTD=$(pgrep dmeventd) || true
+
+export TESTOLDPWD TESTDIR COMMON_PREFIX PREFIX RUNNING_DMEVENTD
+
+test -n "$BASH" && trap 'set +vx; STACKTRACE; set -vx' ERR
+trap 'aux teardown' EXIT # don't forget to clean up
+
+cd "$TESTDIR"
+
+if test -n "$LVM_TEST_FLAVOUR"; then
+ touch flavour_overrides
+ env | grep ^${LVM_TEST_FLAVOUR} | while read var; do
+ (echo -n "export "; echo $var | sed -e s,^${LVM_TEST_FLAVOUR}_,,) >> flavour_overrides
+ done
+ . flavour_overrides
+fi
+
+DM_DEFAULT_NAME_MANGLING_MODE=none
+DM_DEV_DIR="$TESTDIR/dev"
+LVM_SYSTEM_DIR="$TESTDIR/etc"
+mkdir "$LVM_SYSTEM_DIR" "$TESTDIR/lib" "$DM_DEV_DIR"
+if test -n "$LVM_TEST_DEVDIR" ; then
+ DM_DEV_DIR=$LVM_TEST_DEVDIR
+else
+ mknod "$DM_DEV_DIR/testnull" c 1 3 || die "mknod failed";
+ echo >"$DM_DEV_DIR/testnull" || \
+ die "Filesystem does support devices in $DM_DEV_DIR (mounted with nodev?)"
+ mkdir "$DM_DEV_DIR/mapper"
+fi
+
+# abort on the internal dm errors in the tests (allowing test user override)
+DM_ABORT_ON_INTERNAL_ERRORS=${DM_ABORT_ON_INTERNAL_ERRORS:-1}
+
+export DM_DEFAULT_NAME_MANGLING_MODE DM_DEV_DIR LVM_SYSTEM_DIR DM_ABORT_ON_INTERNAL_ERRORS
+
+echo "$TESTNAME" >TESTNAME
+
+echo "Kernel is $(uname -a)"
+# Report SELinux mode
+if which getenforce &>/dev/null ; then
+ echo "Selinux mode is \"$(getenforce 2>/dev/null)\"."
+else
+ echo "Selinux mode is not installed."
+fi
+
+# Setting up symlink from $i to $TESTDIR/lib
+find "$abs_top_builddir/daemons/dmeventd/plugins/" -name '*.so' \
+ -exec ln -s -t lib "{}" +
+find "$abs_top_builddir/test/lib" ! \( -name '*.sh' -o -name '*.[cdo]' \
+ -o -name '*~' \) -exec ln -s -t lib "{}" +
+
+# Set vars from utils now that we have TESTDIR/PREFIX/...
+prepare_test_vars
+
+test -n "$BASH" && set -eE -o pipefail
+
+aux lvmconf
+aux prepare_clvmd
+test -n "$LVM_TEST_LVMETAD" && {
+ export LVM_LVMETAD_SOCKET="$TESTDIR/lvmetad.socket"
+ export LVM_LVMETAD_PIDFILE="$TESTDIR/lvmetad.pid"
+ aux prepare_lvmetad
+}
+
+# Vars for harness
+echo "@TESTDIR=$TESTDIR"
+echo "@PREFIX=$PREFIX"
+
+set -vx
diff --git a/test/lib/test.sh b/test/lib/test.sh
deleted file mode 100644
index 731cd7a..0000000
--- a/test/lib/test.sh
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/usr/bin/env bash
-# Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing to use,
-# modify, copy, or redistribute it subject to the terms and conditions
-# of the GNU General Public License v.2.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-# sanitize the environment
-LANG=C
-LC_ALL=C
-TZ=UTC
-
-# Put script name into variable, so it can used in external scripts
-TESTNAME=${0##*/}
-# Nice debug message
-PS4='#${BASH_SOURCE[0]##*/}:${LINENO}+ '
-export TESTNAME PS4
-
-unset CDPATH
-
-# grab some common utilities
-. lib/utils
-
-TESTOLDPWD=$(pwd)
-COMMON_PREFIX="LVMTEST"
-PREFIX="${COMMON_PREFIX}$$"
-
-TESTDIR=$(mkdtemp "${LVM_TEST_DIR:-$TESTOLDPWD}" "$PREFIX.XXXXXXXXXX") || \
- die "failed to create temporary directory in ${LVM_TEST_DIR:-$TESTOLDPWD}"
-RUNNING_DMEVENTD=$(pgrep dmeventd) || true
-
-export TESTOLDPWD TESTDIR COMMON_PREFIX PREFIX RUNNING_DMEVENTD
-
-test -n "$BASH" && trap 'set +vx; STACKTRACE; set -vx' ERR
-trap 'aux teardown' EXIT # don't forget to clean up
-
-cd "$TESTDIR"
-
-if test -n "$LVM_TEST_FLAVOUR"; then
- touch flavour_overrides
- env | grep ^${LVM_TEST_FLAVOUR} | while read var; do
- (echo -n "export "; echo $var | sed -e s,^${LVM_TEST_FLAVOUR}_,,) >> flavour_overrides
- done
- . flavour_overrides
-fi
-
-DM_DEFAULT_NAME_MANGLING_MODE=none
-DM_DEV_DIR="$TESTDIR/dev"
-LVM_SYSTEM_DIR="$TESTDIR/etc"
-mkdir "$LVM_SYSTEM_DIR" "$TESTDIR/lib" "$DM_DEV_DIR"
-if test -n "$LVM_TEST_DEVDIR" ; then
- DM_DEV_DIR=$LVM_TEST_DEVDIR
-else
- mknod "$DM_DEV_DIR/testnull" c 1 3 || die "mknod failed";
- echo >"$DM_DEV_DIR/testnull" || \
- die "Filesystem does support devices in $DM_DEV_DIR (mounted with nodev?)"
- mkdir "$DM_DEV_DIR/mapper"
-fi
-
-# abort on the internal dm errors in the tests (allowing test user override)
-DM_ABORT_ON_INTERNAL_ERRORS=${DM_ABORT_ON_INTERNAL_ERRORS:-1}
-
-export DM_DEFAULT_NAME_MANGLING_MODE DM_DEV_DIR LVM_SYSTEM_DIR DM_ABORT_ON_INTERNAL_ERRORS
-
-echo "$TESTNAME" >TESTNAME
-
-echo "Kernel is $(uname -a)"
-# Report SELinux mode
-if which getenforce &>/dev/null ; then
- echo "Selinux mode is \"$(getenforce 2>/dev/null)\"."
-else
- echo "Selinux mode is not installed."
-fi
-
-# Setting up symlink from $i to $TESTDIR/lib
-find "$abs_top_builddir/daemons/dmeventd/plugins/" -name '*.so' \
- -exec ln -s -t lib "{}" +
-find "$abs_top_builddir/test/lib" ! \( -name '*.sh' -o -name '*.[cdo]' \
- -o -name '*~' \) -exec ln -s -t lib "{}" +
-
-# Set vars from utils now that we have TESTDIR/PREFIX/...
-prepare_test_vars
-
-test -n "$BASH" && set -eE -o pipefail
-
-aux lvmconf
-aux prepare_clvmd
-test -n "$LVM_TEST_LVMETAD" && {
- export LVM_LVMETAD_SOCKET="$TESTDIR/lvmetad.socket"
- export LVM_LVMETAD_PIDFILE="$TESTDIR/lvmetad.pid"
- aux prepare_lvmetad
-}
-
-# Vars for harness
-echo "@TESTDIR=$TESTDIR"
-echo "@PREFIX=$PREFIX"
-
-set -vx
diff --git a/test/shell/000-basic.sh b/test/shell/000-basic.sh
index 83e6efe..7ad4d9f 100644
--- a/test/shell/000-basic.sh
+++ b/test/shell/000-basic.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
lvm version
diff --git a/test/shell/activate-minor.sh b/test/shell/activate-minor.sh
index 1cebda4..1c5386c 100644
--- a/test/shell/activate-minor.sh
+++ b/test/shell/activate-minor.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
# Just skip this test if minor is already in use...
dmsetup info | tee info
diff --git a/test/shell/activate-missing-segment.sh b/test/shell/activate-missing-segment.sh
index afda20f..5f43c72 100644
--- a/test/shell/activate-missing-segment.sh
+++ b/test/shell/activate-missing-segment.sh
@@ -16,7 +16,7 @@
# instead lvconvert --repair them?)
# - linear LVs with bits missing are not activated
-. lib/test
+. lib/inittest
aux prepare_vg 2
diff --git a/test/shell/activate-missing.sh b/test/shell/activate-missing.sh
index fd57e1a..8e2ff1e 100644
--- a/test/shell/activate-missing.sh
+++ b/test/shell/activate-missing.sh
@@ -16,7 +16,7 @@
# instead lvconvert --repair them?)
# - linear LVs with bits missing are not activated
-. lib/test
+. lib/inittest
aux prepare_vg 4
diff --git a/test/shell/activate-partial.sh b/test/shell/activate-partial.sh
index cbfa433..0b5d1b6 100644
--- a/test/shell/activate-partial.sh
+++ b/test/shell/activate-partial.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 3
diff --git a/test/shell/activation-skip.sh b/test/shell/activation-skip.sh
index 76680b2..ca562a7 100644
--- a/test/shell/activation-skip.sh
+++ b/test/shell/activation-skip.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
# Test skip activation flag -k|--setactivationskip
diff --git a/test/shell/clvmd-restart.sh b/test/shell/clvmd-restart.sh
index b288ad8..4a9f12e 100644
--- a/test/shell/clvmd-restart.sh
+++ b/test/shell/clvmd-restart.sh
@@ -13,7 +13,7 @@
export LVM_CLVMD_BINARY=clvmd
export LVM_BINARY=lvm
-. lib/test
+. lib/inittest
# only clvmd based test, skip otherwise
test -e LOCAL_CLVMD || skip
diff --git a/test/shell/covercmd.sh b/test/shell/covercmd.sh
index d7dde5b..c84c967 100644
--- a/test/shell/covercmd.sh
+++ b/test/shell/covercmd.sh
@@ -14,7 +14,7 @@
# to improve code coverage
#
-. lib/test
+. lib/inittest
aux prepare_pvs 5
get_devs
diff --git a/test/shell/discards-thin.sh b/test/shell/discards-thin.sh
index 525f106..a2cac52 100644
--- a/test/shell/discards-thin.sh
+++ b/test/shell/discards-thin.sh
@@ -13,7 +13,7 @@
# test support of thin discards
#
-. lib/test
+. lib/inittest
#
# Main
diff --git a/test/shell/dmeventd-restart.sh b/test/shell/dmeventd-restart.sh
index e27d426..366b4d2 100644
--- a/test/shell/dmeventd-restart.sh
+++ b/test/shell/dmeventd-restart.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_dmeventd
diff --git a/test/shell/dumpconfig.sh b/test/shell/dumpconfig.sh
index a16f753..f52157f 100644
--- a/test/shell/dumpconfig.sh
+++ b/test/shell/dumpconfig.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
flatten() {
cat > flatten.config
diff --git a/test/shell/error-usage.sh b/test/shell/error-usage.sh
index a7e3593..61e282b 100644
--- a/test/shell/error-usage.sh
+++ b/test/shell/error-usage.sh
@@ -11,7 +11,7 @@
# Basic usage of zero target
-. lib/test
+. lib/inittest
which md5sum || skip
diff --git a/test/shell/fsadm.sh b/test/shell/fsadm.sh
index 04b659f..612d2b7 100644
--- a/test/shell/fsadm.sh
+++ b/test/shell/fsadm.sh
@@ -11,7 +11,7 @@
test_description='Exercise fsadm filesystem resize'
-. lib/test
+. lib/inittest
aux prepare_vg 1 100
diff --git a/test/shell/inconsistent-metadata.sh b/test/shell/inconsistent-metadata.sh
index 06bd310..69d1f33 100644
--- a/test/shell/inconsistent-metadata.sh
+++ b/test/shell/inconsistent-metadata.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 3 12
diff --git a/test/shell/listings.sh b/test/shell/listings.sh
index d916a41..fbd4af7 100644
--- a/test/shell/listings.sh
+++ b/test/shell/listings.sh
@@ -13,7 +13,7 @@
# tests functionality of lvs, pvs, vgs, *display tools
#
-. lib/test
+. lib/inittest
aux prepare_devs 5
get_devs
diff --git a/test/shell/lock-blocking.sh b/test/shell/lock-blocking.sh
index aaf2e0b..e05fa50 100644
--- a/test/shell/lock-blocking.sh
+++ b/test/shell/lock-blocking.sh
@@ -11,7 +11,7 @@
test_description='test some blocking / non-blocking multi-vg operations'
-. lib/test
+. lib/inittest
aux prepare_devs 3
test -e LOCAL_CLVMD && skip
diff --git a/test/shell/lock-parallel.sh b/test/shell/lock-parallel.sh
index e7d15ef..993175f 100644
--- a/test/shell/lock-parallel.sh
+++ b/test/shell/lock-parallel.sh
@@ -12,7 +12,7 @@
# Test parallel use of lvm commands and check locks aren't dropped
# RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1049296
-. lib/test
+. lib/inittest
which mkfs.ext3 || skip
diff --git a/test/shell/lvchange-mirror.sh b/test/shell/lvchange-mirror.sh
index 37a6e1b..f28e486 100644
--- a/test/shell/lvchange-mirror.sh
+++ b/test/shell/lvchange-mirror.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
# FIXME RESYNC doesn't work in cluster with exclusive activation
# seriously broken!
diff --git a/test/shell/lvchange-partial-raid10.sh b/test/shell/lvchange-partial-raid10.sh
index 3c112bb..8014abd 100644
--- a/test/shell/lvchange-partial-raid10.sh
+++ b/test/shell/lvchange-partial-raid10.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux have_raid 1 3 2 || skip
diff --git a/test/shell/lvchange-partial.sh b/test/shell/lvchange-partial.sh
index 3db1b4f..c65c07b 100644
--- a/test/shell/lvchange-partial.sh
+++ b/test/shell/lvchange-partial.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 4
diff --git a/test/shell/lvchange-raid.sh b/test/shell/lvchange-raid.sh
index a229154..e35f4de 100644
--- a/test/shell/lvchange-raid.sh
+++ b/test/shell/lvchange-raid.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
# Writemostly has been in every version since the begining
# Device refresh in 1.5.1 upstream and 1.3.4 < x < 1.4.0 in RHEL6
diff --git a/test/shell/lvchange-syncaction-raid.sh b/test/shell/lvchange-syncaction-raid.sh
index b5fdfb4..18af83f 100644
--- a/test/shell/lvchange-syncaction-raid.sh
+++ b/test/shell/lvchange-syncaction-raid.sh
@@ -11,7 +11,7 @@
# test activation race for raid's --syncaction check
-. lib/test
+. lib/inittest
# Proper mismatch count 1.5.2+ upstream, 1.3.5 < x < 1.4.0 in RHEL6
aux have_raid 1 3 5 &&
diff --git a/test/shell/lvchange-thin.sh b/test/shell/lvchange-thin.sh
index c6fd813..cb9be53 100644
--- a/test/shell/lvchange-thin.sh
+++ b/test/shell/lvchange-thin.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux have_thin 1 0 0 || skip
diff --git a/test/shell/lvconvert-mirror-basic.sh b/test/shell/lvconvert-mirror-basic.sh
index 28258b2..6fcff70 100644
--- a/test/shell/lvconvert-mirror-basic.sh
+++ b/test/shell/lvconvert-mirror-basic.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
log_name_to_count() {
case "$1" in
diff --git a/test/shell/lvconvert-mirror-updown.sh b/test/shell/lvconvert-mirror-updown.sh
index 3b30738..18618fd 100644
--- a/test/shell/lvconvert-mirror-updown.sh
+++ b/test/shell/lvconvert-mirror-updown.sh
@@ -11,7 +11,7 @@
# Demonstrate problem when upconverting and cutting leg in clvmd
-. lib/test
+. lib/inittest
aux prepare_pvs 3
diff --git a/test/shell/lvconvert-mirror.sh b/test/shell/lvconvert-mirror.sh
index 8c0c72e..d8f057a 100644
--- a/test/shell/lvconvert-mirror.sh
+++ b/test/shell/lvconvert-mirror.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_pvs 5 10
# proper DEVRANGE needs to be set according to extent size
diff --git a/test/shell/lvconvert-raid.sh b/test/shell/lvconvert-raid.sh
index e17d90e..6f17303 100644
--- a/test/shell/lvconvert-raid.sh
+++ b/test/shell/lvconvert-raid.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
get_image_pvs() {
local d
diff --git a/test/shell/lvconvert-raid10.sh b/test/shell/lvconvert-raid10.sh
index e9b0ef8..c4b92f1 100644
--- a/test/shell/lvconvert-raid10.sh
+++ b/test/shell/lvconvert-raid10.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
get_image_pvs() {
local d
diff --git a/test/shell/lvconvert-raid456.sh b/test/shell/lvconvert-raid456.sh
index 38f8ed5..1ead128 100644
--- a/test/shell/lvconvert-raid456.sh
+++ b/test/shell/lvconvert-raid456.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
get_image_pvs() {
local d
diff --git a/test/shell/lvconvert-repair-dmeventd.sh b/test/shell/lvconvert-repair-dmeventd.sh
index 472c812..eed0819 100644
--- a/test/shell/lvconvert-repair-dmeventd.sh
+++ b/test/shell/lvconvert-repair-dmeventd.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
which mkfs.ext2 || skip
aux mirror_recovery_works || skip
diff --git a/test/shell/lvconvert-repair-policy.sh b/test/shell/lvconvert-repair-policy.sh
index 9d71b66..ace52fc 100644
--- a/test/shell/lvconvert-repair-policy.sh
+++ b/test/shell/lvconvert-repair-policy.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 4
aux lvmconf 'allocation/maximise_cling = 0'
diff --git a/test/shell/lvconvert-repair-raid-dmeventd.sh b/test/shell/lvconvert-repair-raid-dmeventd.sh
index 6766faa..eeb424e 100644
--- a/test/shell/lvconvert-repair-raid-dmeventd.sh
+++ b/test/shell/lvconvert-repair-raid-dmeventd.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
which mkfs.ext3 || skip
aux have_raid 1 3 0 || skip
diff --git a/test/shell/lvconvert-repair-raid.sh b/test/shell/lvconvert-repair-raid.sh
index 8ba27b8..4f0175a 100644
--- a/test/shell/lvconvert-repair-raid.sh
+++ b/test/shell/lvconvert-repair-raid.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux have_raid 1 3 0 || skip
aux raid456_replace_works || skip
diff --git a/test/shell/lvconvert-repair-replace.sh b/test/shell/lvconvert-repair-replace.sh
index c02d2ac..3c0dc53 100644
--- a/test/shell/lvconvert-repair-replace.sh
+++ b/test/shell/lvconvert-repair-replace.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 6
aux lvmconf 'allocation/maximise_cling = 0'
diff --git a/test/shell/lvconvert-repair-snapshot.sh b/test/shell/lvconvert-repair-snapshot.sh
index 77fd217..473d561 100644
--- a/test/shell/lvconvert-repair-snapshot.sh
+++ b/test/shell/lvconvert-repair-snapshot.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 5
aux lvmconf 'allocation/maximise_cling = 0'
diff --git a/test/shell/lvconvert-repair-thin.sh b/test/shell/lvconvert-repair-thin.sh
index 8b0f117..6aa5590 100644
--- a/test/shell/lvconvert-repair-thin.sh
+++ b/test/shell/lvconvert-repair-thin.sh
@@ -12,7 +12,7 @@
# Test repairing of broken thin pool metadata
-. lib/test
+. lib/inittest
which mkfs.ext2 || skip
diff --git a/test/shell/lvconvert-repair-transient-dmeventd.sh b/test/shell/lvconvert-repair-transient-dmeventd.sh
index 1cda215..5347d88 100644
--- a/test/shell/lvconvert-repair-transient-dmeventd.sh
+++ b/test/shell/lvconvert-repair-transient-dmeventd.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux mirror_recovery_works || skip
aux prepare_vg 5
diff --git a/test/shell/lvconvert-repair-transient.sh b/test/shell/lvconvert-repair-transient.sh
index 21df1ef..99018ef 100644
--- a/test/shell/lvconvert-repair-transient.sh
+++ b/test/shell/lvconvert-repair-transient.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux mirror_recovery_works || skip
aux prepare_vg 5
diff --git a/test/shell/lvconvert-repair.sh b/test/shell/lvconvert-repair.sh
index db24710..91437a6 100644
--- a/test/shell/lvconvert-repair.sh
+++ b/test/shell/lvconvert-repair.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
recreate_vg_()
{
diff --git a/test/shell/lvconvert-snapshot.sh b/test/shell/lvconvert-snapshot.sh
index e38d69b..f59bb7b 100644
--- a/test/shell/lvconvert-snapshot.sh
+++ b/test/shell/lvconvert-snapshot.sh
@@ -12,7 +12,7 @@
# Test various supported conversion of snapshot
-. lib/test
+. lib/inittest
aux prepare_pvs 1
diff --git a/test/shell/lvconvert-thin-external.sh b/test/shell/lvconvert-thin-external.sh
index 5d52e60..676851e 100644
--- a/test/shell/lvconvert-thin-external.sh
+++ b/test/shell/lvconvert-thin-external.sh
@@ -12,7 +12,7 @@
# Test conversion to thin external origin
-. lib/test
+. lib/inittest
which mkfs.ext2 || skip
which fsck || skip
diff --git a/test/shell/lvconvert-thin-raid.sh b/test/shell/lvconvert-thin-raid.sh
index ae3d2ef..7e5efbd 100644
--- a/test/shell/lvconvert-thin-raid.sh
+++ b/test/shell/lvconvert-thin-raid.sh
@@ -10,7 +10,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux have_thin 1 0 0 || skip
aux have_raid 1 4 0 || skip
diff --git a/test/shell/lvconvert-thin.sh b/test/shell/lvconvert-thin.sh
index 2ce43b8..4a200bb 100644
--- a/test/shell/lvconvert-thin.sh
+++ b/test/shell/lvconvert-thin.sh
@@ -10,7 +10,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
prepare_lvs()
{
diff --git a/test/shell/lvconvert-twostep.sh b/test/shell/lvconvert-twostep.sh
index 6b1dd51..788b751 100644
--- a/test/shell/lvconvert-twostep.sh
+++ b/test/shell/lvconvert-twostep.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 4
diff --git a/test/shell/lvcreate-cache.sh b/test/shell/lvcreate-cache.sh
index 1c438e7..c4b4a75 100644
--- a/test/shell/lvcreate-cache.sh
+++ b/test/shell/lvcreate-cache.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux have_cache 1 3 0 || skip
diff --git a/test/shell/lvcreate-large-raid.sh b/test/shell/lvcreate-large-raid.sh
index 57a7765..286b068 100644
--- a/test/shell/lvcreate-large-raid.sh
+++ b/test/shell/lvcreate-large-raid.sh
@@ -11,7 +11,7 @@
# 'Exercise some lvcreate diagnostics'
-. lib/test
+. lib/inittest
# FIXME update test to make something useful on <16T
aux can_use_16T || skip
diff --git a/test/shell/lvcreate-large-raid10.sh b/test/shell/lvcreate-large-raid10.sh
index 5a15ee0..3c6ddcf 100644
--- a/test/shell/lvcreate-large-raid10.sh
+++ b/test/shell/lvcreate-large-raid10.sh
@@ -11,7 +11,7 @@
# 'Exercise some lvcreate diagnostics'
-. lib/test
+. lib/inittest
# FIXME update test to make something useful on <16T
aux can_use_16T || skip
diff --git a/test/shell/lvcreate-large.sh b/test/shell/lvcreate-large.sh
index 401191b..24fccb1 100644
--- a/test/shell/lvcreate-large.sh
+++ b/test/shell/lvcreate-large.sh
@@ -11,7 +11,7 @@
# 'Exercise some lvcreate diagnostics'
-. lib/test
+. lib/inittest
# FIXME update test to make something useful on <16T
aux can_use_16T || skip
diff --git a/test/shell/lvcreate-mirror.sh b/test/shell/lvcreate-mirror.sh
index 6b54081..a151126 100644
--- a/test/shell/lvcreate-mirror.sh
+++ b/test/shell/lvcreate-mirror.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 5 80
aux lvmconf 'allocation/maximise_cling = 0'
aux lvmconf 'allocation/mirror_logs_require_separate_pvs = 1'
diff --git a/test/shell/lvcreate-missing.sh b/test/shell/lvcreate-missing.sh
index dfc6e65..2b74052 100644
--- a/test/shell/lvcreate-missing.sh
+++ b/test/shell/lvcreate-missing.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 2
init_udev_transaction
diff --git a/test/shell/lvcreate-operation.sh b/test/shell/lvcreate-operation.sh
index 2aa96d2..fac7219 100644
--- a/test/shell/lvcreate-operation.sh
+++ b/test/shell/lvcreate-operation.sh
@@ -11,7 +11,7 @@
# 'Exercise some lvcreate diagnostics'
-. lib/test
+. lib/inittest
cleanup_lvs() {
lvremove -ff $vg
diff --git a/test/shell/lvcreate-pvtags.sh b/test/shell/lvcreate-pvtags.sh
index 1df07fc..b7c814f 100644
--- a/test/shell/lvcreate-pvtags.sh
+++ b/test/shell/lvcreate-pvtags.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_pvs 3
aux lvmconf 'allocation/maximise_cling = 0'
diff --git a/test/shell/lvcreate-raid.sh b/test/shell/lvcreate-raid.sh
index 76a606f..6bbc3fe 100644
--- a/test/shell/lvcreate-raid.sh
+++ b/test/shell/lvcreate-raid.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
lv_devices() {
test $3 -eq $(get lv_devices $1/$2 | wc -w)
diff --git a/test/shell/lvcreate-raid10.sh b/test/shell/lvcreate-raid10.sh
index ae02ab2..e334bd1 100644
--- a/test/shell/lvcreate-raid10.sh
+++ b/test/shell/lvcreate-raid10.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
lv_devices() {
test $3 -eq $(get lv_devices $1/$2 | wc -w)
diff --git a/test/shell/lvcreate-repair.sh b/test/shell/lvcreate-repair.sh
index 8971536..1690565 100644
--- a/test/shell/lvcreate-repair.sh
+++ b/test/shell/lvcreate-repair.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 3
diff --git a/test/shell/lvcreate-signature-wiping.sh b/test/shell/lvcreate-signature-wiping.sh
index f45a372..388c542 100644
--- a/test/shell/lvcreate-signature-wiping.sh
+++ b/test/shell/lvcreate-signature-wiping.sh
@@ -11,7 +11,7 @@
# 'Exercise signature wiping during lvcreate'
-. lib/test
+. lib/inittest
init_lv_() {
mkswap "$DM_DEV_DIR/$vg/$lv1"
diff --git a/test/shell/lvcreate-small-snap.sh b/test/shell/lvcreate-small-snap.sh
index 33532db..b29c5f8 100644
--- a/test/shell/lvcreate-small-snap.sh
+++ b/test/shell/lvcreate-small-snap.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_pvs
diff --git a/test/shell/lvcreate-striped-mirror.sh b/test/shell/lvcreate-striped-mirror.sh
index f02c658..eaa7fb8 100644
--- a/test/shell/lvcreate-striped-mirror.sh
+++ b/test/shell/lvcreate-striped-mirror.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 9
diff --git a/test/shell/lvcreate-thin-external.sh b/test/shell/lvcreate-thin-external.sh
index 1e5b333..74e5521 100644
--- a/test/shell/lvcreate-thin-external.sh
+++ b/test/shell/lvcreate-thin-external.sh
@@ -12,7 +12,7 @@
# Test creation of thin snapshots using external origin
-. lib/test
+. lib/inittest
which mkfs.ext2 || skip
which fsck || skip
diff --git a/test/shell/lvcreate-thin-power2.sh b/test/shell/lvcreate-thin-power2.sh
index e1effa4..ed62db3 100644
--- a/test/shell/lvcreate-thin-power2.sh
+++ b/test/shell/lvcreate-thin-power2.sh
@@ -13,7 +13,7 @@
# test support for non-power-of-2 thin chunk size
#
-. lib/test
+. lib/inittest
#
# Main
diff --git a/test/shell/lvcreate-thin-snap.sh b/test/shell/lvcreate-thin-snap.sh
index 6a6a842..6f29a28 100644
--- a/test/shell/lvcreate-thin-snap.sh
+++ b/test/shell/lvcreate-thin-snap.sh
@@ -10,7 +10,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
check_lv_field_modules_()
{
diff --git a/test/shell/lvcreate-thin.sh b/test/shell/lvcreate-thin.sh
index 7ea4fcf..9712652 100644
--- a/test/shell/lvcreate-thin.sh
+++ b/test/shell/lvcreate-thin.sh
@@ -13,7 +13,7 @@
# test currently needs to drop
# 'return NULL' in _lv_create_an_lv after log_error("Can't create %s without using "
-. lib/test
+. lib/inittest
check_lv_field_modules_()
{
diff --git a/test/shell/lvcreate-usage.sh b/test/shell/lvcreate-usage.sh
index 2a0e0a6..7ae6d25 100644
--- a/test/shell/lvcreate-usage.sh
+++ b/test/shell/lvcreate-usage.sh
@@ -11,7 +11,7 @@
# 'Exercise some lvcreate diagnostics'
-. lib/test
+. lib/inittest
aux prepare_pvs 4
aux pvcreate --metadatacopies 0 "$dev1"
diff --git a/test/shell/lvextend-percent-extents.sh b/test/shell/lvextend-percent-extents.sh
index 34654a0..9b5dc5d 100644
--- a/test/shell/lvextend-percent-extents.sh
+++ b/test/shell/lvextend-percent-extents.sh
@@ -11,7 +11,7 @@
# 'Check extents percentage arguments'
-. lib/test
+. lib/inittest
aux prepare_pvs 2 128
vgcreate $vg $(cat DEVICES)
diff --git a/test/shell/lvextend-snapshot-dmeventd.sh b/test/shell/lvextend-snapshot-dmeventd.sh
index 2bf552d..af8a927 100644
--- a/test/shell/lvextend-snapshot-dmeventd.sh
+++ b/test/shell/lvextend-snapshot-dmeventd.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
extend() {
lvextend --use-policies --config "activation { snapshot_autoextend_threshold = $1 }" $vg/snap
diff --git a/test/shell/lvextend-snapshot-policy.sh b/test/shell/lvextend-snapshot-policy.sh
index f396765..210e2fb 100644
--- a/test/shell/lvextend-snapshot-policy.sh
+++ b/test/shell/lvextend-snapshot-policy.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
which mkfs.ext2 || skip
diff --git a/test/shell/lvextend-thin-metadata-dmeventd.sh b/test/shell/lvextend-thin-metadata-dmeventd.sh
index 6e03d9d..44144c6 100644
--- a/test/shell/lvextend-thin-metadata-dmeventd.sh
+++ b/test/shell/lvextend-thin-metadata-dmeventd.sh
@@ -10,7 +10,7 @@
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Test autoextension of thin metadata volume
-. lib/test
+. lib/inittest
meta_percent_() {
get lv_field $vg/pool metadata_percent | cut -d. -f1
diff --git a/test/shell/lvm-init.sh b/test/shell/lvm-init.sh
index 8eb7814..c3f7ecf 100644
--- a/test/shell/lvm-init.sh
+++ b/test/shell/lvm-init.sh
@@ -13,7 +13,7 @@
# tests lvm initialization, and especially negative tests of error paths
#
-. lib/test
+. lib/inittest
aux prepare_devs 5
diff --git a/test/shell/lvmcache-exercise.sh b/test/shell/lvmcache-exercise.sh
index b7c584b..2aaf650 100644
--- a/test/shell/lvmcache-exercise.sh
+++ b/test/shell/lvmcache-exercise.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_pvs 5
diff --git a/test/shell/lvmetad-ambiguous.sh b/test/shell/lvmetad-ambiguous.sh
index 6ff055a..2e7c6c5 100644
--- a/test/shell/lvmetad-ambiguous.sh
+++ b/test/shell/lvmetad-ambiguous.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
test -e LOCAL_LVMETAD || skip
diff --git a/test/shell/lvmetad-disabled.sh b/test/shell/lvmetad-disabled.sh
index c344d7f..acb5f82 100644
--- a/test/shell/lvmetad-disabled.sh
+++ b/test/shell/lvmetad-disabled.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
test -e LOCAL_LVMETAD || skip
kill $(cat LOCAL_LVMETAD)
diff --git a/test/shell/lvmetad-dump.sh b/test/shell/lvmetad-dump.sh
index 9c9cd2b..0c3df3b 100644
--- a/test/shell/lvmetad-dump.sh
+++ b/test/shell/lvmetad-dump.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
test -e LOCAL_LVMETAD || skip
aux prepare_pvs 2
diff --git a/test/shell/lvmetad-lvm1.sh b/test/shell/lvmetad-lvm1.sh
index dcff55b..3745dd0 100644
--- a/test/shell/lvmetad-lvm1.sh
+++ b/test/shell/lvmetad-lvm1.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
test -e LOCAL_LVMETAD || skip
aux prepare_devs 2
diff --git a/test/shell/lvmetad-no-cluster.sh b/test/shell/lvmetad-no-cluster.sh
index 0c53822..85c1ea9 100644
--- a/test/shell/lvmetad-no-cluster.sh
+++ b/test/shell/lvmetad-no-cluster.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
test -e LOCAL_CLVMD || skip
aux prepare_vg 2
diff --git a/test/shell/lvmetad-override.sh b/test/shell/lvmetad-override.sh
index fe11658..ff4ad18 100644
--- a/test/shell/lvmetad-override.sh
+++ b/test/shell/lvmetad-override.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
test -e LOCAL_LVMETAD || skip
aux prepare_pvs 2
diff --git a/test/shell/lvmetad-pvs.sh b/test/shell/lvmetad-pvs.sh
index 80b421c..7f25490 100644
--- a/test/shell/lvmetad-pvs.sh
+++ b/test/shell/lvmetad-pvs.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_pvs 1 20000
pvs $(cat DEVICES) | grep "$dev1"
diff --git a/test/shell/lvmetad-pvscan-cache.sh b/test/shell/lvmetad-pvscan-cache.sh
index 7b161aa..d309e82 100644
--- a/test/shell/lvmetad-pvscan-cache.sh
+++ b/test/shell/lvmetad-pvscan-cache.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
test -e LOCAL_LVMETAD || skip
diff --git a/test/shell/lvmetad-pvscan-filter.sh b/test/shell/lvmetad-pvscan-filter.sh
index 73690a0..a3af1b2 100644
--- a/test/shell/lvmetad-pvscan-filter.sh
+++ b/test/shell/lvmetad-pvscan-filter.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
test -e LOCAL_LVMETAD || skip
diff --git a/test/shell/lvmetad-pvscan-nomda.sh b/test/shell/lvmetad-pvscan-nomda.sh
index 04c9c6b..c55cafb 100644
--- a/test/shell/lvmetad-pvscan-nomda.sh
+++ b/test/shell/lvmetad-pvscan-nomda.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
test -e LOCAL_LVMETAD || skip
kill $(cat LOCAL_LVMETAD)
diff --git a/test/shell/lvmetad-restart.sh b/test/shell/lvmetad-restart.sh
index 6e25f8a..6377c57 100644
--- a/test/shell/lvmetad-restart.sh
+++ b/test/shell/lvmetad-restart.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
test -e LOCAL_LVMETAD || skip
aux prepare_pvs 2
diff --git a/test/shell/lvmetad-test.sh b/test/shell/lvmetad-test.sh
index 934e985..6ebd9ad 100644
--- a/test/shell/lvmetad-test.sh
+++ b/test/shell/lvmetad-test.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_pvs 2
diff --git a/test/shell/lvmetad-warning.sh b/test/shell/lvmetad-warning.sh
index 365f70f..1c6c62b 100644
--- a/test/shell/lvmetad-warning.sh
+++ b/test/shell/lvmetad-warning.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
test -e LOCAL_LVMETAD || skip
aux prepare_pvs 2
diff --git a/test/shell/lvresize-mirror.sh b/test/shell/lvresize-mirror.sh
index b4bbb04..0b9f526 100644
--- a/test/shell/lvresize-mirror.sh
+++ b/test/shell/lvresize-mirror.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 5
diff --git a/test/shell/lvresize-raid.sh b/test/shell/lvresize-raid.sh
index d5288f8..8c7d909 100644
--- a/test/shell/lvresize-raid.sh
+++ b/test/shell/lvresize-raid.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux have_raid 1 3 0 || skip
diff --git a/test/shell/lvresize-raid10.sh b/test/shell/lvresize-raid10.sh
index 42cfeb4..aead385 100644
--- a/test/shell/lvresize-raid10.sh
+++ b/test/shell/lvresize-raid10.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux have_raid 1 3 0 || skip
diff --git a/test/shell/lvresize-rounding.sh b/test/shell/lvresize-rounding.sh
index e5425a2..d06dcf1 100644
--- a/test/shell/lvresize-rounding.sh
+++ b/test/shell/lvresize-rounding.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_pvs 3 22
diff --git a/test/shell/lvresize-thin-external-origin.sh b/test/shell/lvresize-thin-external-origin.sh
index 3499196..e4463e2 100644
--- a/test/shell/lvresize-thin-external-origin.sh
+++ b/test/shell/lvresize-thin-external-origin.sh
@@ -10,7 +10,7 @@
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Test resize of thin volume with external origin
-. lib/test
+. lib/inittest
aux have_thin 1 2 0 || skip
diff --git a/test/shell/lvresize-thin-metadata.sh b/test/shell/lvresize-thin-metadata.sh
index e62d8b6..a034d07 100644
--- a/test/shell/lvresize-thin-metadata.sh
+++ b/test/shell/lvresize-thin-metadata.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux have_thin 1 10 0 || skip
diff --git a/test/shell/lvresize-usage.sh b/test/shell/lvresize-usage.sh
index 65f6b1e..a235838 100644
--- a/test/shell/lvresize-usage.sh
+++ b/test/shell/lvresize-usage.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 2 80
diff --git a/test/shell/mda-rollback.sh b/test/shell/mda-rollback.sh
index aebbfb6..fa8e376 100644
--- a/test/shell/mda-rollback.sh
+++ b/test/shell/mda-rollback.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_devs 3
diff --git a/test/shell/mdata-strings.sh b/test/shell/mdata-strings.sh
index 0102d4b..a1598ad 100644
--- a/test/shell/mdata-strings.sh
+++ b/test/shell/mdata-strings.sh
@@ -11,7 +11,7 @@
# 'Test for proper escaping of strings in metadata (bz431474)'
-. lib/test
+. lib/inittest
# For udev impossible to create
test "$LVM_TEST_DEVDIR" = "/dev" && skip
diff --git a/test/shell/metadata-balance.sh b/test/shell/metadata-balance.sh
index 5efc412..5ee0eba 100644
--- a/test/shell/metadata-balance.sh
+++ b/test/shell/metadata-balance.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_devs 6
diff --git a/test/shell/metadata-dirs.sh b/test/shell/metadata-dirs.sh
index 852ce35..f4a41bc 100644
--- a/test/shell/metadata-dirs.sh
+++ b/test/shell/metadata-dirs.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_devs 3
diff --git a/test/shell/metadata.sh b/test/shell/metadata.sh
index b02e74a..3adb684 100644
--- a/test/shell/metadata.sh
+++ b/test/shell/metadata.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_devs 5
diff --git a/test/shell/mirror-names.sh b/test/shell/mirror-names.sh
index f5d1322..8094798 100644
--- a/test/shell/mirror-names.sh
+++ b/test/shell/mirror-names.sh
@@ -12,7 +12,7 @@
test_description="check namings of mirrored LV"
-. lib/test
+. lib/inittest
# ---------------------------------------------------------------------
# Utilities
diff --git a/test/shell/mirror-vgreduce-removemissing.sh b/test/shell/mirror-vgreduce-removemissing.sh
index 340a333..62847ae 100644
--- a/test/shell/mirror-vgreduce-removemissing.sh
+++ b/test/shell/mirror-vgreduce-removemissing.sh
@@ -12,7 +12,7 @@
test_description="ensure that 'vgreduce --removemissing' works on mirrored LV"
-. lib/test
+. lib/inittest
lv_is_on_ ()
{
diff --git a/test/shell/name-mangling.sh b/test/shell/name-mangling.sh
index fe54de4..ee34994 100644
--- a/test/shell/name-mangling.sh
+++ b/test/shell/name-mangling.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
# This test is not using any lvm command
# so skip duplicate CLMVD and lvmetad test
diff --git a/test/shell/nomda-missing.sh b/test/shell/nomda-missing.sh
index 946eecd..7de458b 100644
--- a/test/shell/nomda-missing.sh
+++ b/test/shell/nomda-missing.sh
@@ -10,7 +10,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_devs 4
pvcreate "$dev1" "$dev2"
diff --git a/test/shell/nomda-restoremissing.sh b/test/shell/nomda-restoremissing.sh
index 3dcd41e..01a77d0 100644
--- a/test/shell/nomda-restoremissing.sh
+++ b/test/shell/nomda-restoremissing.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 3
diff --git a/test/shell/orphan-ondisk.sh b/test/shell/orphan-ondisk.sh
index 266d74b..8395073 100644
--- a/test/shell/orphan-ondisk.sh
+++ b/test/shell/orphan-ondisk.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 2
vgreduce $vg "$dev1" 2>&1 | not grep -i 'parse error'
diff --git a/test/shell/pool-labels.sh b/test/shell/pool-labels.sh
index b5cbbdc..a2163e8 100644
--- a/test/shell/pool-labels.sh
+++ b/test/shell/pool-labels.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
# lvmetad does not handle pool labels so skip test.
test ! -e LOCAL_LVMETAD || skip
diff --git a/test/shell/process-each-duplicate-vgnames.sh b/test/shell/process-each-duplicate-vgnames.sh
index 5138d22..5867fd1 100644
--- a/test/shell/process-each-duplicate-vgnames.sh
+++ b/test/shell/process-each-duplicate-vgnames.sh
@@ -7,7 +7,7 @@
test_description='Test vgs with duplicate vg names'
-. lib/test
+. lib/inittest
aux prepare_devs 2
diff --git a/test/shell/process-each-lv.sh b/test/shell/process-each-lv.sh
index 207f1ba..0260951 100644
--- a/test/shell/process-each-lv.sh
+++ b/test/shell/process-each-lv.sh
@@ -11,7 +11,7 @@
test_description='Exercise toollib process_each_lv'
-. lib/test
+. lib/inittest
aux prepare_devs 10
diff --git a/test/shell/process-each-vg.sh b/test/shell/process-each-vg.sh
index 90c0dbc..e8690f5 100644
--- a/test/shell/process-each-vg.sh
+++ b/test/shell/process-each-vg.sh
@@ -11,7 +11,7 @@
test_description='Exercise toollib process_each_vg'
-. lib/test
+. lib/inittest
aux prepare_devs 6
diff --git a/test/shell/profiles-thin.sh b/test/shell/profiles-thin.sh
index 25c12eb..704ef2d 100644
--- a/test/shell/profiles-thin.sh
+++ b/test/shell/profiles-thin.sh
@@ -13,7 +13,7 @@
# test thin profile functionality
#
-. lib/test
+. lib/inittest
DEV_SIZE=32
diff --git a/test/shell/profiles.sh b/test/shell/profiles.sh
index 49b8b9c..e054c88 100644
--- a/test/shell/profiles.sh
+++ b/test/shell/profiles.sh
@@ -13,7 +13,7 @@
# test basic profile functionality
#
-. lib/test
+. lib/inittest
MSG_FAILED_TO_APPLY_CMD_PROFILE="Failed to apply command profile"
MSG_IGNORING_INVALID_CMD_PROFILE="Ignoring invalid command profile"
diff --git a/test/shell/pv-duplicate-uuid.sh b/test/shell/pv-duplicate-uuid.sh
index cc5f56b..1763142 100644
--- a/test/shell/pv-duplicate-uuid.sh
+++ b/test/shell/pv-duplicate-uuid.sh
@@ -10,7 +10,7 @@
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Test 'Found duplicate' is shown
-. lib/test
+. lib/inittest
aux prepare_devs 3
diff --git a/test/shell/pv-duplicate.sh b/test/shell/pv-duplicate.sh
index f315d86..ede9600 100644
--- a/test/shell/pv-duplicate.sh
+++ b/test/shell/pv-duplicate.sh
@@ -11,7 +11,7 @@
# 'Exercise duplicate metadata diagnostics'
-. lib/test
+. lib/inittest
aux prepare_devs 3
diff --git a/test/shell/pv-min-size.sh b/test/shell/pv-min-size.sh
index 59250cf..d29e94c 100644
--- a/test/shell/pv-min-size.sh
+++ b/test/shell/pv-min-size.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
# use small default size - 512KB
aux lvmconf 'devices/pv_min_size = 512'
diff --git a/test/shell/pv-range-overflow.sh b/test/shell/pv-range-overflow.sh
index 0f353dd..4caee02 100644
--- a/test/shell/pv-range-overflow.sh
+++ b/test/shell/pv-range-overflow.sh
@@ -11,7 +11,7 @@
# 'Ensure that pvmove diagnoses PE-range values 2^32 and larger.'
-. lib/test
+. lib/inittest
aux prepare_vg 2
diff --git a/test/shell/pvchange-usage.sh b/test/shell/pvchange-usage.sh
index 71388de..ac63aec 100644
--- a/test/shell/pvchange-usage.sh
+++ b/test/shell/pvchange-usage.sh
@@ -11,7 +11,7 @@
# 'Test pvchange option values'
-. lib/test
+. lib/inittest
check_changed_uuid_() {
test "$1" != "$(get pv_field "$2" uuid)" || die "UUID has not changed!"
diff --git a/test/shell/pvcreate-bootloaderarea.sh b/test/shell/pvcreate-bootloaderarea.sh
index 0fa6022..42349e4 100644
--- a/test/shell/pvcreate-bootloaderarea.sh
+++ b/test/shell/pvcreate-bootloaderarea.sh
@@ -11,7 +11,7 @@
test_description='Test pvcreate bootloader area support'
-. lib/test
+. lib/inittest
aux prepare_devs 1
aux lvmconf 'global/suffix=0'
diff --git a/test/shell/pvcreate-ff.sh b/test/shell/pvcreate-ff.sh
index 72caf63..1cbf0ff 100644
--- a/test/shell/pvcreate-ff.sh
+++ b/test/shell/pvcreate-ff.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_devs 2
pvcreate "$dev1"
diff --git a/test/shell/pvcreate-metadata0.sh b/test/shell/pvcreate-metadata0.sh
index 01cb6be..263bd88 100644
--- a/test/shell/pvcreate-metadata0.sh
+++ b/test/shell/pvcreate-metadata0.sh
@@ -15,7 +15,7 @@
#
# 'Test pvcreate without metadata on all pvs'
-. lib/test
+. lib/inittest
aux prepare_devs 2 128
diff --git a/test/shell/pvcreate-operation-md.sh b/test/shell/pvcreate-operation-md.sh
index 9cad745..f959c0b 100644
--- a/test/shell/pvcreate-operation-md.sh
+++ b/test/shell/pvcreate-operation-md.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
# skip this test if mdadm or sfdisk (or others) aren't available
which mdadm || skip
diff --git a/test/shell/pvcreate-operation.sh b/test/shell/pvcreate-operation.sh
index e446b62..e72f2b9 100644
--- a/test/shell/pvcreate-operation.sh
+++ b/test/shell/pvcreate-operation.sh
@@ -8,7 +8,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux lvmconf 'devices/md_component_detection = 1'
diff --git a/test/shell/pvcreate-usage.sh b/test/shell/pvcreate-usage.sh
index 251746d..48d2ceb 100644
--- a/test/shell/pvcreate-usage.sh
+++ b/test/shell/pvcreate-usage.sh
@@ -12,7 +12,7 @@
test_description='Test pvcreate option values'
PAGESIZE=$(getconf PAGESIZE)
-. lib/test
+. lib/inittest
aux prepare_devs 4
diff --git a/test/shell/pvmove-all-segtypes.sh b/test/shell/pvmove-all-segtypes.sh
index 130a4e9..457054b 100644
--- a/test/shell/pvmove-all-segtypes.sh
+++ b/test/shell/pvmove-all-segtypes.sh
@@ -11,7 +11,7 @@
test_description="ensure pvmove works with all common segment types"
-. lib/test
+. lib/inittest
which md5sum || skip
diff --git a/test/shell/pvmove-background.sh b/test/shell/pvmove-background.sh
index f38d723..0cd5dd3 100644
--- a/test/shell/pvmove-background.sh
+++ b/test/shell/pvmove-background.sh
@@ -11,7 +11,7 @@
# Check pvmove behavior when it's progress and machine is rebooted
-. lib/test
+. lib/inittest
aux prepare_vg 3
diff --git a/test/shell/pvmove-basic.sh b/test/shell/pvmove-basic.sh
index 911bbf0..e58f5bf 100644
--- a/test/shell/pvmove-basic.sh
+++ b/test/shell/pvmove-basic.sh
@@ -12,7 +12,7 @@
test_description="ensure that pvmove works with basic options"
-. lib/test
+. lib/inittest
which md5sum || skip
diff --git a/test/shell/pvmove-cache-segtypes.sh b/test/shell/pvmove-cache-segtypes.sh
index c9f2078..0c1020e 100644
--- a/test/shell/pvmove-cache-segtypes.sh
+++ b/test/shell/pvmove-cache-segtypes.sh
@@ -11,7 +11,7 @@
test_description="ensure pvmove works with the cache segment types"
-. lib/test
+. lib/inittest
# pvmove fails when a RAID LV is the origin of a cache LV
# pvmoving cache types is currently disabled in tools/pvmove.c
diff --git a/test/shell/pvmove-raid-segtypes.sh b/test/shell/pvmove-raid-segtypes.sh
index f3f5cd5..dd12c1b 100644
--- a/test/shell/pvmove-raid-segtypes.sh
+++ b/test/shell/pvmove-raid-segtypes.sh
@@ -11,7 +11,7 @@
test_description="ensure pvmove works with raid segment types"
-. lib/test
+. lib/inittest
test -e LOCAL_CLVMD && skip
which md5sum || skip
diff --git a/test/shell/pvmove-restart.sh b/test/shell/pvmove-restart.sh
index b827632..9f30cf7 100644
--- a/test/shell/pvmove-restart.sh
+++ b/test/shell/pvmove-restart.sh
@@ -11,7 +11,7 @@
# Check pvmove behavior when it's progress and machine is rebooted
-. lib/test
+. lib/inittest
aux prepare_pvs 3 60
diff --git a/test/shell/pvmove-thin-segtypes.sh b/test/shell/pvmove-thin-segtypes.sh
index 4bd3b29..7819e6c 100644
--- a/test/shell/pvmove-thin-segtypes.sh
+++ b/test/shell/pvmove-thin-segtypes.sh
@@ -11,7 +11,7 @@
test_description="ensure pvmove works with thin segment types"
-. lib/test
+. lib/inittest
test -e LOCAL_CLVMD && skip
which md5sum || skip
diff --git a/test/shell/pvremove-thin.sh b/test/shell/pvremove-thin.sh
index e8af2af..5bfb880 100644
--- a/test/shell/pvremove-thin.sh
+++ b/test/shell/pvremove-thin.sh
@@ -12,7 +12,7 @@
# Checks we are not reading our own devices
# https://bugzilla.redhat.com/show_bug.cgi?id=1064374
-. lib/test
+. lib/inittest
aux prepare_vg
diff --git a/test/shell/pvremove-usage.sh b/test/shell/pvremove-usage.sh
index 52f04b8..3ebfd15 100644
--- a/test/shell/pvremove-usage.sh
+++ b/test/shell/pvremove-usage.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_devs 3
pvcreate "$dev1"
diff --git a/test/shell/read-ahead.sh b/test/shell/read-ahead.sh
index 26335f0..764bef1 100644
--- a/test/shell/read-ahead.sh
+++ b/test/shell/read-ahead.sh
@@ -15,7 +15,7 @@
test_description='Test read-ahead functionality'
-. lib/test
+. lib/inittest
aux prepare_vg 5
diff --git a/test/shell/snapshot-autoumount-dmeventd.sh b/test/shell/snapshot-autoumount-dmeventd.sh
index ddc41f7..9d5b8c5 100644
--- a/test/shell/snapshot-autoumount-dmeventd.sh
+++ b/test/shell/snapshot-autoumount-dmeventd.sh
@@ -11,7 +11,7 @@
# no automatic extensions please
-. lib/test
+. lib/inittest
which mkfs.ext2 || skip
diff --git a/test/shell/snapshot-lvm1.sh b/test/shell/snapshot-lvm1.sh
index 642dd6f..f6afe14 100644
--- a/test/shell/snapshot-lvm1.sh
+++ b/test/shell/snapshot-lvm1.sh
@@ -12,7 +12,7 @@
# regression test for lvmetad reporting error:
# Internal error: LV snap_with_lvm1_meta (00000000000000000000000000000001) missing from preload metadata
-. lib/test
+. lib/inittest
aux prepare_devs 2
diff --git a/test/shell/snapshot-maxsize.sh b/test/shell/snapshot-maxsize.sh
index e1380c6..f5be5a5 100644
--- a/test/shell/snapshot-maxsize.sh
+++ b/test/shell/snapshot-maxsize.sh
@@ -12,7 +12,7 @@
# Testing calculation of snapshot space
# https://bugzilla.redhat.com/show_bug.cgi?id=1035871
-. lib/test
+. lib/inittest
aux prepare_pvs 1
diff --git a/test/shell/snapshot-merge.sh b/test/shell/snapshot-merge.sh
index 8760e53..bebc9de 100644
--- a/test/shell/snapshot-merge.sh
+++ b/test/shell/snapshot-merge.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
which mkfs.ext3 || skip
diff --git a/test/shell/snapshot-reactivate.sh b/test/shell/snapshot-reactivate.sh
index 28e1d62..0fbdc62 100644
--- a/test/shell/snapshot-reactivate.sh
+++ b/test/shell/snapshot-reactivate.sh
@@ -15,7 +15,7 @@
# is triggered by kernel 3.14-rc[1..5]
# http://www.redhat.com/archives/dm-devel/2014-March/msg00005.html
#
-. lib/test
+. lib/inittest
# Snapshot should remain unmodified
check_s_() {
diff --git a/test/shell/snapshot-usage.sh b/test/shell/snapshot-usage.sh
index fd43650..3fc40e3 100644
--- a/test/shell/snapshot-usage.sh
+++ b/test/shell/snapshot-usage.sh
@@ -11,7 +11,7 @@
# no automatic extensions please
-. lib/test
+. lib/inittest
MKFS=mkfs.ext2
which $MKFS || skip
diff --git a/test/shell/snapshots-of-mirrors.sh b/test/shell/snapshots-of-mirrors.sh
index ac5cf85..07b163d 100644
--- a/test/shell/snapshots-of-mirrors.sh
+++ b/test/shell/snapshots-of-mirrors.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 4
diff --git a/test/shell/stray-device-node.sh b/test/shell/stray-device-node.sh
index cd6525f..0ff4796 100644
--- a/test/shell/stray-device-node.sh
+++ b/test/shell/stray-device-node.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_devs 3
cp -r "$dev1" "$DM_DEV_DIR/stray"
diff --git a/test/shell/tags.sh b/test/shell/tags.sh
index ee2f610..bc66d15 100644
--- a/test/shell/tags.sh
+++ b/test/shell/tags.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_pvs 4
diff --git a/test/shell/test-partition.sh b/test/shell/test-partition.sh
index f7e91b8..af04b4e 100644
--- a/test/shell/test-partition.sh
+++ b/test/shell/test-partition.sh
@@ -17,7 +17,7 @@
LVM_TEST_CONFIG_DEVICES="types = [\"device-mapper\", 142]"
-. lib/test
+. lib/inittest
which sfdisk || skip
diff --git a/test/shell/thin-autoumount-dmeventd.sh b/test/shell/thin-autoumount-dmeventd.sh
index bbffe8a..a77ad08 100644
--- a/test/shell/thin-autoumount-dmeventd.sh
+++ b/test/shell/thin-autoumount-dmeventd.sh
@@ -16,7 +16,7 @@ is_dir_mounted_()
cat /proc/mounts | sed 's:\\040: :g' | grep "$1"
}
-. lib/test
+. lib/inittest
#
# Main
diff --git a/test/shell/thin-defaults.sh b/test/shell/thin-defaults.sh
index 677d2f1..4f873cc 100644
--- a/test/shell/thin-defaults.sh
+++ b/test/shell/thin-defaults.sh
@@ -11,7 +11,7 @@
# test defaults entered through lvm.conf
-. lib/test
+. lib/inittest
#
# Main
diff --git a/test/shell/thin-merge.sh b/test/shell/thin-merge.sh
index 60234a6..d3275dd 100644
--- a/test/shell/thin-merge.sh
+++ b/test/shell/thin-merge.sh
@@ -11,7 +11,7 @@
# test merge of thin snapshot
-. lib/test
+. lib/inittest
MKFS=mkfs.ext2
which $MKFS || skip
diff --git a/test/shell/thin-restore.sh b/test/shell/thin-restore.sh
index 7580ae4..fd4118f 100644
--- a/test/shell/thin-restore.sh
+++ b/test/shell/thin-restore.sh
@@ -11,7 +11,7 @@
# test restore operation of thin pool metadata
-. lib/test
+. lib/inittest
#
# Main
diff --git a/test/shell/thin-vglock.sh b/test/shell/thin-vglock.sh
index 083fcd8..fe1ee11 100644
--- a/test/shell/thin-vglock.sh
+++ b/test/shell/thin-vglock.sh
@@ -12,7 +12,7 @@
# Test locking works and doesn't update metadata
# RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1063542
-. lib/test
+. lib/inittest
MKFS=mkfs.ext2
which $MKFS || skip
diff --git a/test/shell/topology-support.sh b/test/shell/topology-support.sh
index 4fa73be..a1af6d7 100644
--- a/test/shell/topology-support.sh
+++ b/test/shell/topology-support.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
which mkfs.ext3 || skip
diff --git a/test/shell/unknown-segment.sh b/test/shell/unknown-segment.sh
index b4a5dfd..b07e1b5 100644
--- a/test/shell/unknown-segment.sh
+++ b/test/shell/unknown-segment.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 4
diff --git a/test/shell/unlost-pv.sh b/test/shell/unlost-pv.sh
index 307a71b..980c451 100644
--- a/test/shell/unlost-pv.sh
+++ b/test/shell/unlost-pv.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
check_() {
# vgscan needs --cache option for direct scan if lvmetad is used
diff --git a/test/shell/vg-name-from-env.sh b/test/shell/vg-name-from-env.sh
index c399bb6..67ad5c5 100644
--- a/test/shell/vg-name-from-env.sh
+++ b/test/shell/vg-name-from-env.sh
@@ -7,7 +7,7 @@
test_description='Test the vg name for an lv from env var'
-. lib/test
+. lib/inittest
aux prepare_devs 2
diff --git a/test/shell/vgcfgbackup-usage.sh b/test/shell/vgcfgbackup-usage.sh
index bc09b5b..eb36983 100644
--- a/test/shell/vgcfgbackup-usage.sh
+++ b/test/shell/vgcfgbackup-usage.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_pvs 4
diff --git a/test/shell/vgchange-many.sh b/test/shell/vgchange-many.sh
index 491c8b1..16e0516 100644
--- a/test/shell/vgchange-many.sh
+++ b/test/shell/vgchange-many.sh
@@ -10,7 +10,7 @@
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Check perfomance of activation and deactivation
-. lib/test
+. lib/inittest
# FIXME: lvmetad fails with i.e. 1500 device on memory failure...
diff --git a/test/shell/vgchange-maxlv.sh b/test/shell/vgchange-maxlv.sh
index 99a6a79..35ce5d6 100644
--- a/test/shell/vgchange-maxlv.sh
+++ b/test/shell/vgchange-maxlv.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_dmeventd
aux prepare_pvs 3
diff --git a/test/shell/vgchange-partial.sh b/test/shell/vgchange-partial.sh
index ad99460..7fd9840 100644
--- a/test/shell/vgchange-partial.sh
+++ b/test/shell/vgchange-partial.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 2
diff --git a/test/shell/vgchange-sysinit.sh b/test/shell/vgchange-sysinit.sh
index 49c3bde..4debf42 100644
--- a/test/shell/vgchange-sysinit.sh
+++ b/test/shell/vgchange-sysinit.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
test -e LOCAL_CLVMD && skip
diff --git a/test/shell/vgchange-usage.sh b/test/shell/vgchange-usage.sh
index 0d57913..54734c1 100644
--- a/test/shell/vgchange-usage.sh
+++ b/test/shell/vgchange-usage.sh
@@ -11,7 +11,7 @@
test_description='Exercise some vgchange diagnostics'
-. lib/test
+. lib/inittest
aux prepare_pvs 4
diff --git a/test/shell/vgck.sh b/test/shell/vgck.sh
index b6858cb..629b6e7 100644
--- a/test/shell/vgck.sh
+++ b/test/shell/vgck.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 3
lvcreate -n blabla -L 1 $vg
diff --git a/test/shell/vgcreate-usage.sh b/test/shell/vgcreate-usage.sh
index bf7d3b3..a1d178d 100644
--- a/test/shell/vgcreate-usage.sh
+++ b/test/shell/vgcreate-usage.sh
@@ -11,7 +11,7 @@
test_description='Exercise some vgcreate diagnostics'
-. lib/test
+. lib/inittest
aux prepare_devs 3
pvcreate "$dev1" "$dev2"
diff --git a/test/shell/vgextend-restoremissing.sh b/test/shell/vgextend-restoremissing.sh
index 8812c8c..7b7748f 100644
--- a/test/shell/vgextend-restoremissing.sh
+++ b/test/shell/vgextend-restoremissing.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 3
diff --git a/test/shell/vgextend-usage.sh b/test/shell/vgextend-usage.sh
index 0e347c3..93401f0 100644
--- a/test/shell/vgextend-usage.sh
+++ b/test/shell/vgextend-usage.sh
@@ -13,7 +13,7 @@
# Exercise various vgextend commands
#
-. lib/test
+. lib/inittest
aux prepare_devs 5
diff --git a/test/shell/vgimportclone.sh b/test/shell/vgimportclone.sh
index 29c172e..c3d7e52 100644
--- a/test/shell/vgimportclone.sh
+++ b/test/shell/vgimportclone.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_devs 2
diff --git a/test/shell/vgmerge-operation.sh b/test/shell/vgmerge-operation.sh
index 0c0517c..261953e 100644
--- a/test/shell/vgmerge-operation.sh
+++ b/test/shell/vgmerge-operation.sh
@@ -11,7 +11,7 @@
test_description='Test vgmerge operation'
-. lib/test
+. lib/inittest
aux prepare_pvs 4 64
diff --git a/test/shell/vgmerge-usage.sh b/test/shell/vgmerge-usage.sh
index ef613d7..d8fa09c 100644
--- a/test/shell/vgmerge-usage.sh
+++ b/test/shell/vgmerge-usage.sh
@@ -11,7 +11,7 @@
# 'Test vgmerge command options for validity'
-. lib/test
+. lib/inittest
aux prepare_pvs 4
diff --git a/test/shell/vgreduce-removemissing-snapshot.sh b/test/shell/vgreduce-removemissing-snapshot.sh
index c587b17..1bea397 100644
--- a/test/shell/vgreduce-removemissing-snapshot.sh
+++ b/test/shell/vgreduce-removemissing-snapshot.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
exit 0
diff --git a/test/shell/vgreduce-usage.sh b/test/shell/vgreduce-usage.sh
index fab7496..52c5f36 100644
--- a/test/shell/vgreduce-usage.sh
+++ b/test/shell/vgreduce-usage.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_devs 4
diff --git a/test/shell/vgremove-corrupt-vg.sh b/test/shell/vgremove-corrupt-vg.sh
index 9e750ac..f709e4e 100644
--- a/test/shell/vgremove-corrupt-vg.sh
+++ b/test/shell/vgremove-corrupt-vg.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_vg 3
lvcreate -n blabla -L 1 $vg -an --zero n
diff --git a/test/shell/vgrename-usage.sh b/test/shell/vgrename-usage.sh
index 59576ac..de1b933 100644
--- a/test/shell/vgrename-usage.sh
+++ b/test/shell/vgrename-usage.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux prepare_devs 4
pvcreate "$dev1" "$dev2"
diff --git a/test/shell/vgsplit-operation.sh b/test/shell/vgsplit-operation.sh
index 4291dd4..8081b38 100644
--- a/test/shell/vgsplit-operation.sh
+++ b/test/shell/vgsplit-operation.sh
@@ -11,7 +11,7 @@
# Test vgsplit operation, including different LV types
-. lib/test
+. lib/inittest
COMM() {
LAST_TEST="$@"
diff --git a/test/shell/vgsplit-raid.sh b/test/shell/vgsplit-raid.sh
index 3174e88..a7c9687 100644
--- a/test/shell/vgsplit-raid.sh
+++ b/test/shell/vgsplit-raid.sh
@@ -11,7 +11,7 @@
# Test vgsplit operation, including different LV types
-. lib/test
+. lib/inittest
COMM() {
LAST_TEST="$@"
diff --git a/test/shell/vgsplit-stacked.sh b/test/shell/vgsplit-stacked.sh
index 4373b20..42010fc 100644
--- a/test/shell/vgsplit-stacked.sh
+++ b/test/shell/vgsplit-stacked.sh
@@ -9,7 +9,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-. lib/test
+. lib/inittest
aux extend_filter_LVMTEST
aux prepare_pvs 3
diff --git a/test/shell/vgsplit-thin.sh b/test/shell/vgsplit-thin.sh
index 8fed1af..7b06132 100644
--- a/test/shell/vgsplit-thin.sh
+++ b/test/shell/vgsplit-thin.sh
@@ -11,7 +11,7 @@
# Test vgsplit command options for validity
-. lib/test
+. lib/inittest
aux have_thin 1 0 0 || skip
diff --git a/test/shell/vgsplit-usage.sh b/test/shell/vgsplit-usage.sh
index 10167d7..fe999f9 100644
--- a/test/shell/vgsplit-usage.sh
+++ b/test/shell/vgsplit-usage.sh
@@ -11,7 +11,7 @@
# Test vgsplit command options for validity
-. lib/test
+. lib/inittest
aux prepare_devs 5
diff --git a/test/shell/zero-usage.sh b/test/shell/zero-usage.sh
index b140558..046b3f5 100644
--- a/test/shell/zero-usage.sh
+++ b/test/shell/zero-usage.sh
@@ -11,7 +11,7 @@
# Basic usage of zero target
-. lib/test
+. lib/inittest
which md5sum || skip
9 years, 3 months
master - tests: make timeouts longer
by Zdenek Kabelac
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=9f68aadb742b9c...
Commit: 9f68aadb742b9cbd70c5cf5d750b64ff534bc8b3
Parent: 9f9a196dc0ca12a7bbb98d2e1dd66bb5603f7226
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Fri Jun 6 17:36:38 2014 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Tue Jun 10 10:51:26 2014 +0200
tests: make timeouts longer
Add more time for tests, since debug kernels are getting slower...
and we add more and more tests.
However many test should be shortened to avoid testing disk-perfomance
and focus on lvm functionality...
(Often we should probably test with inactive volumes when we check
metadata operation of lvm2)
We may need to support option for 'DEEP' longer testing.
Also something like LVM_TEST_TIMEOUT_FACTOR might be useful
though it would be much better if test suite could approximete
from system perfomance test lenght...
---
test/lib/aux.sh | 2 +-
test/lib/harness.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/lib/aux.sh b/test/lib/aux.sh
index 3ececaf..f6f0d0b 100644
--- a/test/lib/aux.sh
+++ b/test/lib/aux.sh
@@ -750,7 +750,7 @@ udev_wait() {
# wait_for_sync <VG/LV>
wait_for_sync() {
local i
- for i in {1..500} ; do
+ for i in {1..3000} ; do
check in_sync $1 $2 && return
sleep .2
done
diff --git a/test/lib/harness.c b/test/lib/harness.c
index d7e51ee..5b08255 100644
--- a/test/lib/harness.c
+++ b/test/lib/harness.c
@@ -585,8 +585,8 @@ int main(int argc, char **argv) {
/* run the tests */
for (i = 1; !die && i < argc; ++i) {
run(i, argv[i]);
- if ( time(NULL) - harness_start > 3 * 3600 ) {
- printf("3 hours passed, giving up...\n");
+ if ( time(NULL) - harness_start > 48 * 360 ) { /* 04:48 */
+ printf("Nearly 5 hours passed, giving up...\n");
die = 1;
}
}
9 years, 3 months