<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://research.iat.sfu.ca/research/index.php?action=history&amp;feed=atom&amp;title=XFS_Filesystem_HOWTO</id>
	<title>XFS Filesystem HOWTO - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://research.iat.sfu.ca/research/index.php?action=history&amp;feed=atom&amp;title=XFS_Filesystem_HOWTO"/>
	<link rel="alternate" type="text/html" href="https://research.iat.sfu.ca/research/index.php?title=XFS_Filesystem_HOWTO&amp;action=history"/>
	<updated>2026-05-05T18:40:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://research.iat.sfu.ca/research/index.php?title=XFS_Filesystem_HOWTO&amp;diff=4767&amp;oldid=prev</id>
		<title>Hha13: New page: The XFS filesystem is recommended for drives larger than 1TB. ext3 partitions larger than 1TB can potentially take over 12 hours to fsck, and since that happens regularly after a certain a...</title>
		<link rel="alternate" type="text/html" href="https://research.iat.sfu.ca/research/index.php?title=XFS_Filesystem_HOWTO&amp;diff=4767&amp;oldid=prev"/>
		<updated>2008-10-03T00:07:07Z</updated>

		<summary type="html">&lt;p&gt;New page: The XFS filesystem is recommended for drives larger than 1TB. ext3 partitions larger than 1TB can potentially take over 12 hours to fsck, and since that happens regularly after a certain a...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The XFS filesystem is recommended for drives larger than 1TB. ext3 partitions larger than 1TB can potentially take over 12 hours to fsck, and since that happens regularly after a certain amount of reboots, it&amp;#039;s not recommended. To set up XFS on a Gentoo machine follow these steps:&lt;br /&gt;
&lt;br /&gt;
First make sure you have the necessary prerequisites:&lt;br /&gt;
&lt;br /&gt;
* Compile the kernel with XFS support&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;~ #&amp;lt;/font&amp;gt; &amp;#039;&amp;#039;&amp;#039;emerge xfsprogs&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Then, you&amp;#039;ll need to partition the drive:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;~ #&amp;lt;/font&amp;gt; &amp;#039;&amp;#039;&amp;#039;parted /dev/sdb&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 (parted) mklabel&lt;br /&gt;
 Warning: The existing disk label on /dev/sdb will be destroyed and all&lt;br /&gt;
 data on this disk will be lost. Do you want to continue?&lt;br /&gt;
 Yes/No? Yes&lt;br /&gt;
 New disk label type?  [msdos] gpt&lt;br /&gt;
 (parted) unit chs&lt;br /&gt;
 (parted) mkpart&lt;br /&gt;
 Partition name?  []? $partion_name&lt;br /&gt;
 File system type?  [ext2]? xfs&lt;br /&gt;
 Start? 1,0,0&lt;br /&gt;
 End? 100%&lt;br /&gt;
 (parted) print&lt;br /&gt;
 &lt;br /&gt;
 Model: AMCC 9650SE-16M DISK (scsi)&lt;br /&gt;
 Disk /dev/sdb: 790229,208,58&lt;br /&gt;
 Sector size (logical/physical): 512B/512B&lt;br /&gt;
 BIOS cylinder,head,sector geometry: 790229,255,63.  Each cylinder is 8225kB.&lt;br /&gt;
 Partition Table: gpt&lt;br /&gt;
 &lt;br /&gt;
 Number  Start  End            File system  Name  Flags&lt;br /&gt;
 1      1,0,0  790229,208,25                          &lt;br /&gt;
 &lt;br /&gt;
 (parted) quit&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;~ #&amp;lt;/font&amp;gt; &amp;#039;&amp;#039;&amp;#039;mkfs.xfs -d su=XXk,sw=XX /dev/sdb1&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes about the mkfs.xfs flags==&lt;br /&gt;
&amp;#039;su&amp;#039; stands for stripe unit:&lt;br /&gt;
&lt;br /&gt;
This is used to specify the stripe unit for a RAID device or a logical volume. The value has to be specified in 512-byte block units. Use the su suboption to specify the stripe unit size in bytes. This suboption ensures that data allocations will be stripe unit aligned when the current end of file is being extended and the file size is larger than 512KiB. Also inode allocations and the internal log will be stripe unit aligned. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;sw&amp;#039; stands for stripe width:&lt;br /&gt;
&lt;br /&gt;
This is used to specify the stripe width for a RAID device or a striped logical volume. The value has to be specified in 512-byte block units. Use the sw suboption to specify the stripe width size in bytes. This suboption is required if -d sunit has been specified and it has to be a multiple of the -d sunit suboption.&lt;/div&gt;</summary>
		<author><name>Hha13</name></author>
	</entry>
</feed>