diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2010-06-17 11:25:43 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2010-06-17 11:25:43 +0000 |
commit | 50b906abaa62b71836c6b1f19b60e73fc2288e2f (patch) | |
tree | 425631fab57d870280456ecf6e6eb307b8cc6a68 /man | |
parent | 9e0521ebb0619fd1fa30d93da2d7b53c11b0c33a (diff) | |
download | lvm2-50b906abaa62b71836c6b1f19b60e73fc2288e2f.tar.gz lvm2-50b906abaa62b71836c6b1f19b60e73fc2288e2f.tar.xz lvm2-50b906abaa62b71836c6b1f19b60e73fc2288e2f.zip |
Update lvresize/extend/reduce manpages with --nofsck, --resizefs options
Diffstat (limited to 'man')
-rw-r--r-- | man/lvextend.8.in | 16 | ||||
-rw-r--r-- | man/lvreduce.8.in | 12 | ||||
-rw-r--r-- | man/lvresize.8.in | 16 |
3 files changed, 44 insertions, 0 deletions
diff --git a/man/lvextend.8.in b/man/lvextend.8.in index e73571fb..8f409ab3 100644 --- a/man/lvextend.8.in +++ b/man/lvextend.8.in @@ -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), diff --git a/man/lvreduce.8.in b/man/lvreduce.8.in index 8d5eb3dd..5d55b5cf 100644 --- a/man/lvreduce.8.in +++ b/man/lvreduce.8.in @@ -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), diff --git a/man/lvresize.8.in b/man/lvresize.8.in index b5bbc071..a2883047 100644 --- a/man/lvresize.8.in +++ b/man/lvresize.8.in @@ -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), |