Questions tagged [inode]

The inode is a data structure in a Unix-style file system which describes a filesystem object such as a file or a directory

The inode is a data structure in a Unix-style file system which describes a filesystem object such as a file or a directory. Each inode stores the attributes and disk block location(s) of the object's data. Filesystem object attributes may include metadata (times of last change, access, modification), as well as owner and permission data.

Directories are lists of names assigned to inodes. A directory contains an entry for itself, its parent, and each of its children.

109 questions
1
vote
0 answers

Force files to stay in dentries und inodes cache on SuSe

We have some sql queries which are rarely executed. When running them first time after a while they take about 2 minutes, a second call takes only 800ms. I found out when i restart postgres the querys are still fast. Only when i clear the inode…
wutzebaer
  • 129
  • 8
1
vote
0 answers

Reducing inodes usage on vServer

On my Linux vServer the inodes are limited (maximum is 250k). I found that an Yii2 (PHP, MySQL, composer) installation requires quite a lot of inodes. The number of inodes is roughly the number of files and directories. The number of inodes used in…
WeSee
  • 486
  • 1
  • 4
  • 10
1
vote
1 answer

What is Apache's purpose in putting inodes into ETags?

There are plenty of articles on the web detailing why you might not want to use Apache's default inode-mtime-size format for ETags (see e.g. here or here). All such articles recommend the same thing: remove inodes from your ETags. But I have yet to…
hatfinch
  • 113
  • 5
1
vote
3 answers

delete millions of files within a directory

The other day I ran bleachbit on my system. I had enabled wipe disk space option in it. It took several hours and my disk space filled up completely (100GB or so). After waiting forever, I decided to terminate the program and delete the files…
eternaltyro
  • 262
  • 2
  • 14
1
vote
1 answer

recovering a corrupt degraded btrfs RAID6, need to manually clear an inode

I have a btrfs RAID 6. I have lousy hard drives, one failed, and another failed during recovery. Now I am without parity and cannot rebuild--a third drive is throwing read errors on a few sectors. Since I can't remove it, I overwrote the bad…
Jacob Stoner
  • 163
  • 1
  • 7
1
vote
1 answer

Inodes after extending filesystem

If I make a ext4 filesystem and add about 20% of extra inodes, how would this effect the inode count if later I extend the filesystem? Would the extended filesystem also automatically add an extra 20% inodes? Or would it add a normal amount of…
d hee
  • 250
  • 3
  • 13
1
vote
1 answer

lsof displays restored file as deleted

If I create a file named /home/martin/testfile.txt, open this file with less utility, delete /home/martin/testfile.txt file and restore it from file descriptor directory under the /proc/31148, where 31148 is the PID of the less utility, then lsof |…
Martin
  • 352
  • 3
  • 12
  • 29
1
vote
1 answer

How to increase the inode size

I have Ubuntu 11.10 Server 64bit. my clients upload a lot of small xml files on my server. and my business needs all of those files. I have storage space, but the problem is in inode size. by running df -ih and df -h, I get df -ih Filesystem …
Alaa Alomari
  • 638
  • 6
  • 19
  • 37
1
vote
2 answers

File system for a lot of small files

I'm using NetApp device as a NAS storage. I have a lot of small files (30-60k) and dirs. For example I have: 30000 dirs with another 1000-2000 dirs. A lot of dirs are empty, but most of them have many files (30k). Should I change block size on Ext3?
1
vote
0 answers

Strange Inode/Ram cache drops happening in CentOS

Possible Duplicate: Unexplained cache RAM drops on Linux machine I run a CentOS 5.7 machine (64bit) with 24GB ram and 4x SAS drives in RAID10 setup. This machine runs nginx/1.0.10, php-fpm & xcache. About a month back the RAM usage of this…
Mr.Boon
  • 1,471
  • 4
  • 24
  • 43
1
vote
2 answers

Why do some filesystems out there have imaps to imaps to imaps (multiple imaps)?

It seems that the point of an imap is to hold points to individual inodes so that writes can be done in a really fast manner (can someone explain how this works as well?) but I was wondering what the point of having imaps that contain pointers to…
1
vote
3 answers

ext2 dump/restore problem

I am running a mailserver with maildir storage. This means that quite a lot of files are created and I have just run out of inodes. AFAIK there is no magic command to increase number of inodes on ext# filesystem (or am I wrong?) so I have to backup…
1
vote
1 answer

inodes and tree-depth in ext2

I have an ext2 filesystem with a maximum number of inodes per directory (somewhere around 32k), and also a maximum number of inodes in the entire filesystem (somewhere around 350m). Because I'm using this filesystem as a datastore for a service…
1
vote
1 answer

How decode xfs lost+found directory

I have managed to trash my homebrew Nas box (an old hp d530 + 2x 750gb sata soft raid1 + 17gb boot disk with ubuntu server 8.10) I have searched the web and tried to repair the file system but to no avail :( I was thinking that the dirs/files…
Satpal
  • 143
  • 2
  • 7
1
vote
0 answers

EBS 12.1.3 issues on 64 bit RHEL 7 OS due to 64 bit inode numbers

We recently got an issue with adpatch, it is failing to read driver files from APPL_TOP or unable to write to adworker log files, when the affected files have 64 bit inode numbers. As per my findings, 32 bit EBS products cannot process files with 64…