1 .TH e2scan 1 "2006 Sep 26" Lustre "backup utilities"
3 e2scan \- scan an Ext2-type filesystem for modified inodes
19 @E2SCAN_MAN@.BI -d " database"
31 iterates all inodes on
33 find inodes modified since the specified time (default 1 day), and prints
34 their pathnames relative to the root of the filesystem. This allows the
35 pathnames to be used as input to a backup tool running in the mountpoint, like
37 as the filesystem may be mounted at an arbitrary mountpoint.
41 program is optimized for scanning an entire filesystem for (modified) files,
42 but is not efficient for smaller subdirectory scans. Use
44 for that purpose instead.
48 Set readahead for inode table blocks to get better performance when scanning
50 Default is 1 group of readahead.
52 .BI \-b " inode_buffer_blocks"
53 Set number of inode blocks to read from disk at a time.
56 Specify the working directory (relative to the root of the filesystem
57 being scanned) for the output pathnames. Only directories underneath
58 the root will be candidates for listing. For Lustre MDT filesystems the
59 pathname must be prefixed with "/ROOT" to dump the client visible filesystem.
61 @E2SCAN_MAN@.BI \-d " database_file"
62 @E2SCAN_MAN@Specify output file for database when running in
67 Also include directories in the output. The default is to only list files,
70 will recurse into directories and files that are also listed therein will be
74 @E2SCAN_MAN@List files in the filesystem and insert them into the
75 @E2SCAN_MAN@.BR sqlite3 (1)
76 @E2SCAN_MAN@database named by the
81 List files in the filesystem to standard output, or to the file specified
84 option. This is the default mode.
87 Dump only files newer than the specified
91 Dump only files newer than the specified date. This supports a wide
92 variety of input formats like "YYYY-MM-DD HH:MM:SS". Use a date of
97 Record the files found into
99 instead of the default standard output.
101 To dump all of the files in the filesystem into the file
104 e2scan -N 0 -o myfilelist /dev/sdb1
106 To list files and directories newer than Feb 6, 2007 in the /home directory:
108 e2scan -D -N "Feb 6 00:00:00 2007" -C /home /dev/sdb1
113 was originally written by Vladimir Saviliev <vladimir.saviliev@sun.com>
114 and Andreas Dilger <andreas.dilger@intel.com>.