Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
external_e2fsprogs
Commits
0edb4d85
Commit
0edb4d85
authored
24 years ago
by
Theodore Ts'o
Browse files
Options
Download
Email Patches
Plain Diff
e2image.8.in:
Updates and clarifications to the manual page.
parent
a3827953
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
4 deletions
+45
-4
misc/e2image.8.in
misc/e2image.8.in
+45
-4
No files found.
misc/e2image.8.in
View file @
0edb4d85
...
...
@@ -10,14 +10,55 @@ e2image \- Save critical ext2 filesystem data to a file
.I device
.I image-file
.SH DESCRIPTION
The
.B e2image
will save critical filesystem data on the ext2 filesystem located on
program
will save critical filesystem data on the ext2 filesystem located on
display or change the filesystem label on the ext2 filesystem located on
.I device
to a file.
.I device
to a file specified by
.IR image-file .
The image file may be examined by
.B dumpe2fs
and
.BR debugfs ,
by using the
.B \-i
option to those programs. This can be used by an expert in assisting
the recovery of catastrophically corrupted filesystems. In the future,
e2fsck will be enhanced to be able to use the image file to help
recover a badly damaged filesystem.
.PP
It is a very good idea to periodically (at boot time and
every week or so) to create image files for all of
filesystems on a system, as well as saving the partition
layout (which can be generated using the using
.B fdisk -l
command). Ideally the image file should be stored on some filesystem
other that
the filesystem whose data it contains, to ensure that its data is
accessible in the case where the filesystem has been badly damaged.
.PP
To save disk space,
.B e2image
creates the image file as a sparse file.
Hence, if the image file
needs to be copied to another location, it should
either be compressed first or copied using the
.B \--sparse=always
option to GNU version of
.BR cp .
.PP
The size of an ext2 image file depends primarily on the size of the
filesystems and how many inodes are in use. For a typical 10 gigabyte
filesystem, with 200,000 inodes in use out of 1.2 million inodes, the
image file be approximately 35 megabytes; a 4 gigabyte filesystem with
15,000 inodes in use out of 550,000 inodes will result in a 3 megabyte
image file. Image files tend to be quite
compressible; a sparse image file taking up 32 megabytes of space on
disk will generally compress down to 3 or 4 megabytes.
.PP
.SH AUTHOR
.B e2
label
.B e2
image
was written by Theodore Ts'o (tytso@mit.edu).
.SH AVAILABILITY
.B e2image
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment