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.

learn more… | top users | synonyms

0
votes
1answer
59 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
0answers
22 views

Have to run fsck often

4 times in the last 6 months I go to start my laptop and it won't boot. I boot in using a live CD (SD card) and fix it by running fsck. I have to clear some deleted/unused inodes and deal with a lot ...
0
votes
2answers
119 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
29 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 ...
0
votes
0answers
41 views

Wipe all erroneous inodes

My server recently crashed and left my raid6 with 8x4TB disks in a state where I had to force it to assemble. Two disks had event counters that were way behind, but the remaining 6 disks had the same ...
1
vote
1answer
256 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.
2
votes
0answers
974 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-...
1
vote
1answer
461 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
77 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 ...
5
votes
2answers
1k 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 ...
0
votes
1answer
405 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... ...
0
votes
1answer
135 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?
4
votes
0answers
814 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
826 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
2k 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
275 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 ...
0
votes
2answers
388 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/...
5
votes
4answers
6k 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 ...
21
votes
5answers
10k 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 ...