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
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
  • 267
  • 3
  • 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
2
votes
4 answers

Centos INODES usage

We are using Centos & cPanel server but we have a important problem for INODES usage. "df -i" command showing for / directory using 6 million inodes!. When I check number of files for / directory, it has few thousand files. df -i Filesystem …
MSTF
  • 23
  • 1
  • 1
  • 4
2
votes
2 answers

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 folder structure: So the max lvl is 5. But currently I…
Jevgeni Smirnov
  • 492
  • 1
  • 6
  • 22
2
votes
2 answers

'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 this? I thought it might be something running in…
Harry Wood
  • 301
  • 3
  • 9
2
votes
1 answer

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.
Caterpillar
  • 1,132
  • 2
  • 23
  • 47
2
votes
3 answers

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?
LinuxPenseur
  • 443
  • 1
  • 6
  • 16
2
votes
2 answers

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: ? -????????? ? ? ? ? ? server.prefs How…
Nate
  • 155
  • 1
  • 2
  • 7
2
votes
1 answer

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 find my process with pgrep, and use pfiles to see…
Tom Dunham
  • 1,825
  • 2
  • 14
  • 8
2
votes
1 answer

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?
higginbotham
2
votes
1 answer

How can I create disk for smaller files with good read/write speeds?

I'm trying to find the best way to store lots of small files on a volume, without hitting the inode limits. I created a new drive with: sudo mkfs.ext4 -N 100000000 /dev/device and this correctly shows: /dev/device 100040704 13929894 86110810 14%…
Andrew Newby
  • 1,102
  • 2
  • 25
  • 58
1
vote
0 answers

Is it possible to relink an Inode in EXT4 with it's original filename

Ok, so foolish idiot here, trashes his postgresql data directory, right at the very moment when his backup routine is currently in the "delete old files" and "create new files" phase. As a result, Iv'e destroyed my backup AND simultaneously done an…
shawty
  • 293
  • 4
  • 15
1
vote
1 answer

Ubuntu: no space left on device while inodes and storage usage less than 10%

let me explain my specification of operating system i used and storage space information of my VPS here is my operating system vico@vicoartwork:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.1…
Vico
  • 13
  • 4
1
vote
1 answer

Large number of inodes being used by Apache mod_cache_disk

I am frequently getting to 100% inode usage on an Ubuntu PHP/Apache box. The main usage seems to be in /var/cache/apache2/mod_cache_disk Once every fortnight I have to manually remove files from this folder, this solves my issue. ls in that…
Franco
  • 163
  • 1
  • 4
1
vote
0 answers

Can't find used inodes on server

I have a Xen VPS with Debian Linux installed. Once I found that all inodes are used. I checked this: ~# df -i Filesystem Inodes IUsed IFree IUse% Mounted on rootfs 3932160 3932160 0 100% / udev 59227 262 58965 …
Ticksy
  • 111
  • 2