[BACK]Return to pr10_admin.html CVS log [TXT][DIR] Up to [Development] / xfs-website.orig

File: [Development] / xfs-website.orig / pr10_admin.html (download) (as text)

Revision 1.1, Tue Mar 27 22:54:28 2001 UTC (16 years, 6 months ago) by xfs
Branch: MAIN
CVS Tags: HEAD


Added Files:
 	pr10_admin.html pr10_caveats.html pr10_changes.html
 	pr10_rpm.html pr10_source.html

New web pages for pre-release 0.10

<& xfsTemplate,top=>1,side=>1 &>

<!-- Start Project Content -->
<h2>
<b><font face="ARIAL NARROW,HELVETICA">Working with XFS filesystems</font></b></h2>
<h3>
<b><font face="ARIAL NARROW,HELVETICA">Partitioning</font></b></h3>
You will need a partition to create your new XFS filesystem on.  This partition
could be from a new disk, unpartitioned space on an existing disk, or you could
overwrite an existing partition.  In general, use the <tt>fdisk</tt> command
to create or set the partition to "Linux Native (83)", and follow the
instructions below to make an XFS filesystem on that partition.
See the <a href="http://oss.sgi.com/LDP/HOWTO/mini/Partition.html">Linux
Partition HOWTO</a> for more information if necessary.

<h3>
<b><font face="ARIAL NARROW,HELVETICA">Creating an XFS filesystem</font></b></h3>
You can create a new XFS filesystem in the same manner as you would any
other Linux filesystem, with the command:
<pre><tt>	mkfs -t xfs /dev/&lt;devfile&gt;
</tt></pre>
where <tt>/dev/&lt;devfile&gt;</tt> is the partition where you wish to create the
filesystem (note that this will destroy any filesystem currently on that
partition).<p>
For example, to create a filesystem on the 3rd partition of your 2nd SCSI 
drive, you would use the command:
<pre><tt>       mkfs -t xfs /dev/sdb3
</tt></pre>
<p>
One important option that you may need is "<tt>-f</tt>" which will force
the creation of a new filesystem, if a filesystem already exists on that
partition.  Again, note that this will destroy all data currently on that
partition:
<pre><tt>       mkfs -t xfs -f /dev/&lt;devfile&gt;
</tt></pre>
<p>
You may achieve better performance by increasing the logfile size.
The following command creates a filesystem with a default logfile
size of 8000 blocks:
<pre><tt>       mkfs -t xfs -l internal,size=8000b -d name=/dev/&lt;devfile&gt;
</tt></pre>
Other options are available for XFS filesystem creation; see
the <a href="manpages.html">man pages</a> for more information.<p>

<h3>
<b><font face="ARIAL NARROW,HELVETICA">Mounting an XFS filesystem</font></b></h3>
You can then mount the new filesystem with the command:
<pre><tt>	mount -t xfs /dev/&lt;devfile&gt; /&lt;mount_pt&gt;
</tt></pre>
where <tt>/dev/&lt;devfile&gt;</tt> is the device containing the filesystem, and 
<tt>/&lt;mount_pt&gt;</tt> is the mount point for the filesystem.

<p>
Since XFS is a journaling filesystem, before it mounts the filesystem,
it will check the transaction log
for any unfinished transactions, and bring the filesystem up to date.
Welcome to a <tt>fsck</tt>-free world!

<br>


<& xfsTemplate,bottom=>1 &>