0
votes
0answers
78 views

Why does xfs_db show ifree=0 but I can still create files?

Recently we ran into a problem with an xfs file system reporting that it had run out of space, even though there was lots of free space left. Because it is a backup volume, we ran into the 5% of space ...
2
votes
1answer
70 views

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 ...
0
votes
2answers
283 views

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: ...
0
votes
1answer
73 views

Quota limit in a shared host envirionment

people! I'm studying Linux for taking the LPIC-1 exam. When studying quotas, I was wondering something: Since you can overflow a disk space creating an infinite number of 0 bytes files, setting a ...
1
vote
1answer
78 views

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% ...
3
votes
4answers
536 views

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. ...
6
votes
2answers
11k views

ext4 file-system max inode limit - can anyone please explain?

Recently we had a problem where one of the ext4 file-systems seemed unable to handle very large number of files, more than 6mln in this case, in spite of having enough space. Is it 6mln the max ...
0
votes
2answers
422 views

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 ...
-2
votes
2answers
277 views

How can I “trick” an ext3 directory to store more than 32000 sub dirs

The easy answers are 1.) move to ext4 and/or 2.) "shard" the directory somehow - by placing them in sub folders either numbered or lettered. These changes won't be easy to make though so I'm looking ...
6
votes
1answer
221 views

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 ...
2
votes
2answers
134 views

How does directory complexity influences on i-nodes?

For single project, which uses a lot of images( ± 1k-3k per day) I use custom PHP script to process images and save them to server. Currenty PHP script processes them and saves in the following ...
3
votes
2answers
754 views

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 ...
0
votes
1answer
168 views

make vfs linux cache more inclined to keep inodes over actual file contents

I am using a centos 5 (2.6.18-194.el5). I need to be able to list files very quickly, in order for my rsync backup to be efficient. I don't really need to cache file contents, because file access ...
1
vote
1answer
746 views

tuning linux cache settings for inode caching

I am dealing with hundred million files in a filesystem (distributed among a lot of subdirectories), and I need to be able to list them very quickly, particularly in order to rsync them efficiently. ...
0
votes
1answer
400 views

How to debug inode usage

I am a programmer for a popular website hosted by two web servers with apache. We're in the ~1000 alexa rank range to give you an idea. I'm not a server administrator. Only one of them (always the ...
3
votes
3answers
1k views

Monotonic growth of Linux directory size/block count

On Linux, (perhaps as a function of the filesystem block size), when I create a directory and stat it, it returns a size of 4096. I can create files in this directory, up to a point, without ...
2
votes
3answers
1k views

disk space overhead in ext4

I'd like to know if there's some rule (or formula) I can apply to find out how much of disk space will be used by the filesystem in an ext4 partition. for example, in a partition of 100 GB, how much ...
2
votes
4answers
3k views

How to clean up an unprocessed orphan inode list?

I tried to mount a formerly readonly mounted filesystem read-writeable: mount -o remount,rw /mountpoint Unfortunately it did not work: mount: /mountpoint not mounted already, or bad option dmesg ...
2
votes
1answer
922 views

Recovering any deleted file using Inode value?

Please correct me If I'm wrong Is possible to recover the deleted file if you have inode number of file.
1
vote
3answers
2k views

Where is the inode number stored?

I know that the filename is stored in directories and not in inode. Kindly tell me where the inode number of a file is stored? Is it stored in the directory file?
1
vote
2answers
3k views

How can I remove a corrupted file in Linux?

The power went out at home and my Linux server (Plugbox Linux) went down. After it came back up, one of the files on the USB drive that was connected is corrupt. "ls -il" gives this: ? -????????? ...
2
votes
4answers
11k views

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 ...
18
votes
7answers
5k views

Relinking a deleted file

Sometimes people delete files they shouldn't, a long-running process still has the file open, and recovering the data by catting /proc/<pid>/fd/N just isn't awesome enough. Awesome enough would ...
8
votes
2answers
5k views

Linux: Why change inode size?

Tune2fs allows to change inode size from default 128 bytes to almost anything, but it should be power of two. What are the reasons for changing default inode size? Here it's written that this can be ...
2
votes
2answers
2k views

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 > ...
10
votes
5answers
14k views

Linux - Help, I'm running out of inodes!

I have a filesystem that has lots of small files. Currently about 80% of inodes are used (I checked with df -i), however only 60% of disk space is used. How can I 'increase' the number of inodes? If ...
0
votes
1answer
216 views

Does smbfs create constant inode numbers?

If I use smbfs to mount a filesystem, will the inodes always be the same for each file? Or am I in danger of the inodes changing when I mount the fs again or if the remote system reboots?
5
votes
2answers
7k views

Can I increase inode count in Linux?

Sorry for my poor English. I have a Linux MIPS router with 2.4.17 kernel. Root fs is a tmpfs and /rom is a cramfs. There is 4MB free memory and 3MB free on tmpfs. I can create a few new empty ...
0
votes
1answer
2k views

Inode too big. Linux Filesystem

Today after unzipping a very large archive one of our Red Hat servers became unresponsive. After rebooting we received the following file system error. Inode 93464 is too big Unexpected ...
12
votes
3answers
2k views

Link to a specific inode

I have a file that was deleted, but is still held open by a program. I found the inode number using lsof. How can I create a hard link back to that inode?
11
votes
12answers
10k views

Determine Location of Inode Usage

I recently installed Munin on a development web server to keep track of system usage. I've noticted that the system's inode usage is climbing by about 7-8% per day even though the disk usage has ...