1 .TH "FSADM" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
3 fsadm \- utility to resize or check filesystem on a device
6 .RI [options]\ check\ device
9 .RI [options]\ resize\ device\ [new_size[BKMGTEP]]
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.
18 \(em print help message
23 \fB\-e \-\-ext\-offline\fR
24 \(em unmount ext2/ext3/ext4 filesystem before doing resize
27 \(em bypass some sanity checks
29 \fB\-n \-\-dry\-run\fR
30 \(em print commands without running them
33 \(em answer "yes" at any prompts
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.
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"
48 Where the temporary directory should be created.
58 .BR resize_reiserfs (8),