2
votes
1answer
28 views

link count of deleted files

I am reading in man lsof that +L enables the listing of file link counts. A specification of the form "+L1" will select open files that have been unlinked. I don't understand why deleted files ...
8
votes
4answers
275 views

Find where inodes are being used

So I received a warning from our monitoring system on one of our boxes that the number of free inodes on a filesystem was getting low. df -i output shows this: Filesystem Inodes IUsed ...
3
votes
1answer
42 views

Where are information stored information about hard/soft links

Where does the *nix system store information about number of hard links to a specific inode? I can't find any information about that. Everywhere what a hard link is but rarely a bit more advanced ...
8
votes
2answers
254 views

Why does the Linux kernel report “out of disk space” when in reality it is out of i-nodes

A friend of mine who likes programming in the Linux environment, but doesn't know much about the administration of Linux recently ran into a problem where his OS (Ubuntu) was reporting "out of disk ...
1
vote
2answers
136 views

How can find support large files?

I would like to find all the files of my system, which sizes are more than a couple gigabits. I thought I would use find -size, but the man page states: The size does not count indirect blocks ...
5
votes
1answer
178 views

Finding all the hard-links of a file without traversing the file system

I have seen in this page that inodes have a link counter to know how many files (read: "directory entry") point to this inode. Is there a way to know which directories contain such entries without ...
2
votes
2answers
224 views

how can “several file nodes” be associated with a single inode?

I am trying to learn about iNodes and file permissions. I thought that there is one inode that holds the permissions for a single file. The OS pulls a single inode into memory to check permissions for ...
2
votes
1answer
275 views

Why do inode-based file systems NOT need reboot after updating library versions? [duplicate]

I am trying to understand what an inode is. However, this passage from Wikipedia puzzles me: Installation of new libraries is simple with inode filesystems. A running process can access a library ...
3
votes
2answers
430 views

Storing thousands of files in one directory

I have a web-site that I'm checking for performance issues and bugs, and i came across a caching code that caches thousands of files into one single directory. I understand that this is not good and ...
3
votes
2answers
454 views

Location of inodes (ext)?

Say I want to observe how the flow from file name to cluster on hard disc goes. I get the inode number of I file (which is mapped in a directory data): 1863 autorun.inf So, now i know that i have ...
0
votes
1answer
270 views

The relationship between execute permission on a directory and its inode structure

My question deals with the relationship between the read and execute bits on a directory. I'm going to give my assumptions, first, all according to my current knowledge, then ask my question in bold ...
3
votes
4answers
465 views

What are inodes good for?

I wonder if storing the information about files in inodes instead of directly in the directory is worth the additional overhead. It may be well that I'm overestimating the overhead or overlooking some ...
4
votes
1answer
131 views

ext4 directory lists as a file

I'm working with a large (8TB) EXT4 filesystem in linux. After a power outage, the filesystem wouldn't mount. fsck is taking weeks to complete, but i ran testdisk and i'm able to see my partition ...
3
votes
1answer
1k views

inode limitation on a 500GB hard disk? Can you explain please?

I am launching a social networking website on LAMP Stack on Linux Ubuntu, I know that people are going to upload lots of pictures. Let's say I have 5000 users and each user upload a minimum of 100 ...
1
vote
1answer
763 views

what is inode for, in FreeBSD or Solaris

I know a little about linux kernel. BUt for Freebsd, the "vnode" actually is similar to the "inode" in Linux kernel. And there is a "inode" concept in FreeBSD or Solaris. So my question is: what is ...
18
votes
1answer
15k views

How can I increase the number of inodes in an ext4 filesystem?

I had a problem (new to me) last week. I have a ext4 (Fedora 15) filesystem. The application that runs on the server suddenly stopped. I couldn't find the problem at first look. df showed 50% ...
15
votes
2answers
3k views

How can I find the number of files on a filesystem?

I want to know how many files I have on my filesystem. I know I can do something like this: find / -type f | wc -l This seems highly inefficient. What I'd really like is to do is find the total ...
3
votes
1answer
151 views

Filesystem and journal layout

Is there any tools or some way in linux which can be used to view internals of filesystems ? How to view the inode related structures and journal ? and cached pages of files (pagecache).
37
votes
5answers
23k views

What is a Superblock, Inode, Dentry and a File?

From the article Anatomy of Linux File Systems by Tim Jones, I read that Linux views all the file systems from the perspective of a common set of objects and these objects are superblock, inode, ...