summaryrefslogtreecommitdiff
path: root/sag-0.6.1-www/Invisible/sag-0.6/node51.html
diff options
context:
space:
mode:
Diffstat (limited to 'sag-0.6.1-www/Invisible/sag-0.6/node51.html')
-rw-r--r--sag-0.6.1-www/Invisible/sag-0.6/node51.html80
1 files changed, 80 insertions, 0 deletions
diff --git a/sag-0.6.1-www/Invisible/sag-0.6/node51.html b/sag-0.6.1-www/Invisible/sag-0.6/node51.html
new file mode 100644
index 0000000..e09dc53
--- /dev/null
+++ b/sag-0.6.1-www/Invisible/sag-0.6/node51.html
@@ -0,0 +1,80 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
+<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
+<HTML>
+<HEAD>
+<TITLE>Other tools for the ext2 filesystem</TITLE>
+<META NAME="description" CONTENT="Other tools for the ext2 filesystem">
+<META NAME="keywords" CONTENT="sag">
+<META NAME="resource-type" CONTENT="document">
+<META NAME="distribution" CONTENT="global">
+<LINK REL=STYLESHEET HREF="sag.css">
+</HEAD>
+<BODY LANG="EN" >
+ <A NAME="tex2html955" HREF="node52.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="./next_motif.gif"></A> <A NAME="tex2html953" HREF="node41.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="./up_motif.gif"></A> <A NAME="tex2html949" HREF="node50.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="./previous_motif.gif"></A> <A NAME="tex2html957" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="./contents_motif.gif"></A> <A NAME="tex2html958" HREF="node114.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="./index_motif.gif"></A> <BR>
+<B> Next:</B> <A NAME="tex2html956" HREF="node52.html">Disks without filesystems</A>
+<B>Up:</B> <A NAME="tex2html954" HREF="node41.html">Filesystems</A>
+<B> Previous:</B> <A NAME="tex2html950" HREF="node50.html">Other tools for all </A>
+<BR> <P>
+<H2><A NAME="SECTION005810000000000000000">Other tools for the ext2 filesystem</A></H2>
+<P>
+ In addition to the filesystem creator (<tt>mke2fs</tt><A NAME="1740">&#160;</A>) and
+ checker (<tt>e2fsck</tt><A NAME="1742">&#160;</A>) accessible directly or via the
+ filesystem type independent front ends, the ext2
+ filesystem has some additional tools that can be useful.
+<P>
+ <tt>tune2fs</tt><A NAME="1744">&#160;</A> adjusts filesystem parameters. Some of the
+ more interesting parameters are:
+ <UL>
+<LI> A maximal mount count. <tt>e2fsck</tt><A NAME="1746">&#160;</A> enforces a check when
+ filesystem has been mounted too many times, even if
+ the clean flag is set. For a system that is used for
+ developing or testing the system, it might be a good
+ idea to reduce this limit.
+<LI> A maximal time between checks. <tt>e2fsck</tt><A NAME="1748">&#160;</A> can also enforce
+ a maximal time between two checks, even if the clean
+ flag is set, and the filesystem hasn't been mounted very
+ often. This can be disabled, however.
+<LI> Number of blocks reserved for <tt>root</tt>. Ext2
+ reserves some blocks for <tt>root</tt> so that if the
+ filesystem fills up, it is still possible to do system
+ administration without having to delete anything. The
+ reserved amount is by default 5%, which on most disks
+ isn't enough to be wasteful. However, for floppies there
+ is no point in reserving any blocks.
+ </UL>
+ See the <em>tune2fs</em><A NAME="1750">&#160;</A> manual page for more information.
+<P>
+ <tt>dumpe2fs</tt><A NAME="1752">&#160;</A> shows information about an ext2 filesystem, mostly
+ from the superblock. Figure&nbsp;<A HREF="node51.html#figdumpe2fsoutput">4.5</A> shows
+ a sample output. Some of the information in the output is
+ technical and requires understanding of how the filesystem
+ works (see appendix&nbsp;<A HREF="#chapext2fspaper"><IMG ALIGN=BOTTOM ALT="gif" SRC="./cross_ref_motif.gif"></A>), but much of
+ it is readily understandable even for layadmins.
+<P>
+<P><A NAME="1434">&#160;</A><A NAME="figdumpe2fsoutput">&#160;</A><IMG WIDTH=421 HEIGHT=569 ALIGN=BOTTOM ALT="figure1374" SRC="img9.gif"><BR>
+<STRONG>Figure 4.5:</STRONG> Sample output from <tt>dumpe2fs</tt><A NAME="1754">&#160;</A><BR>
+<P>
+<P>
+ <tt>debugfs</tt><A NAME="1756">&#160;</A> is a filesystem debugger. It allows direct
+ access to the filesystem data structures stored on disk and
+ can thus be used to repair a disk that is so broken that
+ <tt>fsck</tt><A NAME="1758">&#160;</A> can't fix it automatically. It has also been known
+ to be used to recover deleted files. However, <tt>debugfs</tt><A NAME="1760">&#160;</A>
+ very much requires that you understand what you're doing;
+ a failure to understand can destroy all your data.
+<P>
+ <tt>dump</tt><A NAME="1762">&#160;</A> and <tt>restore</tt><A NAME="1764">&#160;</A> can be used to back up an
+ ext2 filesystem. They are ext2 specific versions of the
+ traditional UNIX backup tools. See chapter&nbsp;<A HREF="node96.html#chapbackups">10</A>
+ for more information on backups.
+<P>
+<HR><A NAME="tex2html955" HREF="node52.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="./next_motif.gif"></A> <A NAME="tex2html953" HREF="node41.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="./up_motif.gif"></A> <A NAME="tex2html949" HREF="node50.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="./previous_motif.gif"></A> <A NAME="tex2html957" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="./contents_motif.gif"></A> <A NAME="tex2html958" HREF="node114.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="./index_motif.gif"></A> <BR>
+<B> Next:</B> <A NAME="tex2html956" HREF="node52.html">Disks without filesystems</A>
+<B>Up:</B> <A NAME="tex2html954" HREF="node41.html">Filesystems</A>
+<B> Previous:</B> <A NAME="tex2html950" HREF="node50.html">Other tools for all </A>
+<P><ADDRESS>
+<I>Lars Wirzenius <BR>
+Sat Nov 15 02:32:11 EET 1997</I>
+</ADDRESS>
+</BODY>
+</HTML>