Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git] / contrib / lvm2 / dist / man / fsadm.8.in
1 .TH "FSADM" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
2 .SH "NAME"
3 fsadm \- utility to resize or check filesystem on a device
4 .SH "SYNOPSIS"
5 .B fsdam
6 .RI [options]\ check\ device
7
8 .B fsdam
9 .RI [options]\ resize\ device\ [new_size[BKMGTEP]]
10
11 .SH "DESCRIPTION"
12 \fBfsadm\fR utility resizes or checks the filesystem on a device.
13 It tries to use the same API for \fBext2/ext3/ext4\fR,
14 \fBReiserFS\fR and \fBXFS\fR filesystem.
15 .SH "OPTIONS"
16 .TP
17 \fB\-h \-\-help\fR
18 \(em print help message
19 .TP
20 \fB\-v \-\-verbose\fR
21 \(em be more verbose
22 .TP
23 \fB\-e \-\-ext\-offline\fR
24 \(em unmount ext2/ext3/ext4 filesystem before doing resize
25 .TP
26 \fB\-f \-\-force\fR
27 \(em bypass some sanity checks
28 .TP
29 \fB\-n \-\-dry\-run\fR
30 \(em print commands without running them
31 .TP
32 \fB\-y \-\-yes\fR
33 \(em answer "yes" at any prompts
34 .TP
35 \fBnew_size\fR
36 \(em Absolute number of filesystem blocks to be in the filesystem,
37 or an absolute size using a suffix (in powers of 1024).
38 If new_size is not supplied, the whole device is used.
39
40 .SH "EXAMPLES"
41 "fsadm \-e \-y resize /dev/vg/test 1000M" tries to resize the filesystem
42 on logical volume /dev/vg/test. If /dev/vg/test contains ext2/ext3/ext4
43 filesystem it will be unmounted prior the resize.
44 All [y|n] questions will be answered 'y'.
45 .SH "ENVIRONMENT VARIABLES"
46 .TP
47 \fBTMPDIR\fP
48 Where the temporary directory should be created.
49 .TP
50 .BR
51 .SH "SEE ALSO"
52 .BR lvm (8),
53 .BR lvresize (8),
54 .BR lvm.conf (5),
55 .BR tune2fs (8),
56 .BR resize2fs (8),
57 .BR reiserfstune (8),
58 .BR resize_reiserfs (8),
59 .BR xfs_info (8),
60 .BR xfs_growfs (8),
61 .BR xfs_check (8)