1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-28 02:50:41 +03:00

man: lvmthin

Clean up inconsistencies in the last change.
Improve some bad formatting.
This commit is contained in:
David Teigland 2014-06-18 14:28:50 -05:00
parent 597de5c807
commit e96a4856e6

View File

@ -103,7 +103,7 @@ Create an LV that will hold thin pool data.
.I Example
.br
.B # lvcreate \-n pool0 \-L 10G vg
# lvcreate \-n pool0 \-L 10G vg
.SS 2. create ThinMetaLV
@ -113,7 +113,7 @@ Create an LV that will hold thin pool metadata.
.I Example
.br
.B # lvcreate \-n pool0meta \-L 1G vg
# lvcreate \-n pool0meta \-L 1G vg
# lvs
LV VG Attr LSize
@ -122,16 +122,18 @@ Create an LV that will hold thin pool metadata.
.SS 3. create ThinPoolLV
.nf
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.
.fi
.B lvconvert \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
.I Example
.br
.B # lvconvert \-\-thinpool vg/pool0 \-\-poolmetadata vg/pool0meta
# lvconvert \-\-thinpool vg/pool0 \-\-poolmetadata vg/pool0meta
# lvs vg/pool0
LV VG Attr LSize Pool Origin Data% Meta%
@ -145,26 +147,26 @@ The new ThinPoolLV takes the previous name of ThinDataLV.
.SS 4. create ThinLV
.nf
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.
.fi
.B lvcreate \-n ThinLV \-V VirtualSize \-\-thinpool VG/ThinPoolLV
.br
.B lvcreate \-T \-n ThinLV \-V VirtualSize VG/ThinPoolLV
.I Example
.br
Create a thin LV in a thin pool:
.br
.B # lvcreate \-T \-n thin1 \-V 1T vg/pool0
# lvcreate \-n thin1 \-V 1T \-\-thinpool vg/pool0
Create another thin LV in the same thin pool:
.br
.B # lvcreate \-n thin2 \-V 1T \-\-thinpool vg/pool0
# lvcreate \-n thin2 \-V 1T \-\-thinpool vg/pool0
# lvs vg/thin1 vg/thin2
LV VG Attr LSize Pool Origin Data%
@ -174,9 +176,12 @@ Create another thin LV in the same thin pool:
.SS 5. create SnapLV
Create snapshots of an existing ThinLV or SnapLV.
Do not \fBNOT\fP specify
.br
Do not specify
.BR \-L ", " \-\-size
since this would not create thin snapshot, but old COW volume.
when creating a thin snapshot.
.br
A size argument will cause an old COW snapshot to be created.
.B lvcreate \-n SnapLV \-s VG/ThinLV
.br
@ -186,15 +191,15 @@ since this would not create thin snapshot, but old COW volume.
.br
Create first snapshot of an existing ThinLV:
.br
.B # lvcreate \-n thin1s1 \-s vg/thin1
# lvcreate \-n thin1s1 \-s vg/thin1
Create second snapshot of the same ThinLV:
.br
.B # lvcreate \-n thin1s2 \-s vg/thin1
# lvcreate \-n thin1s2 \-s vg/thin1
Create a snapshot of the first snapshot:
.br
.B # lvcreate \-n thin1s1s1 \-s vg/thin1s1
# lvcreate \-n thin1s1s1 \-s vg/thin1s1
# lvs vg/thin1s1 vg/thin1s2 vg/thin1s1s1
LV VG Attr LSize Pool Origin
@ -202,7 +207,6 @@ Create a snapshot of the first snapshot:
thin1s2 vg Vwi---tz-k 1.00t pool0 thin1
thin1s1s1 vg Vwi---tz-k 1.00t pool0 thin1s1
.SS 6. activate SnapLV
Thin snapshots are created with the persistent "activation skip"
@ -213,7 +217,7 @@ or vgchange to activate thin snapshots with the "k" attribute.
.I Example
.br
.B # lvchange \-ay \-K vg/thin1s1
# lvchange \-ay \-K vg/thin1s1
# lvs vg/thin1s1
LV VG Attr LSize Pool Origin
@ -286,11 +290,11 @@ to use fast devices for the metadata LV.
.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
.nf
# 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)
.B thin_pool_metadata_require_separate_pvs
@ -314,11 +318,11 @@ pool metadata LV. This is especially recommended for pool metadata LVs.
.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
.nf
# 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
.SS Spare metadata LV
@ -339,17 +343,18 @@ One pmspare LV is kept in a VG to be used for any thin pool.
The pmspare LV cannot be created explicitly, but may be removed
explicitly.
.I Example
.br
.nf
Example
# lvcreate \-n pool0 \-L 10G vg
# lvcreate \-n pool0meta \-L 10G vg
# lvcreate \-n pool0meta \-L 1G vg
# lvconvert \-\-thinpool vg/pool0 \-\-poolmetadata vg/pool0meta
# lvs \-a
[lvol0_pmspare] vg ewi------- 10.00g
pool0 vg twi---tz-- 10.00g
[pool0_tdata] vg Twi------- 10.00g
[pool0_tmeta] vg ewi------- 1.00g
[lvol0_pmspare] vg ewi------- 10.00g
pool0 vg twi---tz-- 10.00g
[pool0_tdata] vg Twi------- 10.00g
[pool0_tmeta] vg ewi------- 1.00g
.fi
The "Metadata check and repair" section describes the use of
@ -383,9 +388,8 @@ the thin pool LV is not activated, and the thin pool metadata should
be repaired.
Command to repair a thin pool:
.nf
lvconvert \-\-repair VG/ThinPoolLV
.fi
.br
.B lvconvert \-\-repair VG/ThinPoolLV
Repair performs the following steps:
@ -413,9 +417,7 @@ If metadata is manually restored with thin_repair directly,
the pool metadata LV can be manually swapped with another LV
containing new metadata:
.nf
lvconvert \-\-thinpool VG/ThinPoolLV \-\-poolmetadata VG/NewThinMetaLV
.fi
.B lvconvert \-\-thinpool VG/ThinPoolLV \-\-poolmetadata VG/NewThinMetaLV
.SS Automatic pool metadata LV
@ -426,18 +428,20 @@ A thin data LV can be converted to a thin pool LV without
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
.B lvcreate \-n ThinDataLV \-L LargeSize VG
.br
.B lvconvert \-\-thinpool VG/ThinDataLV
Example
.I Example
.br
.nf
# lvcreate \-n pool0 \-L 10G vg
# lvconvert \-\-thinpool vg/pool0
# lvs \-a
pool0 vg twi-a-tz-- 10.00g
[pool0_tdata] vg Twi-ao---- 10.00g
[pool0_tmeta] vg ewi-ao---- 16.00m
pool0 vg twi-a-tz-- 10.00g
[pool0_tdata] vg Twi-ao---- 10.00g
[pool0_tmeta] vg ewi-ao---- 16.00m
.fi
@ -451,8 +455,8 @@ displayed by lvs:
.nf
# lvs vg/thin1s1
LV VG Attr LSize Pool Origin
thin1s1 vg Vwi---tz-k 1.00t pool0 thin1
LV VG Attr LSize Pool Origin
thin1s1 vg Vwi---tz-k 1.00t pool0 thin1
.fi
This flag causes the snapshot LV to be skipped, i.e. not activated,
@ -464,9 +468,8 @@ 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
.fi
.br
.B lvchange \-ay \-K VG/SnapLV
The persistent "activation skip" flag can be turned off during
lvcreate, or later with lvchange using the \-kn
@ -478,14 +481,12 @@ 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
.fi
.br
.B lvcreate \-kn \-n SnapLV \-s VG/ThinLV
Command to remove the activation skip flag from a snapshot LV:
.nf
lvchange \-kn VG/SnapLV
.fi
.br
.B lvchange \-kn VG/SnapLV
.BR lvm.conf (5)
.B auto_set_activation_skip
@ -518,24 +519,25 @@ 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.
.nf
Command to extend thin pool data space:
lvextend \-L Size VG/ThinPoolLV
Example
.br
.B lvextend \-L Size VG/ThinPoolLV
.I Example
.br
.nf
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
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
@ -551,26 +553,25 @@ The available metadata space in a thin pool LV can be displayed
with the lvs \-o+metadata_percent command.
Command to extend thin pool metadata space:
.nf
lvextend \-L Size VG/ThinPoolLV_tmeta
.fi
Example
.br
.B lvextend \-L Size VG/ThinPoolLV_tmeta
.I Example
.br
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%
pool0 20.00g 13.48 12.40
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
LV Attr LSize
pool0 twi-a-tz-- 20.00g
[pool0_tdata] Twi-ao---- 20.00g
[pool0_tmeta] ewi-ao---- 12.00m
LV Attr LSize
pool0 twi-a-tz-- 20.00g
[pool0_tdata] Twi-ao---- 20.00g
[pool0_tmeta] ewi-ao---- 12.00m
.fi
3. Double the amount of physical space in the thin metadata LV.
@ -581,10 +582,10 @@ pool0 twi-a-tz-- 20.00g
4. The percentage of used metadata blocks is half the previous value.
.nf
# lvs \-a \-oname,size,data_percent,metadata_percent vg
LV LSize Data% Meta%
pool0 20.00g 13.48 6.20
[pool0_tdata] 20.00g
[pool0_tmeta] 24.00m
LV LSize Data% Meta%
pool0 20.00g 13.48 6.20
[pool0_tdata] 20.00g
[pool0_tmeta] 24.00m
.fi
@ -598,8 +599,8 @@ the fstrim command can return space back to the thin pool that had
been used by removed files. fstrim uses discards and will not work
if the thin pool LV has discards mode set to ignore.
Example
.I Example
.br
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
@ -658,9 +659,7 @@ LVs.
Command to enable or disable the monitoring and automatic extension
of an existing thin pool LV:
.nf
lvchange \-\-monitor {y|n} VG/ThinPoolLV
.fi
.B lvchange \-\-monitor {y|n} VG/ThinPoolLV
.BR lvm.conf (5)
.B thin_pool_autoextend_threshold thin_pool_autoextend_percent
@ -679,8 +678,8 @@ be added to the thin pool, in percent of its current size.
Warnings are emitted through syslog when the use of a pool reaches 80%,
85%, 90% and 95%.
Example
.I Example
.br
If thin_pool_autoextend_threshold is 70 and thin_pool_autoextend_percent is 20,
whenever a pool exceeds 70% usage, it will be extended by another 20%.
For a 1G pool, using 700M will trigger a resize to 1.2G. When the usage exceeds
@ -699,8 +698,8 @@ the thin pool LV:
.nf
# lvs vg/pool0
LV VG Attr LSize Pool Origin Data%
pool0 vg twi-a-tz-- 512.00m 100.00
LV VG Attr LSize Pool Origin Data%
pool0 vg twi-a-tz-- 512.00m 100.00
.fi
A thin pool can run out of data blocks for any of the following reasons:
@ -735,8 +734,8 @@ for the thin pool LV:
.nf
# lvs \-o lv_name,size,data_percent,metadata_percent vg/pool0
LV LSize Data% Meta%
pool0 100.00
LV LSize Data% Meta%
pool0 100.00
.fi
The same reasons for thin pool data space exhaustion apply to thin pool
@ -769,14 +768,12 @@ 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
.fi
.br
.B lvconvert \-Z{y|n} \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
Command to change the zeroing mode of an existing thin pool LV:
.nf
lvchange \-Z{y|n} VG/ThinPoolLV
.fi
.br
.B lvchange \-Z{y|n} VG/ThinPoolLV
If zeroing mode is changed from "n" to "y", previously provisioned
blocks are not zeroed.
@ -808,23 +805,22 @@ pass the discards down the the underlying device. This is the default
mode.
Command to display the current discard mode of a thin pool LV:
.nf
lvs \-o+discards VG/ThinPoolLV
.fi
.br
.B lvs \-o+discards VG/ThinPoolLV
Command to set the discard mode when creating a thin pool LV:
.nf
lvconvert \-\-discards {ignore|nopassdown|passdown}
\-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
.fi
.br
.B lvconvert \-\-discards {ignore|nopassdown|passdown}
.br
.B " " \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
Command to change the discard mode of an existing thin pool LV:
.nf
lvchange \-\-discards {ignore|nopassdown|passdown} VG/ThinPoolLV
.fi
.br
.B lvchange \-\-discards {ignore|nopassdown|passdown} VG/ThinPoolLV
.I Example
.br
.nf
Example
# lvs \-o name,discards vg/pool0
pool0 passdown
@ -851,12 +847,14 @@ a larger value is optimal. To optimize for a lot of snapshotting,
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
.br
.B lvs \-o+chunksize VG/ThinPoolLV
Example
.I Example
.br
.nf
# lvs \-o name,chunksize
pool0 64.00k
pool0 64.00k
.fi
.BR lvm.conf (5)
@ -895,19 +893,19 @@ to take thin snapshots of external, read only LVs. Writes to the
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
.B lvcreate \-n SnapLV \-s VG/ExternalOriginLV \-\-thinpool VG/ThinPoolLV
Example
.I Example
.br
.nf
# lvchange \-an vg/lve
# lvchange \-\-permission r vg/lve
# lvcreate \-\-type thin \-n snaplve \-s vg/lve \-\-thinpool vg/pool0
# lvcreate \-n snaplve \-s vg/lve \-\-thinpool vg/pool0
# lvs vg/lve vg/snaplve
LV VG Attr LSize Pool Origin Data%
lve vg ori------- 10.00g
snaplve vg Vwi-a-tz-- 10.00g pool0 lve 0.00
LV VG Attr LSize Pool Origin Data%
lve vg ori------- 10.00g
snaplve vg Vwi-a-tz-- 10.00g pool0 lve 0.00
.fi
@ -927,23 +925,25 @@ Convert ExampleLV into a read only external LV with the new name
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
.B lvconvert \-\-type thin \-\-thinpool VG/ThinPoolLV
.br
.B " " \-\-originname NewExternalOriginLV \-\-thin VG/ExampleLV
Example
.I Example
.br
.nf
# lvcreate \-n lv_example \-L 10G vg
# lvs
lv_example vg -wi-a----- 10.00g
lv_example vg -wi-a----- 10.00g
# lvconvert \-\-type thin \-\-thinpool vg/pool0
\-\-originname lv_external \-\-thin vg/lv_example
# lvs
LV VG Attr LSize Pool Origin
lv_example vg Vwi-a-tz-- 10.00g pool0 lv_external
lv_external vg ori------- 10.00g
LV VG Attr LSize Pool Origin
lv_example vg Vwi-a-tz-- 10.00g pool0 lv_external
lv_external vg ori------- 10.00g
.fi
@ -956,20 +956,21 @@ rather than using lvconvert on existing LVs.
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
.B lvcreate \-L LargeSize \-\-thinpool VG/ThinPoolLV
Example
.I Example
.br
.nf
# lvcreate \-L8M \-\-thinpool vg/pool0
# lvs vg/pool0
LV VG Attr LSize Pool Origin Data%
pool0 vg twi-a-tz-- 8.00m 0.00
LV VG Attr LSize Pool Origin Data%
pool0 vg twi-a-tz-- 8.00m 0.00
# lvs \-a
pool0 vg twi-a-tz-- 8.00m
[pool0_tdata] vg Twi-ao---- 8.00m
[pool0_tmeta] vg ewi-ao---- 8.00m
pool0 vg twi-a-tz-- 8.00m
[pool0_tdata] vg Twi-ao---- 8.00m
[pool0_tmeta] vg ewi-ao---- 8.00m
.fi
@ -986,21 +987,24 @@ and creates a thin LV in the new pool.
.br
\-V VirtualSize specifies the virtual size of the thin LV.
.nf
lvcreate \-L LargeSize \-V VirtualSize \-n ThinLV \-\-thinpool VG/ThinPoolLV
.B 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
.br
.B lvcreate \-L LargeSize \-\-thinpool VG/ThinPoolLV
.br
.B lvcreate \-n ThinLV \-V VirtualSize \-\-thinpool VG/ThinPoolLV
Example
.I Example
.br
.nf
# lvcreate \-L8M \-V2G \-n thin1 \-\-thinpool vg/pool0
# lvs \-a
pool0 vg twi-a-tz-- 8.00m
[pool0_tdata] vg Twi-ao---- 8.00m
[pool0_tmeta] vg ewi-ao---- 8.00m
thin1 vg Vwi-a-tz-- 2.00g pool0
pool0 vg twi-a-tz-- 8.00m
[pool0_tdata] vg Twi-ao---- 8.00m
[pool0_tmeta] vg ewi-ao---- 8.00m
thin1 vg Vwi-a-tz-- 2.00g pool0
.fi
@ -1018,34 +1022,35 @@ LVs are open, e.g. mounted. If a merge is initiated while the LVs are open,
the effect of the merge is delayed until the origin thin LV is next
activated.
.nf
lvconvert \-\-merge VG/SnapLV
.B lvconvert \-\-merge VG/SnapLV
Example
.I Example
.br
.nf
# lvs vg
LV VG Attr LSize Pool Origin
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
LV VG Attr LSize Pool Origin
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
# lvs vg
LV VG Attr LSize Pool Origin
pool0 vg twi-a-tz-- 10.00g
thin1 vg Vwi-a-tz-- 100.00g pool0
LV VG Attr LSize Pool Origin
pool0 vg twi-a-tz-- 10.00g
thin1 vg Vwi-a-tz-- 100.00g pool0
.fi
.I Example
.br
.nf
Example
Delayed merging of open LVs.
# lvs vg
LV VG Attr LSize Pool Origin
pool0 vg twi-a-tz-- 10.00g
thin1 vg Vwi-aotz-- 100.00g pool0
thin1s1 vg Vwi-aotz-k 100.00g pool0 thin1
LV VG Attr LSize Pool Origin
pool0 vg twi-a-tz-- 10.00g
thin1 vg Vwi-aotz-- 100.00g pool0
thin1s1 vg Vwi-aotz-k 100.00g pool0 thin1
# df
/dev/mapper/vg-thin1 100G 33M 100G 1% /mnt/X
@ -1065,12 +1070,12 @@ Merging of thin snapshot thin1s1 will occur on next activation.
# umount /mnt/Xs
# lvs \-a vg
LV VG Attr LSize Pool Origin
pool0 vg twi-a-tz-- 10.00g
[pool0_tdata] vg Twi-ao---- 10.00g
[pool0_tmeta] vg ewi-ao---- 1.00g
thin1 vg Owi-a-tz-- 100.00g pool0
[thin1s1] vg Swi-a-tz-k 100.00g pool0 thin1
LV VG Attr LSize Pool Origin
pool0 vg twi-a-tz-- 10.00g
[pool0_tdata] vg Twi-ao---- 10.00g
[pool0_tmeta] vg ewi-ao---- 1.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