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

inode usage is full under / partition

The inode usage of the server is full Filesystem Inodes IUsed IFree IUse% Mounted on /dev/vda2 2305632 2305632 0 100% / tmpfs 490504 6 490498 1% /dev/shm /dev/vda1 128016 46 127970 1%…
AndresM
  • 39
  • 1
  • 1
  • 5
0
votes
3 answers

Disk inodes full due to PHP sessions

We have been struggling with this problem for over 2 years now. We have an eCommerce shop that uses PHP sessions to store user baskets and other information. The problem is that after a while, the server will run out of disk inodes even if there is…
456543646346
  • 111
  • 5
0
votes
1 answer

Why does `chattr +e ` fail with no space left on the device when there's plenty?

I have a problem. chattr +e does not work, if the file does not have the +e attr set on it, or if it's removed and re-added. [root@ip-203-0-113-13 log]# df -Th Filesystem Type Size Used Avail Use% Mounted on devtmpfs devtmpfs …
Wayne Werner
  • 739
  • 4
  • 15
  • 27
0
votes
1 answer

Why does dovecot cur folder remain very large after emptying it?

My CentOS system, used for PHPList, accumulates incoming mail in this path: /var/qmail/mailnames/example.com/noreply/Maildir/cur There used to be hundreds of thousands of emails in this mailbox, they were bounce emails meant for bounce processing by…
Doochz
  • 141
  • 3
0
votes
2 answers

How to delete files after EXT4-fs error: Directory hole found

I have a specific directory where I am unable to delete the files or the directory. The directory is on an ext4 file system, using RAID5 over 3 disks on a QNAP NAS. Using rm -f gives me: rm: unable to stat `file.jpg': Input/output error And also…
drgrog
  • 171
  • 2
  • 5
0
votes
2 answers

Permissions, ownership, and grouping changed for no good reason in webapps

I have an Ubuntu 16.04 Nginx server environment with several (WordPress) webapps under /var/www/html. My Nginx user is www-data. Each time I add A webapp, I execute: chown www-data:www-data /var/www/html/* -R find /var/www/html/* -type d -exec chmod…
Arcticooling
  • 1
  • 3
  • 7
  • 22
0
votes
0 answers

Why is mounted nas showing 0 inodes on users partition?

I am using a NetGear ReadyNAS machine as a NAS for our server. The server is a linux CentOS 6.6. The server is run using Rocks cluster, with all our users' home directories located on the NAS. My understanding is that the home directories are…
Abs
  • 33
  • 4
0
votes
0 answers

Unable to create new directories or mysql table as root - quota error?

I recently updated an ubuntu 14 box to version 16.04. Everything appeared to go smoothly, however now I am unable to create any new mysql tables. I'm signed into the ubuntu box as root and mysql as the root user. The error I receive when trying to…
TommyBs
  • 179
  • 3
  • 10
0
votes
1 answer

Lustre: find where inodes are being used

I'm looking for a command that will list the number of files across several directories simultaneously. Currently, I can do this for a single directory: lfs find DIRECTORY -type f | wc -l But this is tedious to do iteratively. Can someone think of…
Evan
  • 101
  • 4
0
votes
1 answer

Lustre: inode/files quota: dependent on striping?

My understanding of the Lustre file system is that every file uses one inode on a metadata target (MDT), and then one inode per stripe on the object storage targets (OSTs). My question is, which of these numbers counts towards my file number (inode)…
Evan
  • 101
  • 4
0
votes
1 answer

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 Inconsistency Run fsck Manually Running fsck immediately…
Xap
  • 411
  • 1
  • 6
  • 12
0
votes
1 answer

How to avoid symlinked files shared by Samba from looking like duplicate files (different inode numbers)?

I often have directories on a Linux server where symbolic links are used for alternative names for subdirectories or files (e.g. maintaining a "latest" symbolic link to a directory with the latest version, but also for things like "Philips" linking…
0
votes
0 answers

Remove orphaned Inode (LVM) without unmount or restart

One of our VM hard disk is getting full and the only way to fix it is to restart it. Upon restarting it, we can see it is removing orphaned Inodes and once its done, the VM is ok due to its disk space is getting freed. This happens every now and…
BJaz
  • 19
  • 5
0
votes
0 answers

du and df show discrepant amounts of available disk space on my Linux server

I know that inodes aren't necessarily deallocated with certain removal/deletion methods that users/programs use. When inodes are still present and pointing to files that have been deleted, but two or more Linux utilities show a discrepancy with the…
Catbird55
  • 163
  • 1
  • 1
  • 6
0
votes
1 answer

How to increase inodes limit in ReiserFS filesystem?

Is it possible to increase inode limit in ReiserFS without formatting the partition? Currently, the filesystem on my VPS allows me to create 489K inodes, which is not enough. The machine works as online server so disk format is not an option.
lkrzysiak
  • 1
  • 1