<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=7571&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Inode No. 12]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7571</link>
		<description><![CDATA[The most recent posts in [SOLVED] Inode No. 12.]]></description>
		<lastBuildDate>Mon, 17 Nov 2025 16:39:55 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Inode No. 12]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59774#p59774</link>
			<description><![CDATA[<p>It works!<br />Due to a flash of inspiration, I have saved the root partition using fsarchiver, reformatted and played back!<br />Fsarchiver also secures the UUid and other attributes but apparently the inodes are reassigned!</p><p>Result:</p><div class="codebox"><pre><code>root@pchome1:~# touch /usr/lib/cups/backend-available/Hallo_No12.txt
root@pchome1:~# 
root@pchome1:~# ls -li /usr/lib/cups/backend-available/
insgesamt 192
1088658 -rwxr--r-- 3 root root 22760  5. Nov 15:45 dnssd
1101290 -rw-r--r-- 1 root root     0 17. Nov 16:36 Hallo_No12.txt
1088659 -rwxr--r-- 2 root root 51520  5. Nov 15:45 lpd
1088657 -rwxr-xr-x 2 root root 30952  5. Nov 15:45 snmp
1088660 -rwxr-xr-x 2 root root 47424  5. Nov 15:45 socket
1088656 -rwxr--r-- 2 root root 35048  5. Nov 15:45 usb
root@pchome1:~# 
root@pchome1:~# 
root@pchome1:~# find / -xdev -inum 12
/sbin
root@pchome1:~# 
root@pchome1:~# ls -li /sbin
12 lrwxrwxrwx 1 root root 8  3. Nov 19:25 /sbin -&gt; usr/sbin
root@pchome1:~# </code></pre></div><p>There are now completely different inodes and the inode 12 is fixed to &quot;/sbin&quot;!<br />(now he can&#039;t bluff in any other way)<br />&quot;fsck.ext4&quot; does not return any errors anymore!</p><p>Unfortunately, I have no explanation why,when,who... <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>Thus done<br />Thanks again</p>]]></description>
			<author><![CDATA[dummy@example.com (sjox)]]></author>
			<pubDate>Mon, 17 Nov 2025 16:39:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59774#p59774</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Inode No. 12]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59764#p59764</link>
			<description><![CDATA[<p>As it looks, not many should have this problem!<br />I&#039;m probably the only one...</p><p>Thanks to &quot;g4sra&quot; and &quot;stultumanto&quot;!</p><p>The result of &quot;find&quot;:</p><div class="codebox"><pre><code>find / -xdev -inum 12
/usr/lib/cups/backend-available/Hello_No12.txt</code></pre></div><p>It&#039;s the only with Inode 12!</p><p>or:</p><div class="codebox"><pre><code>find / -inum 12
/dev/console
/sys/hypervisor
/sys/fs/cgroup/memory.pressure
/usr/lib/cups/backend-available/Hello_No12.txt
/run/user/1000/at-spi/bus_0</code></pre></div><p>Then I rebooted and started immediately from the &quot;Devuan-Excalibur-Live-System&quot; (Ventoy)!<br />(so it was NOT booted from the built-in SSD)</p><p>The result:</p><div class="codebox"><pre><code>fsck.ext4 -n -f /dev/nvme0n1p3
e2fsck 1.47.2 (1-Jan-2025)
Pass 1: Checking inodes, blocks, and sizes
Orphan file inode 12 is not in use, but contains data.  Clear? no

Pass 2: Checking directory structure
Entry &#039;Hello_No12.txt&#039; in /usr/lib/cups/backend-available (26756) has invalid inode #: 12.
Clear? no

Pass 3: 

and so on...</code></pre></div><p>The SSD was shot down already when driving down!</p><p>The result is always the same - no matter what directory - as soon as Inode number 12 is assigned anywhere,<br />then the file system is shot.</p><p>That&#039;s why I&#039;ve also asked the artificial intelligence (https://you.com/?chatMode default)</p><p>I have shortened the answer:</p><div class="quotebox"><blockquote><div><p>Summary:<br />&#160; &#160; • Inodes 1–11 are reserved for special purposes in ext4. <br />&#160; &#160; • Inode assignment is automatic and based on the first available inode. <br />&#160; &#160; • You cannot directly control inode numbers during file creation. <br />&#160; &#160; • Consistent problems with inode 12 suggest underlying file system corruption or hardware issues . <br />&#160; &#160; • Inode 12 corresponds to one specific file or directory at a time. <br />&#160; &#160; • The inode stores metadata, not the filename. <br />&#160; &#160; • Filenames are directory entries that point to inode numbers. <br />&#160; &#160; • Multiple filenames can share the same inode (hard links). <br />&#160; &#160; • When a file is deleted, its inode number (like 12) can be reused for new files. </p><p>This explains why your copied file often gets inode 12: <br />it is the first free inode available after the reserved ones, and inode 12 is assigned to the new <br />file until it is deleted or the file system changes.</p><p>Recommendation: <br />Consider running a thorough fsck and, if possible, reformatting the file system to ensure there is no <br />persistent corruption. If the problem persists, it may be a hardware issue or a bug in the file system implementation.</p></div></blockquote></div><p>This sounds plausible - so I will format the SSD and reset the system!</p>]]></description>
			<author><![CDATA[dummy@example.com (sjox)]]></author>
			<pubDate>Mon, 17 Nov 2025 09:50:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59764#p59764</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Inode No. 12]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59763#p59763</link>
			<description><![CDATA[<p>OK, I have no idea what this is really about, but you have me curious. I checked three different Linux installations on ext4, and none had inodes 3-10 or 12. In every case, <span class="bbc">/</span> was inode 2, <span class="bbc">/lost+found</span> was inode 11, and everything else was inodes 13 &amp; up. I can&#039;t find anything about this subject with any search engine.</p>]]></description>
			<author><![CDATA[dummy@example.com (stultumanto)]]></author>
			<pubDate>Mon, 17 Nov 2025 08:57:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59763#p59763</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Inode No. 12]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59726#p59726</link>
			<description><![CDATA[<div class="codebox"><pre><code>find / -xdev -inum 12</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (g4sra)]]></author>
			<pubDate>Sun, 16 Nov 2025 19:16:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59726#p59726</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Inode No. 12]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59725#p59725</link>
			<description><![CDATA[<p>With the new update (Debian 13.2) an updated Cups is also included!<br />This installs a file &quot;dnssd&quot; in the directory &quot;/usr/lib/cups/backend-available/&quot; and two further hard links <br />in the directory &quot;/usr/lib/cups/backend&quot;! (dnssd and mdns). The Inode was 12!<br />Of course you can view these files or directories using &quot;ls -li&quot;!<br />But that changes after a reboot!<br />If I try to list this directory on my PC using &quot;ls -l&quot; I get the message: &quot;The structure must be cleaned up&quot;!<br />(dnssd is only displayed with ? and the file system is shot!!)<br />Then I get the message for each following command: &quot;input/output error&quot;<br />A following &quot;fsck.ext4 -y -f /dev/nvme0n1p3&quot; reports &quot;invalid inode 12&quot;.</p><p>(I noticed this problem due to an AIDE check - after this check the filesystem was shot!)</p><p>The question now is how a simple &quot;ls -l&quot; can shoot the whole file system?<br />(It must be because of the Inode 12!)<br />I helped myself by simply reinstalling cups using &quot;--reinstall&quot;.<br />This gave the file (and the two hardlinks) another inode!<br />However, if I install Cups a third time - Inode 12 is active again!<br />Therefore, 12 is always preferred - except for this inode is already in use!<br />I was also able to replicate this with other files.<br />For example, as soon as I copy a normal text file into this directory, this file had the inode 12!<br />With the command &quot;find / -inum 12&quot; I also found other system files!</p><p>Now my questions:<br />Why is it that Inode 12 is awarded?<br />Apparently, this is only intended for system-related files!<br />Also, this behavior occurs in others or I am the only one</p>]]></description>
			<author><![CDATA[dummy@example.com (sjox)]]></author>
			<pubDate>Sun, 16 Nov 2025 19:03:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59725#p59725</guid>
		</item>
	</channel>
</rss>
