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
7
votes
2 answers

What is the function in Windows similar to Inode in Linux?

Is there any commands which is same as the function inode in Linux. Any info will be helpful.
Riyas
  • 191
  • 1
  • 3
  • 14
7
votes
4 answers

What does it mean if inode usage is high?

After some google research I have figured out inode usage probably relates to the number of directorys/files. I am guessing there is a limit (thus what determines the inode usage %). What is this limit determined by? If Inode usage hits 100%…
Joshua Enfield
  • 3,454
  • 8
  • 42
  • 59
6
votes
1 answer

The impact of a high directory-to-file ratio on XFS

We're building a product that is likely to generate very large XFS volumes, and I'm trying to discover the scaling bottlenecks we're likely to run into given the architecture. As we manipulate files they get placed into directories on the XFS…
sysadmin1138
  • 133,124
  • 18
  • 176
  • 300
6
votes
2 answers

Diagnosing cause of orphaned inodes on Linux, busy MySQL?

One of our servers recently experienced some file system corruption and our root file system was automatically remounted as read only. The steps I took to recover were: attempted to remount > mount -n -o remount / this failed rebooted the…
BenM
  • 748
  • 1
  • 8
  • 13
5
votes
1 answer

Can I delete files in nginx client_body_temp directory?

On my nginx server, I can't login to my wordpress site. The error log mentions " No space left on device". 2014/09/26 02:02:05 [crit] 1197#0: *32 open() "/usr/local/nginx/client_body_temp/0030999742" failed (28: No space left on device) There is…
Adripants
  • 347
  • 2
  • 5
  • 16
5
votes
2 answers

xfs: find files on the first 1 TB

I have been hit by xfs' No space left on device. According to the FAQ: http://xfs.org/index.php/XFS_FAQ#Q:_Why_do_I_receive_No_space_left_on_device_after_xfs_growfs.3F The only way to fix this is to move data around to free up space below 1TB.…
Ole Tange
  • 2,946
  • 6
  • 32
  • 47
5
votes
1 answer

How to distribute files and folders to handle large number of files

I want to manage a huge number of files on my server (say millions). It is needed to save files in two or three levels of folders to keep the number of files in each folder low. On the other hand, it is not good to have many folders to spend…
Googlebot
  • 1,047
  • 2
  • 15
  • 30
4
votes
1 answer

How to rescue a server with no free inodes (from DDOS)

One of my web server was DDOS attacked. All is well except there are millions of PHP session files used up 100% inodes of the partition. There is only one partition for the entire / Tried several solutions, but only worked to some…
Reed
  • 287
  • 1
  • 3
  • 10
4
votes
4 answers

How to determine which processes have most inodes opened

Here is my problem, visibile in a munin chart: My used/opened inodes are "suddenly" constantly increasing. Is there a way to determine which process is keeping the most currently opened inodes? I used the approach of…
Xosofox
  • 197
  • 2
  • 2
  • 8
4
votes
1 answer

dirtied inode

I am investigating a very strange io issue. I have vm.block_dump enabled and I am seeing allot of messages in this form: process(29177): dirtied inode 42254471 (filename) on 0:14 What does dirtied inode mean?
jr0d
  • 153
  • 1
  • 6
4
votes
3 answers

Why don't linux distributions default to mounting tmpfs with infinite inodes?

According to this answer it is possible to mount at least tmpfs with "infinite" inodes. Consider this specific (numbers chosen for example purposes, I know that they're not realistic) situation: The tmpfs partition is 50% used by volume 90% of…
quodlibetor
  • 297
  • 2
  • 4
  • 12
4
votes
2 answers

Monitoring /proc/sys/fs/inode-nr

As part of a general overhaul of some Nagios scripts, I am adding parameters to the scripts so that the thresholds can be determined on a machine-by-machine basis. As an example, we are specifying percentage of disk free at which to trigger the…
Rich
  • 1,343
  • 7
  • 28
  • 39
3
votes
0 answers

What is directory's blockmap? And how many disk I/Os will happen?

I am reading this paper from Facebook (Beaver). The paper says that We initially stored thousands of files in each directory of an NFS volume which led to an excessive number of disk operations to read even a single image. Because of how the…
3
votes
2 answers

eCryptfs headers errors

I'm getting the following error on a server where a partition is encrypted thru ecryptfs. [3440851.003561] Valid eCryptfs headers not found in file header region or xattr region, inode 22545087 [3440830.026081] Valid eCryptfs headers not found in…
ohe
  • 145
  • 1
  • 7
3
votes
2 answers

-bash: cannot create temp file for here-document: No space left on device

I'm getting following error while doing tab, tab inside of shell: -bash: cannot create temp file for here-document: No space left on device root@alexus:~# cat /etc/issue.net Ubuntu 14.04.3 LTS root@alexus:~# uname -a Linux alexus 3.13.0-57-generic…
alexus
  • 13,112
  • 32
  • 117
  • 174