1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

man lvmraid: fix line wrapping in examples

This commit is contained in:
David Teigland 2017-04-11 14:17:08 -05:00
parent c448dcb349
commit 1dfb4a2dae

View File

@ -1127,9 +1127,9 @@ Convert it from 3-way striped to 5-way-striped.
.nf .nf
# lvconvert --stripes 5 vg/lv # lvconvert --stripes 5 vg/lv
Using default stripesize 64.00 KiB. Using default stripesize 64.00 KiB.
WARNING: Adding stripes to active logical volume vg/lv will \ WARNING: Adding stripes to active logical volume vg/lv will \\
grow it from 99 to 165 extents! grow it from 99 to 165 extents!
Run "lvresize -l99 vg/lv" to shrink it or use the additional \ Run "lvresize -l99 vg/lv" to shrink it or use the additional \\
capacity. capacity.
Logical volume vg/lv successfully converted. Logical volume vg/lv successfully converted.
@ -1141,10 +1141,10 @@ Convert it from 3-way striped to 5-way-striped.
# lvs -a -o lv_name,attr,segtype,seg_pe_ranges,dataoffset vg # lvs -a -o lv_name,attr,segtype,seg_pe_ranges,dataoffset vg
LV Attr Type PE Ranges DOff LV Attr Type PE Ranges DOff
lv rwi-a-r--- raid6_nr lv_rimage_0:0-33 \ lv rwi-a-r--- raid6_nr lv_rimage_0:0-33 \\
lv_rimage_1:0-33 \ lv_rimage_1:0-33 \\
lv_rimage_2:0-33 ... \ lv_rimage_2:0-33 ... \\
lv_rimage_5:0-33 \ lv_rimage_5:0-33 \\
lv_rimage_6:0-33 0 lv_rimage_6:0-33 0
[lv_rimage_0] iwi-aor--- linear /dev/sda:0-32 0 [lv_rimage_0] iwi-aor--- linear /dev/sda:0-32 0
[lv_rimage_0] iwi-aor--- linear /dev/sda:34-34 [lv_rimage_0] iwi-aor--- linear /dev/sda:34-34
@ -1173,22 +1173,22 @@ The force option needs to be used, because removing stripes
.nf .nf
# lvconvert --stripes 4 vg/lv # lvconvert --stripes 4 vg/lv
Using default stripesize 64.00 KiB. Using default stripesize 64.00 KiB.
WARNING: Removing stripes from active logical volume vg/lv will \ WARNING: Removing stripes from active logical volume vg/lv will \\
shrink it from 660.00 MiB to 528.00 MiB! shrink it from 660.00 MiB to 528.00 MiB!
THIS MAY DESTROY (PARTS OF) YOUR DATA! THIS MAY DESTROY (PARTS OF) YOUR DATA!
If that leaves the logical volume larger than 206 extents due \ If that leaves the logical volume larger than 206 extents due \\
to stripe rounding, to stripe rounding,
you may want to grow the content afterwards (filesystem etc.) you may want to grow the content afterwards (filesystem etc.)
WARNING: too remove freed stripes after the conversion has finished,\ WARNING: to remove freed stripes after the conversion has finished,\\
you have to run "lvconvert --stripes 4 vg/lv" you have to run "lvconvert --stripes 4 vg/lv"
Logical volume vg/lv successfully converted. Logical volume vg/lv successfully converted.
# lvs -a -o lv_name,attr,segtype,seg_pe_ranges,dataoffset vg # lvs -a -o lv_name,attr,segtype,seg_pe_ranges,dataoffset vg
LV Attr Type PE Ranges DOff LV Attr Type PE Ranges DOff
lv rwi-a-r-s- raid6_nr lv_rimage_0:0-33 \ lv rwi-a-r-s- raid6_nr lv_rimage_0:0-33 \\
lv_rimage_1:0-33 \ lv_rimage_1:0-33 \\
lv_rimage_2:0-33 ... \ lv_rimage_2:0-33 ... \\
lv_rimage_5:0-33 lv_rimage_5:0-33 \\
lv_rimage_6:0-33 0 lv_rimage_6:0-33 0
[lv_rimage_0] Iwi-aor--- linear /dev/sda:0-32 0 [lv_rimage_0] Iwi-aor--- linear /dev/sda:0-32 0
[lv_rimage_0] Iwi-aor--- linear /dev/sda:34-34 [lv_rimage_0] Iwi-aor--- linear /dev/sda:34-34
@ -1215,10 +1215,10 @@ The 'R' in the same column of the attribute field shows the freed image Sub LVs
.nf .nf
# lvs -o lv_name,attr,segtype,seg_pe_ranges,dataoffset vg # lvs -o lv_name,attr,segtype,seg_pe_ranges,dataoffset vg
LV Attr Type PE Ranges DOff LV Attr Type PE Ranges DOff
lv rwi-a-r-R- raid6_nr lv_rimage_0:0-33 \ lv rwi-a-r-R- raid6_nr lv_rimage_0:0-33 \\
lv_rimage_1:0-33 \ lv_rimage_1:0-33 \\
lv_rimage_2:0-33 ... \ lv_rimage_2:0-33 ... \\
lv_rimage_5:0-33 lv_rimage_5:0-33 \\
lv_rimage_6:0-33 8192 lv_rimage_6:0-33 8192
.fi .fi