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
1
vote
1answer
34 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/...
0
votes
1answer
24 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 ...
1
vote
1answer
100 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 ...
0
votes
0answers
38 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 ...
0
votes
1answer
14 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 ...
0
votes
0answers
110 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 ...
3
votes
2answers
2k 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 ...
0
votes
0answers
346 views

unable to boot Ubuntu 18.04 Couldn't get UEFI db list [duplicate]

I was working with my project and due to wrong PHP code it froze my computer 2 to 3 times, I restarted directly and then it showed some inode cleaning message, now my Ubuntu doesn't load and shows me ...
2
votes
0answers
103 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 ...
5
votes
1answer
2k 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,...
2
votes
1answer
83 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:...
0
votes
0answers
77 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 ...
2
votes
2answers
2k 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 ?
2
votes
1answer
914 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 ...
0
votes
0answers
582 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 ...
2
votes
1answer
6k 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 ...
3
votes
1answer
5k 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 ...
2
votes
1answer
918 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. ...
0
votes
2answers
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 ...
0
votes
0answers
217 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 ...
1
vote
2answers
3k 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, ...
-1
votes
1answer
389 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 ...
0
votes
1answer
1k 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 ...
1
vote
2answers
932 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 ...
1
vote
0answers
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 ...
3
votes
2answers
917 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 ...
2
votes
1answer
3k 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 ...
1
vote
2answers
551 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 ...
0
votes
1answer
906 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 ...
0
votes
2answers
627 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-...
2
votes
1answer
80 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 ...
1
vote
1answer
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.
26
votes
2answers
19k 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-...
5
votes
1answer
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 ...
1
vote
0answers
281 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 ...
15
votes
3answers
17k 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 ...
1
vote
1answer
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... ...
1
vote
1answer
547 views

how to know how many hardlink count an inode has and where are they located

I need to know how many hard-links pointing to a certain inode. And where are those hard-links located in?
5
votes
0answers
2k views

orphaned inodes on root file system (ext4); persistent problem

On my trusty systems (VMs under vmWare, desktops, and laptops), we have the following issue. The root file system seems to have inodes that are never marked as "free". After a month of a working ...
0
votes
2answers
1k views

Recovering from apt-get upgrade gone wrong due to a full disk

I was performing an apt-get upgrade on an Ubuntu 12.04.5 LTS box that hadn't been updated in a little while and the upgrade failed due to 'No space left on device'. After a little while I worked out ...
0
votes
1answer
5k views

Make ext3 filesystem with 128 bytes inode size

I need to format external hard disks to EXT3 MBR with the iNode size set to 128 bits. This is for a very specific use, i.e. the delivery of DCP to digital cinema servers. I'd like to be able to do ...
4
votes
2answers
1k views

How to prevent users from deleting files that are already in use?

Consider this scenario: User is executing a command on a file. This file becomes 'in-use' now. $ tail -f somefile.log In another shell, user deletes the file. $ rm somefile.log Now, this file is '...
1
vote
2answers
921 views

Linux Headers not upgrading. It says “no space” when I have lots

Problems with my linux-headers in a Ubuntu 13.10 upgrade. It says: E: / var/cache/apt/archives/linux-headers-3.11.0-15_3.11.0-15.25_all.deb: unable to create `/ usr/src/linux-headers-3.11.0-15/arch/...
10
votes
5answers
10k views

/usr/src is eating up all inodes

It seems /usr/src (apparently old kernels) used up all my inodes: Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda4 489600 489600 0 100% / devtmpfs ...
34
votes
7answers
26k views

Find directories with lots of files in

So a client of mine got an email from Linode today saying their server was causing Linode's backup service to blow up. Why? Too many files. I laughed and then ran: # df -ih Filesystem Inodes ...