mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-23 21:35:29 +03:00
Update lvresize/extend/reduce manpages with --nofsck, --resizefs options
This commit is contained in:
parent
9ca07f4298
commit
41ff900c99
@ -1,5 +1,6 @@
|
||||
Version 2.02.68 -
|
||||
===============================
|
||||
Update lvresize/extend/reduce manpages with --nofsck, --resizefs options.
|
||||
Fix lvm2cmd example in documentation.
|
||||
Allow use of lvm2app and lvm2cmd headers in C++ mode.
|
||||
Fix wrong lvm path creation from configure introduced in previous release.
|
||||
|
@ -9,6 +9,9 @@ lvextend \- extend the size of a logical volume
|
||||
[\-i|\-\-stripes Stripes [\-I|\-\-stripesize StripeSize]]
|
||||
{\-l|\-\-extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] |
|
||||
\-L|\-\-size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}
|
||||
[\-f|\-\-force]
|
||||
[\-n|\-\-nofsck]
|
||||
[\-r|\-\-resizefs]
|
||||
[\-t|\-\-test]
|
||||
[\-v|\-\-verbose] LogicalVolumePath [PhysicalVolumePath[:PE[-PE]]...]
|
||||
.SH DESCRIPTION
|
||||
@ -60,6 +63,18 @@ Not applicable to LVs using the original metadata LVM format, which must
|
||||
use a single value throughout.
|
||||
.br
|
||||
StripeSize must be 2^n (n = 2 to 9)
|
||||
.TP
|
||||
.I \-f, \-\-force
|
||||
Force size extension without any question.
|
||||
.TP
|
||||
.I \-n, \-\-nofsck
|
||||
Do not perform fsck before extending filesystem when filesystem
|
||||
requires it. You may need to use \fB--force\fR to proceed with
|
||||
this option.
|
||||
.TP
|
||||
.I \-r, \-\-resizefs
|
||||
Resize underlying filesystem together with logical volume size.
|
||||
\fBfsadm\fR tool is used for filesystem resize.
|
||||
.SH Examples
|
||||
"lvextend -L +54 /dev/vg01/lvol10 /dev/sdk3" tries to extend the size of
|
||||
that logical volume by 54MB on physical volume /dev/sdk3.
|
||||
@ -77,6 +92,7 @@ tries to extend a logical volume "vg01/lvol01" by 16MB using physical extents
|
||||
/dev/sda:8-9 and /dev/sdb:8-9 for allocation of extents.
|
||||
|
||||
.SH SEE ALSO
|
||||
.BR fsadm (8),
|
||||
.BR lvm (8),
|
||||
.BR lvcreate (8),
|
||||
.BR lvconvert (8),
|
||||
|
@ -8,6 +8,8 @@ lvreduce \- reduce the size of a logical volume
|
||||
[\-\-noudevsync]
|
||||
{\-l|\-\-extents [\-]LogicalExtentsNumber[%{VG|LV|FREE|ORIGIN}] |
|
||||
\-L|\-\-size [\-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}
|
||||
[\-n|\-\-nofsck]
|
||||
[\-r|\-\-resizefs]
|
||||
[\-t|\-\-test]
|
||||
[\-v|\-\-verbose] LogicalVolume[Path]
|
||||
.SH DESCRIPTION
|
||||
@ -64,10 +66,20 @@ or e for exabytes is optional.
|
||||
With the - sign the value will be subtracted from
|
||||
the logical volume's actual size and without it it will be taken as
|
||||
an absolute size.
|
||||
.TP
|
||||
.I \-n, \-\-nofsck
|
||||
Do not perform fsck before resizing filesystem when filesystem
|
||||
requires it. You may need to use \fB--force\fR to proceed with
|
||||
this option. Note: using this option is dangerous.
|
||||
.TP
|
||||
.I \-r, \-\-resizefs
|
||||
Resize underlying filesystem together with logical volume size.
|
||||
\fBfsadm\fR tool is used for filesystem resize.
|
||||
.SH Example
|
||||
"lvreduce -l -3 vg00/lvol1" reduces the size of logical volume lvol1
|
||||
in volume group vg00 by 3 logical extents.
|
||||
.SH SEE ALSO
|
||||
.BR fsadm (8),
|
||||
.BR lvchange (8),
|
||||
.BR lvconvert (8),
|
||||
.BR lvcreate (8),
|
||||
|
@ -9,6 +9,9 @@ lvresize \- resize a logical volume
|
||||
[\-i|\-\-stripes Stripes [\-I|\-\-stripesize StripeSize]]
|
||||
{\-l|\-\-extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] |
|
||||
\-L|\-\-size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}
|
||||
[\-f|\-\-force]
|
||||
[\-n|\-\-nofsck]
|
||||
[\-r|\-\-resizefs]
|
||||
[\-t|\-\-test]
|
||||
[\-v|\-\-verbose] LogicalVolumePath [PhysicalVolumePath[:PE[-PE]]...]
|
||||
.SH DESCRIPTION
|
||||
@ -67,6 +70,18 @@ Not applicable to LVs using the original metadata LVM format, which
|
||||
must use a single value throughout.
|
||||
.br
|
||||
StripeSize must be 2^n (n = 2 to 9)
|
||||
.TP
|
||||
.I \-f, \-\-force
|
||||
Force resize without any question.
|
||||
.TP
|
||||
.I \-n, \-\-nofsck
|
||||
Do not perform fsck before resizing filesystem when filesystem
|
||||
requires it. You may need to use \fB--force\fR to proceed with
|
||||
this option.
|
||||
.TP
|
||||
.I \-r, \-\-resizefs
|
||||
Resize underlying filesystem together with logical volume size.
|
||||
\fBfsadm\fR tool is used for filesystem resize.
|
||||
.SH Examples
|
||||
.br
|
||||
"lvresize -L+16M vg1/lv1 /dev/sda:0-1 /dev/sdb:0-1"
|
||||
@ -75,6 +90,7 @@ tries to extend a logical volume "vg1/lv1" by 16MB using physical extents
|
||||
/dev/sda:0-1 and /dev/sdb:0-1 for allocation of extents.
|
||||
|
||||
.SH SEE ALSO
|
||||
.BR fsadm (8),
|
||||
.BR lvm (8),
|
||||
.BR lvconvert (8),
|
||||
.BR lvcreate (8),
|
||||
|
Loading…
Reference in New Issue
Block a user