Questions tagged [inode]

An inode (index node) is a data structure found in many Unix file systems. Each inode stores all the information about a file system object (file, device node, socket, pipe, etc.), except data content and file name.

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

Says i'm out of storage but i'm not [duplicate]

When I try and run any app or tab auto complete it says I'm out of space ex. -bash: cannot create temp file for here-document: No space left on device But when I run df -h it says I have 67% space ...
Colin Sutter's user avatar
0 votes
0 answers
20 views

After replacing the charging port on a pavilion laptop I'm getting system freezes and orphaned inodes showing up during reboot

The time to failure is highly variable with the longest operating run being ~13 hours fsck never reports any problems and shutting down before a freeze happens produces a clean restart with no ...
noah healy's user avatar
0 votes
0 answers
32 views

I have renamed "/usr" folder in Ubuntu, now trying to rename to "/usr", but I have problems I think because "/usr" folder does not exist [duplicate]

I have tryed to restoresome data and moved "usr" folder in Ubuntu. For any command I tr, for example "mv", "cp", the system writing "/usr-new/bin/mv: cannot execute: ...
Владимир Бычков's user avatar
0 votes
0 answers
25 views

Intermitently lossing touchpad and cursor

Ubuntu 22.04.2 LTS From time to time the cursor disappears and I cannot get it back and the system doesn't respond to the touchpad either. The only way I can get around this is to reboot. Whenever I ...
MitcheCA's user avatar
0 votes
0 answers
40 views

How can I remove a folder that cannot be deleted (two folders in the same directory have the same inode number)?

I have tried using rm with various flags, such as -d and -r (-r was successful as folder is now empty), tried moving to trash through GUI (which produces error that file cannot be moved to trash), ...
001121100's user avatar
2 votes
0 answers
455 views

How to delete a corrupted directory, can't see the inode

"Something happened" many months ago and a folder was corrupted. I want to delete that folder - or rather, I want to remove the inode that points to the space that was assigned to that ...
TonyG's user avatar
  • 187
0 votes
1 answer
127 views

Inexperienced user needs help resolving boot issue

Summary of issue: I had to hard power off my laptop while a program was working with a file, and, upon booting back up, Ubuntu attempted to fix the resulting file system issues. During this process, ...
Sigmatic's user avatar
0 votes
0 answers
105 views

How to save orphaned inodes?

Is there a way to have fsck save the orphaned inodes so I can inspect what they were instead of having them cleared? Thanks
Jack's user avatar
  • 115
0 votes
1 answer
4k views

Having issues with fixing /dev/sda2 recovering journal

Today I saw that Ubuntu was cleaning up orphaned inodes. Here's the boot log message: /dev/sda2: clearing orphaned inode 396229 uid=1000 gid=1000 mode 0100600 ,si /dev/sda2: clearing orphaned inode ...
GravvyBoiiz 's user avatar
2 votes
0 answers
136 views

My inode count is drastically larger than file and folder count in a mounted partition

I've been dealing with an issue whereby df is reporting a much larger usage of an exfat partition mounted onto my system from a USB drive. df -h gives: Filesystem Size Used Avail Use% Mounted on ...
Jesal Rajdev's user avatar
0 votes
0 answers
42 views

How do we diagnose delays After large number of files are deleted?

This one needs a Linux/Ubuntu guru. A runaway program generated a large number (at least a million?) of files into /var/log. Even after deleting all (?) rogue files, any query on the folder/tree now ...
TonyG's user avatar
  • 187
0 votes
1 answer
190 views

Broken inodes on Ubuntu 18.04 due to software bug or degrading hardware?

Since a week or so I encounter spontaneous errors like system freeze of the desktop or the system only boots into recovery mode and complains about broken inodes. Once my root-partition was even ...
oystermanu's user avatar
0 votes
2 answers
147 views

a directory that can't be seen on command line but is visible on nautilus; and that cannot be deleted

Inside my video directory I've noticed today a new directory called [...]mp4__QhYixM I can see it when I open the video directory on Nautilus, but it's invisible on Nemo and via command line. On ...
Delio M.'s user avatar
  • 201
0 votes
1 answer
7k views

Ubuntu 20.04 won't boot (filesystem has errors), fsck didn't fix, recovery mode fails

In late November 2020, I installed Ubuntu 20.04 on an external hard drive, and I was using it with no significant problems. Then when I tried to boot it and log in (via the usual way) on Dec 21, it ...
JohnKeen's user avatar
2 votes
0 answers
304 views

Ubuntu Server 20.04.1 EXT4-fs error (device sdb1)

This comes from Main HD is full. Home Assistant on Docker installation After deleting /var/log/kern.log (which was about 8GB) I started monitoring it (tail) and nothing was written to it. All I can ...
vazquezjm's user avatar
1 vote
0 answers
172 views

How many inodes does a folder use?

I'm on Ubuntu 18.04. I have a folder with lots (several hundreds thousands) files. I would like to see how many inodes does this folder use on the file system. How to achieve that? The df -i command ...
s.k's user avatar
  • 1,200
-1 votes
2 answers
964 views

Linux find command - find files based on inode and device?

I want to find the files with a given inode number. Using find with -inum is not entirely helpfull as its listing files with the inode number from every file system/device. How to confine this search ...
samshers's user avatar
  • 247
0 votes
1 answer
206 views

Can a hard link refer to a file in a different filesystem?

Can a hard link refer to a file in a different filesystem? Why or why not?
Garry Jean Pierre's user avatar
1 vote
1 answer
113 views

Didn't return all hard links to a file

I failed to get all hard links to a file with find / -inum *. linux-5.5.9$ ls -lai total 856 1048577 drwxrwxr-x 24 root root 4096 Mar 12 14:18 . linux-5.5.9$ sudo find / -inum 1048577 /home/...
SparkAndShine's user avatar
0 votes
1 answer
102 views

Ubuntu 18.04 crashed all of sudden. Can anyone help me to figure out the problem and resolve this?

Error appears like this: Integrity: problem loading X.509 certificate-65 Ima: Error communicating to TPM chip /Dev/sdb1 contain a file system with error,check forced. Inodes that were part of ...
Sachin's user avatar
  • 3
1 vote
1 answer
3k views

There is no space left on the device

sudo df -h udev 982M 0 982M 0% /dev tmpfs 200M 5.3M 195M 3% /run /dev/vda2 40G 5.2G 33G 14% / tmpfs 1000M 0 1000M 0% /dev/shm tmpfs ...
Saef Myth's user avatar
0 votes
0 answers
52 views

User directory inside home directory MISSING

I tried resizing the partitions while the system was on and when I restarted the system, I was unable to login. Eventually when I could, I couldn't find my data. Since I haven't reinstalled the ...
Rajat Jain's user avatar
0 votes
1 answer
279 views

Is metadata (dates) for hardlinked files shared or unique? Inodes and linked files!

I always assumed that the dates in each inode were maintained separately even with hardlinks. However if I change (touch/slap) the date of a hardlink file all other hardlinks to the same file show ...
WallyZ's user avatar
  • 197
4 votes
2 answers
6k views

Is possible to increase inode in ubuntu 16.04?

df -i shows Filesystem Inodes IUsed IFree IUse% Mounted on udev 1745003 593 1744410 1% /dev tmpfs 1760785 914 1759871 1% /run /dev/sda1 ...
Vinoth Rc's user avatar
  • 309
2 votes
0 answers
649 views

Reason for orphaned inodes and boot failure fixable by manual fsck?

my first post here. I am running 18.04.1 and I have recently gotten an error while booting - the screen remains black after POST and nothing happens. I went into recovery mode and found that my root ...
Michal Tomaszuk's user avatar
6 votes
1 answer
4k views

Are there any drawbacks to creating ext4 file systems with maximum inodes?

Are there any drawbacks to creating ext4 file systems with 2^32-1 inodes? I have a 1tb drive and I would like to store 800 million to 1.5 billion small files on it. It seems that the max is 4 billion,...
Fluffy's user avatar
  • 1,576
2 votes
1 answer
117 views

What does `fd01h/64769d` mean in Device and `142368` in Inode?

When I checked the state of a file: [root@iz2ze9wve43n2nyuvmsfx5z ~]# stat test.py File: ‘test.py’ Size: 33 Blocks: 8 IO Block: 4096 regular file Device: fd01h/64769d Inode:...
AbstProcDo's user avatar
  • 2,821
0 votes
0 answers
86 views

Ubuntu /dev/loopX - Way too many mounted units [duplicate]

I am not a very experienced user, specially regarding system's technicalities such as this one. All I know is that when I first installed Ubuntu, I used the command df -h to check my disk space. It ...
Mr.Robot's user avatar
  • 131
3 votes
2 answers
4k views

How to list files and their inode numbers in current directory?

How can I obtain list of items and their inode numbers in the current working directory ?
Sergiy Kolodyazhnyy's user avatar
2 votes
1 answer
3k views

How to increase space allocated to inode in XFS filesystem

We are facing a problem with a ceph osd node which uses an XFS file system. The mount has become non-writeable. It gives the following error: root@fab-prod-ceph-h3:/var/lib/ceph/osd/ceph-6# touch ...
Hrushikesh's user avatar
0 votes
0 answers
1k views

Is it safe to delete linux header file manually?

I recently have inode full issue on a production server. What I have done are: Sort folders according to how many files they have by: sudo find / -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n ...
Mars Lee's user avatar
  • 101
2 votes
1 answer
9k views

Ran out of inodes - 100% Full [duplicate]

I am using Ubuntu 16.04 on AWS EC2 instance which has been working fine until this problem. My problem is that I've used 100% of available inodes, as I discovered with this command: $ df -i ...
Muzz's user avatar
  • 21
3 votes
2 answers
6k views

apt-get -f install No space left on device (Ubuntu 14.04)

I'm tring to run sudo apt-get -f install Output: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were ...
johan855's user avatar
  • 133
2 votes
1 answer
1k views

16.04 Can't login after sleep - Clearing orphaned inode

I put my computer in sleep before going home from work. When I got in the next morning moving the mouse and hitting the keyboard wouldn't wake it up. So I held the power button for a hard shutdown. ...
Under-qualified NASA Intern's user avatar
0 votes
2 answers
2k views

Which Linux header(s) to remove?

I have run out of inodes (IUse% = 100%) and when I run the command from this answer, /usr/src contains the largest number of files (linux-headers*). Based on this answer, I want to remove the old ...
Bernmeister's user avatar
  • 1,231
0 votes
0 answers
343 views

Ubuntu takes much time to boot cause of cleaning orphaned inodes

So usually my system boots almost instantly (I have a fast SSD) but for some time now after some freezes that seem to now to have disappeared it used to take like 2 minutes or so maybe more to the ...
papajo's user avatar
  • 2,917
2 votes
2 answers
5k views

Booting problem? Need to fsck every time in order to make everything work!

I own an old laptop (model emachines e525) with 4GB of RAM and I installed Ubuntu 16.04. Everything was fine during and after the installation. I updated it and installed just a few apps (vlc, ...
Gordana Marcetic's user avatar
-1 votes
1 answer
490 views

help free inode but no space with weird percentage

i'm kindof a newbie at this , but when i list the disk usage with df command ,i get that the percentage of inodes used is 1 percent (%iused = 1%)but the 99% of the filesystem is used ( only 1 percent ...
xxxx's user avatar
  • 1
0 votes
1 answer
2k views

fsck results in a lost+found file that causes fsck to fail and cannot be removed

I have an external drive with a single partition and ext4 filesystem with some corruption. A previous fsck was aborted by an unexpected power loss, and now I have a bad directory in lost+found that ...
Jordan Gates's user avatar
1 vote
2 answers
2k views

How do you find out when a specific kernel version was last booted?

Find out when a Specific Kernel Version was last booted For those who manually install kernel versions the /boot can grow large over time. I'd like find which kernel versions haven't been booted in a ...
WinEunuuchs2Unix's user avatar
1 vote
0 answers
91 views

Laptop freezing on shut down [Ubuntu 16.04.01]

I have a problem with my laptop, which is freezing every time I shut it down. The issue began a couple of weeks ago but I cannot think of any change I made nor application I installed which might have ...
secan's user avatar
  • 11
3 votes
2 answers
950 views

Free space issue Ubuntu 14.04 not loging in after update

I have updated my desktop pc to kernel 4.4.0-38 from 4.4.0-36 (that was ok). After restart I couldn't log in into my computer anymore. With advanced from grub, i selected the old 4.4.0-36 kernel and ...
marius-ciclistu's user avatar
2 votes
1 answer
6k views

Cannot create directory: No space left on device

I have a .tar file of 13 GB. When I am trying to extract it on a drive it is showing me an error after completing of 3 or 4 GB extract. Error is: Cannot create directory: No space left on device ...
Sudip Das's user avatar
  • 300
1 vote
2 answers
593 views

Unattended-upgrades broke persistent live media

I made a boot/installation media of Mythbuntu 16.04 by mkusb 10.6.6. I run a persistent live session. Unattended-upgrades started to operate and install e.g. new kernel on the USB flash drive. The ...
jarno's user avatar
  • 5,317
0 votes
1 answer
1k views

Running out of inodes constantly, sessionclean throwing up errors

I keep running out of inodes (Ubuntu 14.04). In my root mail I get the following message: From [email protected] Sun May 29 04:09:01 2016 Return-Path: <[email protected]> X-Original-To: root ...
Matt's user avatar
  • 111
0 votes
2 answers
898 views

Booting to initramfs

I ran apt-get upgrade on Ubuntu 12.04 LTS and it did not finish due to an error (run out of free inodes). After reboot the GRUB menu appeared and when tried to boot my OS it displayed: /dev/disk/by-...
Franc Drobnič's user avatar
2 votes
1 answer
661 views

how can I read the specific block of a file

Suppose I have a file /foo/bar. stat /foo/bar can show the inode information of it -- something like this: Size: 9511068 Blocks: 18584 IO Block: 4096 regular file Device: ca01h/51713d ...
Hangchen Yu's user avatar
1 vote
1 answer
1k views

Increase number of inodes on a disk

Can I increase number of inodes on a disk? How can I increase it ? I am out of inodes just because of so many small files in disk.
Aashu's user avatar
  • 643
32 votes
2 answers
27k views

False disk full error: apt-get unable to install or remove

I encountered the following error while upgrading my Ubuntu 12.04 server. Now apt-get is unable to install or removed any package. Unpacking linux-headers-3.13.0-62 (from .../linux-headers-3.13.0-...
sourav c.'s user avatar
  • 44.1k
6 votes
1 answer
3k views

How do I remove old kernels despite 100% inode use in /usr?

I was trying to update my packages today: $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f ...
Housni's user avatar
  • 230