2022 Developer Survey is open! Take survey.

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
52 views

/dev/mapper/vgubuntu-root stuck after on reboot after an electrical failure

This afternoon we suffered an electrical failure, so my Ubuntu 20.04.3 workstation machine was unexpectedly shut down. When I restarted, it gave me a lot of inode checking errors, then stuck with the ...
user avatar
0 votes
0 answers
21 views

*error* failed to send host cannot open desktop in ubuntu

I got an error message which is error failed to send host log message. Within the message [4.719963][drm:vmw_host_log[vmwgfix]] How to I repair?
user avatar
0 votes
0 answers
28 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
user avatar
  • 115
0 votes
1 answer
852 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 ...
user avatar
2 votes
0 answers
69 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 ...
user avatar
0 votes
0 answers
30 views

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

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 takes about 5 minutes, and can cause ...
user avatar
  • 157
0 votes
0 answers
182 views

Causes and consequences of "/dev/sdb3: Inodes that were part of a corrupted orphan linked list found" error?

Recently had to fix a /dev/sdb3: Inodes that were part of a corrupted orphan linked list found error (using the info here: https://askubuntu.com/a/948207/760862) by simply running the fsck /dev/sdb3 ...
user avatar
0 votes
1 answer
36 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 ...
user avatar
0 votes
2 answers
62 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 ...
user avatar
  • 171
0 votes
1 answer
3k 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 ...
user avatar
2 votes
0 answers
174 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 ...
user avatar
0 votes
0 answers
71 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 ...
user avatar
  • 670
-1 votes
2 answers
314 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 ...
user avatar
  • 227
0 votes
1 answer
106 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?
user avatar
1 vote
1 answer
58 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/...
user avatar
0 votes
1 answer
83 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 ...
user avatar
  • 3
1 vote
1 answer
441 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 ...
user avatar
0 votes
0 answers
43 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 ...
user avatar
0 votes
1 answer
122 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 ...
user avatar
  • 33
0 votes
0 answers
515 views

How to open and edit inode bitmap?

I wanted to expand my Ubuntu partition using DiskGenius on Windows, as normal Windows Disk Management and GParted couldn't do so and I received the following output: It basically says that some inodes ...
user avatar
  • 1
4 votes
2 answers
5k 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 ...
user avatar
  • 169
2 votes
0 answers
340 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 ...
user avatar
6 votes
1 answer
3k 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,...
user avatar
  • 1,566
2 votes
1 answer
108 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:...
user avatar
  • 2,491
0 votes
0 answers
81 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 ...
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 ?
user avatar
2 votes
1 answer
2k 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 ...
user avatar
0 votes
0 answers
972 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 ...
user avatar
  • 101
2 votes
1 answer
8k 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 ...
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 ...
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. ...
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 ...
user avatar
  • 1,231
0 votes
0 answers
289 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 ...
user avatar
  • 2,667
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, ...
user avatar
-1 votes
1 answer
436 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 ...
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 ...
user avatar
1 vote
2 answers
1k 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 ...
user avatar
1 vote
0 answers
88 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 ...
user avatar
  • 11
3 votes
2 answers
943 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 ...
user avatar
2 votes
1 answer
4k 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 ...
user avatar
  • 300
1 vote
2 answers
585 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 ...
user avatar
  • 4,689
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 root@web.site.com Sun May 29 04:09:01 2016 Return-Path: <root@web.site.com> X-Original-To: root ...
user avatar
  • 101
0 votes
2 answers
828 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-...
user avatar
2 votes
1 answer
467 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 ...
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.
user avatar
  • 613
29 votes
2 answers
24k 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-...
user avatar
  • 41.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 ...
user avatar
  • 230
1 vote
0 answers
389 views

keep same inodes metadata with rsync or ignore metadata with du

I'm trying to synchronize two folders from a remote computer. I want to use rsync to send the folder, and du to check if the space used is identical on the remote computer. The problem is even with a ...
user avatar
  • 351
17 votes
3 answers
23k views

How can I create an EXT4 partition with an extra large number of inodes?

About inodes In Ubuntu, each file and directory is a so-called inode. You can use df -i to check the number of inodes in use and available for all mounted filesystems. Question If you create a new ...
user avatar
  • 503
1 vote
1 answer
1k views

apt-get unable to autoremove packages filling up Inodes

An old Ubuntu 10.04 server is complaining about unmet dependencies. When I run apt-get -f install I get back a "No space left on device" message: $ sudo apt-get -f install Reading package lists... ...
user avatar