1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/man/fsadm.8.in

62 lines
1.5 KiB
Groff
Raw Normal View History

.TH "FSADM" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
.SH "NAME"
fsadm \- utility to resize or check filesystem on a device
.SH "SYNOPSIS"
.B fsadm
.RI [options]\ check\ device
.B fsadm
.RI [options]\ resize\ device\ [new_size[BKMGTEP]]
.SH "DESCRIPTION"
2009-02-04 15:47:05 +03:00
\fBfsadm\fR utility resizes or checks the filesystem on a device.
It tries to use the same API for \fBext2/ext3/ext4\fR,
\fBReiserFS\fR and \fBXFS\fR filesystem.
.SH "OPTIONS"
2009-02-04 15:47:05 +03:00
.TP
\fB\-h \-\-help\fR
\(em print help message
2009-02-04 15:47:05 +03:00
.TP
\fB\-v \-\-verbose\fR
\(em be more verbose
2009-02-04 15:47:05 +03:00
.TP
\fB\-e \-\-ext\-offline\fR
2009-02-04 15:47:05 +03:00
\(em unmount ext2/ext3/ext4 filesystem before doing resize
.TP
\fB\-f \-\-force\fR
\(em bypass some sanity checks
2009-02-04 15:47:05 +03:00
.TP
\fB\-n \-\-dry\-run\fR
\(em print commands without running them
2009-02-04 15:47:05 +03:00
.TP
\fB\-y \-\-yes\fR
\(em answer "yes" at any prompts
2009-02-04 15:47:05 +03:00
.TP
\fBnew_size\fR
2009-02-04 15:47:05 +03:00
\(em Absolute number of filesystem blocks to be in the filesystem,
or an absolute size using a suffix (in powers of 1024).
If new_size is not supplied, the whole device is used.
.SH "EXAMPLES"
2009-02-04 15:47:05 +03:00
"fsadm \-e \-y resize /dev/vg/test 1000M" tries to resize the filesystem
on logical volume /dev/vg/test. If /dev/vg/test contains ext2/ext3/ext4
filesystem it will be unmounted prior the resize.
All [y|n] questions will be answered 'y'.
.SH "ENVIRONMENT VARIABLES"
2009-02-04 15:47:05 +03:00
.TP
\fBTMPDIR\fP
Where the temporary directory should be created.
2009-02-04 15:47:05 +03:00
.TP
.BR
.SH "SEE ALSO"
2009-02-04 15:47:05 +03:00
.BR lvm (8),
.BR lvresize (8),
.BR lvm.conf (5),
.BR tune2fs (8),
.BR resize2fs (8),
.BR reiserfstune (8),
.BR resize_reiserfs (8),
.BR xfs_info (8),
.BR xfs_growfs (8),
.BR xfs_check (8)