<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[upgrade 2.6.0 to 2.7.0 not booting: UFS cannot be mounted anymore (superblock CGSIZE)]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I observed multiple systems not booting after system updates from 2.6.0 to 2.7.0.<br />
They cannot mount the root ufs anymore:</p>
<hr />
<pre><code>UFS2 superblock failed: CGSIZE(fs) (16388) &gt; fs-&gt;fs_bsize (16384)
Attempted recovery for standard superblock: failed
Attempted extraction of recovery data from standard superblock: failed
Attemp to find boot zone recovery data
Finding an alternate superblock failed.
Check for only non-critical errors in standard superblock
UFS2 superblock failed: CGSIZE(fs) (16388) &gt; fs-&gt;fs_bsize (16384)
Failed, superblock has critical errors
Mounting from ufs:/dev/da0s1a failed with error 22; retrying for 3 more seconds
[repeating]
</code></pre>
<hr />
<p dir="auto">I have many identical virtual systems of this kind, so I can reproduce this problem on multiple machines.<br />
They were set up from a common image some years ago, underwent several sucessfull updates since then and worked flawlessly up till 2.6.0.<br />
So this is definitely not only a faulty drive in a single system.</p>
<p dir="auto">I found this thread on FreeBSD bugzilla talking about similar problems: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264450<br />
Apparently there have been changes how FreeBSD 14.0 calculates CGSIZE !?<br />
Is the mentioned fix already in pfsense 2.7.0 ?</p>
<p dir="auto">Does anyone have an idea how this can be corrected without reformatting the drives?<br />
Probably I don't need to tell you that all these firewalls are remote and not easy to reach...</p>
]]></description><link>https://forum.netgate.com/topic/181719/upgrade-2-6-0-to-2-7-0-not-booting-ufs-cannot-be-mounted-anymore-superblock-cgsize</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 01:10:38 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/181719.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 23 Jul 2023 20:52:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to upgrade 2.6.0 to 2.7.0 not booting: UFS cannot be mounted anymore (superblock CGSIZE) on Thu, 09 May 2024 17:46:21 GMT]]></title><description><![CDATA[<p dir="auto">Oh, I see so if you have this specific UFS install the 2.7.0 kernel will not boot from it. The 2.7.2 kernel will boot from it but you have to go through 2.7.0 because that was the first version that added dynamic repos. Hmm. Yeah I'm not sure what we can do about that at this point. You can always install 2.7.2 clean and restore the config from 2.6.</p>
]]></description><link>https://forum.netgate.com/post/1168270</link><guid isPermaLink="true">https://forum.netgate.com/post/1168270</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Thu, 09 May 2024 17:46:21 GMT</pubDate></item><item><title><![CDATA[Reply to upgrade 2.6.0 to 2.7.0 not booting: UFS cannot be mounted anymore (superblock CGSIZE) on Thu, 09 May 2024 17:38:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stephenw10" aria-label="Profile: stephenw10">@<bdi>stephenw10</bdi></a> sorry my message was unclear, I meant the kernel in the upgrade that the UI applies.  Yes the 2.7.2 installer is good… but you have to go to 2.7.0 first because…. Reasons?</p>
]]></description><link>https://forum.netgate.com/post/1168263</link><guid isPermaLink="true">https://forum.netgate.com/post/1168263</guid><dc:creator><![CDATA[sbingner]]></dc:creator><pubDate>Thu, 09 May 2024 17:38:42 GMT</pubDate></item><item><title><![CDATA[Reply to upgrade 2.6.0 to 2.7.0 not booting: UFS cannot be mounted anymore (superblock CGSIZE) on Thu, 09 May 2024 13:17:25 GMT]]></title><description><![CDATA[<p dir="auto">The 2.7.2 installer? It seems like that is good if you're able to mount the old root from it no?</p>
]]></description><link>https://forum.netgate.com/post/1168160</link><guid isPermaLink="true">https://forum.netgate.com/post/1168160</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Thu, 09 May 2024 13:17:25 GMT</pubDate></item><item><title><![CDATA[Reply to upgrade 2.6.0 to 2.7.0 not booting: UFS cannot be mounted anymore (superblock CGSIZE) on Thu, 09 May 2024 09:03:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stephenw10" aria-label="Profile: stephenw10">@<bdi>stephenw10</bdi></a> FYI I had to upgrade another system and the same thing happened.  I booted the 2.7.2 install cd and mounted the old root.  Copied /boot/kernel to /mnt/boot/kernel.new then booted that.  Everything worked fine.  Would be nice if the installer could have the kernel updated to one that's not bugged</p>
]]></description><link>https://forum.netgate.com/post/1168120</link><guid isPermaLink="true">https://forum.netgate.com/post/1168120</guid><dc:creator><![CDATA[sbingner]]></dc:creator><pubDate>Thu, 09 May 2024 09:03:47 GMT</pubDate></item><item><title><![CDATA[Reply to upgrade 2.6.0 to 2.7.0 not booting: UFS cannot be mounted anymore (superblock CGSIZE) on Sun, 28 Jan 2024 18:33:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stephenw10" aria-label="Profile: stephenw10">@<bdi>stephenw10</bdi></a> yes that is correct - I posted a lot of details in slack but the important bits are above.</p>
]]></description><link>https://forum.netgate.com/post/1149999</link><guid isPermaLink="true">https://forum.netgate.com/post/1149999</guid><dc:creator><![CDATA[sbingner]]></dc:creator><pubDate>Sun, 28 Jan 2024 18:33:25 GMT</pubDate></item><item><title><![CDATA[Reply to upgrade 2.6.0 to 2.7.0 not booting: UFS cannot be mounted anymore (superblock CGSIZE) on Sun, 28 Jan 2024 15:42:25 GMT]]></title><description><![CDATA[<p dir="auto">You were also upgrading from 2.6 to 2.7 when you hit it?</p>
]]></description><link>https://forum.netgate.com/post/1149976</link><guid isPermaLink="true">https://forum.netgate.com/post/1149976</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Sun, 28 Jan 2024 15:42:25 GMT</pubDate></item><item><title><![CDATA[Reply to upgrade 2.6.0 to 2.7.0 not booting: UFS cannot be mounted anymore (superblock CGSIZE) on Sun, 28 Jan 2024 09:18:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dneuhaeuser" aria-label="Profile: dneuhaeuser">@<bdi>dneuhaeuser</bdi></a> I encountered this same issue - it's definitely a kernel bug, if I boot the old kernel it can read the FS but there are significant issues that causes it to not be safe (like copy doesn't work).  I suspect that if you were to copy a 2.7.2 kernel off and boot that on the 2.7.0 system it would work properly.  I went through and upgraded from 2.7.0 to 2.7.2 and it could read everything fine once again.  It seems to be some error in how the 2.7.0 UFS is calculating cgsize.  After I upgraded by booting the old kernel, lots of files were zero sized because of the failure to copy files (for example all the nginx config files were empty)</p>
<p dir="auto">I ended up just reinstalling from a 2.7.2 DVD, but I'll probably try the 2.7.2 kernel on 2.7.0 route on the next one I try this on.</p>
]]></description><link>https://forum.netgate.com/post/1149937</link><guid isPermaLink="true">https://forum.netgate.com/post/1149937</guid><dc:creator><![CDATA[sbingner]]></dc:creator><pubDate>Sun, 28 Jan 2024 09:18:14 GMT</pubDate></item><item><title><![CDATA[Reply to upgrade 2.6.0 to 2.7.0 not booting: UFS cannot be mounted anymore (superblock CGSIZE) on Thu, 03 Aug 2023 22:43:43 GMT]]></title><description><![CDATA[<p dir="auto">My mistake this commit: <a href="https://github.com/pfsense/FreeBSD-src/commit/800a53b445e7eb113ba193b1ac98631299178529" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/pfsense/FreeBSD-src/commit/800a53b445e7eb113ba193b1ac98631299178529</a></p>
<p dir="auto">In June 2022 as shown in the bug.</p>
]]></description><link>https://forum.netgate.com/post/1118894</link><guid isPermaLink="true">https://forum.netgate.com/post/1118894</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Thu, 03 Aug 2023 22:43:43 GMT</pubDate></item><item><title><![CDATA[Reply to upgrade 2.6.0 to 2.7.0 not booting: UFS cannot be mounted anymore (superblock CGSIZE) on Thu, 03 Aug 2023 22:40:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dneuhaeuser" aria-label="Profile: dneuhaeuser">@<bdi>dneuhaeuser</bdi></a> said in <a href="/post/1118696">upgrade 2.6.0 to 2.7.0 not booting: UFS cannot be mounted anymore (superblock CGSIZE)</a>:</p>
<blockquote>
<p dir="auto">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264450</p>
</blockquote>
<p dir="auto">I think you're out by a year. <img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=77b3f8c0221" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=":wink:" alt="😉" /></p>
<p dir="auto">That fix was commited in May 2022. It's in pfSense 2.7. Along with numerous more recent fixes.<br />
<a href="https://github.com/pfsense/FreeBSD-src/commit/076002f24d35962f0d21f44bfddd34ee4d7f015d" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/pfsense/FreeBSD-src/commit/076002f24d35962f0d21f44bfddd34ee4d7f015d</a></p>
<p dir="auto">Steve</p>
]]></description><link>https://forum.netgate.com/post/1118893</link><guid isPermaLink="true">https://forum.netgate.com/post/1118893</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Thu, 03 Aug 2023 22:40:30 GMT</pubDate></item><item><title><![CDATA[Reply to upgrade 2.6.0 to 2.7.0 not booting: UFS cannot be mounted anymore (superblock CGSIZE) on Wed, 02 Aug 2023 17:52:24 GMT]]></title><description><![CDATA[<p dir="auto">On FreeBSD Bugzilla someonce commented that the available patch apparently is not yet in pfsense 2.7.0<br />
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264450</p>
<pre><code>But, looking, 14.0-CURRENT@0c59e0b4e581 is from 2023-Mar-30, long
predating the fix reported in comment #15 . The issue is a known
problem with the old release involved, one that has been fixed.

My guess here is that pfsense needs to be based on an updated
FreeBSD that has the fix reported in #15 . Time for a 2.7.1 ?
</code></pre>
]]></description><link>https://forum.netgate.com/post/1118696</link><guid isPermaLink="true">https://forum.netgate.com/post/1118696</guid><dc:creator><![CDATA[dneuhaeuser]]></dc:creator><pubDate>Wed, 02 Aug 2023 17:52:24 GMT</pubDate></item></channel></rss>