Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
0answers
19 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 ...
3
votes
1answer
43 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,...
0
votes
0answers
14 views

Diagnosing networking and boot drive issues, likely due to faulty hardware

I have a server running Ubuntu Gnome 16.04, primarily a Plex and Urbackup server, usually running fine but with weird quirks that have been tough to figure out the cause of, let alone solution to. I'...
2
votes
1answer
41 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
28 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 ...
0
votes
0answers
116 views

black screen of death - recovering journal clearing orphaned inode

I recently upgraded from ubuntu 16 to 18. I had this same problem in 16 and haven't found a solution for it yet. My laptop crashes and I get this screen. This seems to happen when I'm using chrome. ...
0
votes
2answers
326 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 ?
1
vote
1answer
164 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
104 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 ...
0
votes
0answers
91 views

Unable to open Ubuntu BusyBox v1.22.1

I have a dual boot and when I open Ubuntu it opens to BusyBox at this black screen. I have tried to get through but have been unsuccessful. I am trying to fix it without losing my files.
0
votes
0answers
39 views

How to free Inodes? [duplicate]

In my root directory 100% of Inodes are in use. I already had this problem once and deleted some of the previously installed versions of ubuntu in Synaptic. The problem is when I try to start Synaptic ...
2
votes
1answer
4k 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
3k 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
602 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
1k 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
154 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 ...
0
votes
2answers
1k 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
244 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
609 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
467 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
82 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
900 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
2k 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
445 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
644 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
403 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
44 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
946 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.
21
votes
2answers
13k 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
2k 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
196 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 ...
14
votes
3answers
11k 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
416 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
879 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
743 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/...
9
votes
5answers
9k 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 ...
32
votes
6answers
22k 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 ...