Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

-2
votes
2answers
90 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
51 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 ...
0
votes
0answers
36 views

nginx in a jail, php-fpm in a jail, hardlinked php-fpm socket - “No Input File”

I solved the issue, sorry for not phrasing it as a '?' :) Cross-jailing image link
1
vote
2answers
39 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 ...
1
vote
0answers
96 views

Strange Inode/Ram cache drops happening in CentOS

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 machine has changed. ...
3
votes
1answer
222 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 ...
1
vote
0answers
71 views

What does it imply if debugfs says Can't read next inode when doing inode scan?

I've got some bad sectors pending reallocation (based on smartmontools reports), and I'm trying to find out which file the sector is currently related to so that I can restore from a backup or such or ...
0
votes
1answer
44 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 ...
0
votes
1answer
185 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
96 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 ...
2
votes
2answers
371 views

'inode table usage' spiking every morning at 8am

I installed munin on my ubuntu server. It's showing my 'inode table usage' spiking every morning at 8am. It then rapidly curves down and settles over the course of several hours. What might cause ...
1
vote
2answers
72 views

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 ...
3
votes
1answer
97 views

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 ...
1
vote
3answers
79 views

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# ...
0
votes
3answers
483 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
343 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 ...
0
votes
1answer
420 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
247 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
1answer
64 views

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 ...
1
vote
1answer
152 views

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 ...
1
vote
2answers
595 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?
0
votes
2answers
1k 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: ? -????????? ...
1
vote
1answer
221 views

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.
1
vote
3answers
2k 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 ...
0
votes
1answer
108 views

Nagios: Any point in monitoring /proc/sys/fs/inode-nr when also using inode monitoring in check_disk

We are using the standard Nagios check_disk plugin which has the ability to monitor the inode usage on a system. We also have an in-house plugin which checks the data in /proc/sys/fs/inode-nr. ...
2
votes
2answers
660 views

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 ...
12
votes
6answers
2k 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 ...
7
votes
1answer
2k 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 reasons for changing default inode size? Here ...
2
votes
2answers
711 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 > ...
6
votes
5answers
4k 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 ...
1
vote
1answer
903 views

Process has opened inode that's not on any filesystem?

So I'm trying to find out if the stderr of a process has been redirected to somewhare unusual (it's a java process and I want a thread dump, but it's launched through a nest of startup scripts). I ...
0
votes
1answer
92 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?
2
votes
2answers
4k 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
1k 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 ...
1
vote
1answer
593 views

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: ...
1
vote
1answer
657 views

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 ...
10
votes
2answers
830 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?
7
votes
11answers
4k 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 ...