1 .\" $NetBSD: fsadm.8,v 1.2 2009/02/18 12:16:13 haad Exp $
3 .TH "FSADM" "8" "LVM TOOLS 2.02.56(1)-cvs (12-01-09)" "Red Hat, Inc" "\""
5 fsadm \- utility to resize or check filesystem on a device
8 .RI [options]\ check\ device
11 .RI [options]\ resize\ device\ [new_size[BKMGTEP]]
14 \fBfsadm\fR utility resizes or checks the filesystem on a device.
15 It tries to use the same API for \fBext2/ext3/ext4\fR,
16 \fBReiserFS\fR and \fBXFS\fR filesystem.
20 \(em print help message
25 \fB\-e \-\-ext\-offline\fR
26 \(em unmount ext2/ext3/ext4 filesystem before doing resize
29 \(em bypass some sanity checks
31 \fB\-n \-\-dry\-run\fR
32 \(em print commands without running them
35 \(em answer "yes" at any prompts
38 \(em Absolute number of filesystem blocks to be in the filesystem,
39 or an absolute size using a suffix (in powers of 1024).
40 If new_size is not supplied, the whole device is used.
43 "fsadm \-e \-y resize /dev/vg/test 1000M" tries to resize the filesystem
44 on logical volume /dev/vg/test. If /dev/vg/test contains ext2/ext3/ext4
45 filesystem it will be unmounted prior the resize.
46 All [y|n] questions will be answered 'y'.
47 .SH "ENVIRONMENT VARIABLES"
50 Where the temporary directory should be created.
60 .BR resize_reiserfs (8),