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.

107 questions
3
votes
2 answers

Setting up tmpfs `/run/lock` for hundreds of thousands of 0 byte lock files, and dealing with the inode limit

I have a situation where I need to create 100s of thousands of 0 byte lock files for concurrency control. I've tested creating them by using: for i in `seq 1 50000`; do touch "/run/lock/${i}.lock"; done Since the files are 0 bytes, they don't up…
CMCDragonkai
  • 335
  • 1
  • 5
  • 12
3
votes
1 answer

How do I replace the root filesystem (ext4) with a new one in LVM with one which has more inodes?

I have a few systems which have been running over a decade in a cluster on SLES 10 (now long past EOL). We're migrating to CentOS 6 64-bit. I got everything done but the final data syncs, and lo and behold, surprise, I ran out of disk…
Fairlight
  • 33
  • 2
3
votes
2 answers

How can i fix it: EXT4-fs warning (device sda3): ext4_dx_add_entry: Directory index full

I have noticed that in dmesg and syslog i have something like that: EXT4-fs warning (device sda3): ext4_dx_add_entry: Directory index full! I have checked df -i too: Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda3 …
Rafał Kamiński
  • 187
  • 2
  • 5
  • 15
3
votes
4 answers

How can I reduce inode utilization on an ext4 filesystem?

Summary of My Need We put a large amount of files on a filesystem for analysis at a later time. We can't control how many files we're going to have, and this one box needs access to all of them. Unchangeable Limitations I can't change the inode…
Justin Force
  • 338
  • 1
  • 5
  • 14
3
votes
2 answers

Unexplained cache RAM drops on Linux machine

I run a CentOS 5.7 64 machine with 24gb ram and running kernel 2.6.18-274.12.1.el5. This machine runs only Nginx, php-fpm and Xcache as extra applications. Since about 3 weeks my memory behavior on this machine has changed and I cannot explain why.…
Mr.Boon
  • 1,441
  • 4
  • 24
  • 41
2
votes
2 answers

Understanding XFS inode limits

I reached the inode limit on my XFS partition. There are plenty of questions about this. Some suggest the answer is to increase the maximum percentage of space allocated for inodes. Or, as the xfs_growfs manpage puts it: -m Specify a new value…
Synesso
  • 209
  • 1
  • 4
  • 14
2
votes
2 answers

Could swap use many inodes?

I have got a graph about high inode use of our server's disk but I haven't got any detailed information (like df -i) so I'd like to guess the reason. Operating System: Red Hat Linux Process: PDF generation
2
votes
1 answer

Failing to mount SCSI from HP Modular Smart Array (MSA20)

I have acquired a HP dl360 g4p with a MSA20 Modular Smart Array. Currently I have Arch Linux installed on it since I had some issues with the graphics. But that is not why I am asking a question. There is an issue with mounting the array. I…
kitzin
  • 21
  • 1
2
votes
1 answer

Icinga2 perfdata directory is overflowed

I`ve installed icinga2 on a virtual machine for monitoring 5 other ones with graphite support for the graphics and icingaweb2 as an interface. Recently on my web interface I got the follow: Fatal error: Uncaught exception 'ErrorException' with…
Ver
  • 33
  • 7
2
votes
3 answers

Is it possible to have orphaned hard links?

I'm not sure if it is even possible to have an orphaned hard link. Let me explain why I'm asking. Bear with me. My Setup I am using rsync to sync my file server to my backup server. I am using the --link-dest rsync option to create a…
zechdc
  • 135
  • 5
2
votes
0 answers

Circular directory structure

I'm having an issue with a circular directory structure warning produced by du and find on my CentOS servers. I have two FreeNAS servers exporting several datasets via NFS which are mounted on the CentOS servers in a hierarchical structure. For…
onlyanegg
  • 163
  • 1
  • 9
2
votes
2 answers

What is INODE usage and can I reduce it?

My webserver keeps giving me the error backup failed due to high INODE usage... What is this and how can I prevent it?
nlangerdev
  • 23
  • 1
  • 5
2
votes
1 answer

impossible creating a ext4 fs with block size of 1024

Im triying to build up a new server for a service that saves the data on very small files of max 1 kb on the fs. The problem its, now we are using a block size of 4 kb and we are wasting a lot of space, so we are planning to change it to a new fs of…
PsySkeletor
  • 181
  • 1
  • 13
2
votes
1 answer

Re-creating a filesystem on runtime (need more inodes)

I have a machine at a datacenter with 3HDDs and running Debian Wheezy, at one of them I have an ext4 filesystem mounted on /data that has ran out of inodes (I've chosen an inappropriate inode size at install/had more tiny files than…
Rodrigo
  • 167
  • 2
  • 12
2
votes
2 answers

Serve large number of small images in ext4

I read through some similar question, but still have some confuse about my situation. My website allow user upload huge number of large images (scan pages of book). My server will auto tiling and saving those images. So each page will become 10…
xzhang
  • 121
  • 4