<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nicolas Kuttler &#187; ext4</title>
	<atom:link href="http://www.nkuttler.de/tag/ext4/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nkuttler.de</link>
	<description>WordPress Services, IT Services</description>
	<lastBuildDate>Tue, 07 Sep 2010 21:36:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Filesystem with huge files cannot be mounted read-write without CONFIG_LBDAF</title>
		<link>http://www.nkuttler.de/2009/09/14/filesystem-with-huge-files-cannot-be-mounted-read-write-without-config_lbdaf/</link>
		<comments>http://www.nkuttler.de/2009/09/14/filesystem-with-huge-files-cannot-be-mounted-read-write-without-config_lbdaf/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 15:43:07 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.nkuttler.de/?p=956</guid>
		<description><![CDATA[After skipping 2.6.30 and building a new 2.6.31 I suddenly couldn&#8217;t mount my ext4 drive anymore and got this rather confusing error in dmesg: EXT4-fs (sda1): Filesystem with huge files cannot be mounted read-write without CONFIG_LBDAF But&#8230; I don&#8217;t have any huge files on that disk. Not bigger than some DVD iso anyway. After a [...]]]></description>
			<content:encoded><![CDATA[<p>After skipping 2.6.30 and building a new 2.6.31 I suddenly couldn&#8217;t mount my ext4 drive anymore and got this rather confusing error in <tt>dmesg</tt>:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">EXT4-fs (sda1): Filesystem with huge files cannot be mounted
read-write without CONFIG_LBDAF</pre></div></div>

<p>But&#8230; I don&#8217;t have any huge files on that disk. Not bigger than some DVD iso anyway.<span id="more-956"></span></p>
<p>After a few days I finally get the time to check the kernel configuration docs, and they say:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">CONFIG_LBDAF:
&nbsp;
Enable block devices or files of size 2TB and larger.
&nbsp;
This option is required to support the full capacity of large
(2TB+) block devices, including RAID, disk, Network Block
Device, Logical Volume Manager (LVM) and loopback.
&nbsp;
This option also enables support for single files larger than
2TB.
&nbsp;
The ext4 filesystem requires that this feature be enabled in
order to support filesystems that have the huge_file feature
enabled.  Otherwise, it will refuse to mount in the read-write
mode any filesystems that use the huge_file feature, which is
enabled by default by mke2fs.ext4.
&nbsp;
The GFS2 filesystem also requires this feature.
&nbsp;
If unsure, say Y.</pre></div></div>

<p>Well, alright. <tt>mkfs.ext4</tt> has said feature enabled by default. That&#8217;s what you get for building your own kernels and not reading everything in <tt>make oldconfig</tt>.</p>
<p><strong>Edit</strong>:  The feature can be activated at <tt>Enable the block layer  ---&gt;  Support for large (2TB+) block devices and files</tt>, thanks to Arix.</p>
<p><strong>Edit:</strong>: The feature can be removed from an existing filesystem by running the following commands:<br />
<tt>tune2fs -O ^huge_file /dev/whatever</tt><br />
<tt>fsck /dev/whatever</tt><br />
This should allow you to mount the drive without CONFIG_LBDAF in the kernel. Thanks Marcus!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nkuttler.de/2009/09/14/filesystem-with-huge-files-cannot-be-mounted-read-write-without-config_lbdaf/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
