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

Filter by
Sorted by
Tagged with
2
votes
0answers
18 views

EBS 12.1.3 issues on 64 bit RHEL 7 OS due to 64 bit inode numbers

We recently got an issue with adpatch, it is failing to read driver files from APPL_TOP or unable to write to adworker log files, when the affected files have 64 bit inode numbers. As per my findings, ...
0
votes
0answers
18 views

Does increasing inodes cause any performance issues?

I am currently running nginx and have a specify volume attache to my ec2 instance for be used for caching. With cache zone configuration proxy_cache_path /var/cache/nginx/myapp levels=2:2:2 keys_zone=...
0
votes
0answers
23 views

is the linux directory inode different then the file inode?

Im currently reading the book "How Linux Works" by Brian Ward and on chapter 4.5 it is said "A directory inode contains a list of filenames and corresponding links to other inodes&...
0
votes
2answers
149 views

Monitor Linux Server filesystem health and suspicious activities

I run my own, small server here. The server runs on Ubuntu 18.04. There is one single HDD using LVM on a partition together with EXT4. LVM is used for taking snapshots. I also use Webmin with ...
2
votes
1answer
110 views

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

XFS inodes not neessarily unique?

(Debian 10.5, kernel 4.19.132-1 ) My understanding is that inodes are unique on a given filesystem, and indeed if we look at man inode we get the following assertion: Each file in a filesystem has ...
0
votes
0answers
41 views

Is it safe to delete McAfee files to try and free up inodes?

I ran a command line to find the number of files in each directory on my Linux server. The largest number found are in the "/opt/McAfee/cma/scratch/Unpack", 751583 in total. All the files ...
0
votes
3answers
130 views

We are migrating our wordpress to static site. That is creating over 400,000 folders within 1 folder. Is there any limit to the number of sub-folders?

Our wordpress web site is several years old and has many posts indexed and ranking well on google. With any serious traffic my wordpress server tanks - and this happens even after several rounds of ...
0
votes
1answer
147 views

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

What is directory's blockmap? And how many disk I/Os will happen?

I am reading this paper from Facebook (Beaver). The paper says that We initially stored thousands of files in each directory of an NFS volume which led to an excessive number of disk operations ...
0
votes
3answers
984 views

Disk inodes full due to PHP sessions [closed]

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

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

I have a problem. chattr +e <file> 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 ...
0
votes
1answer
269 views

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

fsck -n /dev/nandb giving errors . how to solve fsck errors [closed]

I want to know how to solve this error? help me out!! INPUT "fsck -n /dev/nandb" OUTPUT fsck from util-linux 2.25.2 e2fsck 1.42.12 (29-Aug-2014) Warning! /dev/nandb is mounted. /dev/nandb ...
0
votes
2answers
2k views

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 ...
1
vote
0answers
104 views

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'...
1
vote
2answers
11k views

Understanding XFS inode limits

I reached the inode limit on my XFS partition. There are plenty of questions about this. Some suggest the answer is to increase the maximum percentage of space allocated for inodes. Or, as the ...
2
votes
2answers
1k views

Could swap use many inodes?

I have got a graph about high inode use of our server's disk but I haven't got any detailed information (like df -i) so I'd like to guess the reason. Operating System: Red Hat Linux Process: PDF ...
0
votes
2answers
165 views

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/...
0
votes
0answers
337 views

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

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

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

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 ...
4
votes
1answer
1k views

How to rescue a server with no free inodes (from DDOS)

One of my web server was DDOS attacked. All is well except there are millions of PHP session files used up 100% inodes of the partition. There is only one partition for the entire / Tried several ...
0
votes
1answer
161 views

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 ...
1
vote
2answers
2k views

Inode usage gone up to 100% hence can't uninstall any package

My server's inode usage has gone up to 100% due to which I am not able to uninstall extra linux-kernel-headers and linux-kernel-images $ df -i Filesystem Inodes IUsed IFree IUse% Mounted on /...
9
votes
2answers
7k views

ext4: Running out of inodes [duplicate]

I am running out of inodes. Only 11% available: the-foo:~ # df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/system-home 9830400 8702297 1128103 89% /home Is ...
2
votes
1answer
357 views

Failing to mount SCSI from HP Modular Smart Array (MSA20)

I have acquired a HP dl360 g4p with a MSA20 Modular Smart Array. Currently I have Arch Linux installed on it since I had some issues with the graphics. But that is not why I am asking a question. ...
1
vote
1answer
607 views

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

100 % inodes in root directory, how to free inodes?

df -i Filesystem-----Inodes-----Iused-----IFree-----IUse-----Mounted on dev/sda2-------732960-----727804-----5156-----100%---- / Only these 2 are having higest inodes, rest all are too low. what can ...
1
vote
0answers
69 views

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
votes
1answer
323 views

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 ...
1
vote
0answers
74 views

Force files to stay in dentries und inodes cache on SuSe

We have some sql queries which are rarely executed. When running them first time after a while they take about 2 minutes, a second call takes only 800ms. I found out when i restart postgres the ...
1
vote
0answers
95 views

Reducing inodes usage on vServer

On my Linux vServer the inodes are limited (maximum is 250k). I found that an Yii2 (PHP, MySQL, composer) installation requires quite a lot of inodes. The number of inodes is roughly the number of ...
8
votes
4answers
3k views

How to find the file at a certain btrfs inode

I have a corrupt file according to btrfs BTRFS info (device sdb1): csum failed ino 367 off 310013952 csum 1601485211 expected csum 3692975992 I assumed ino 367 means inode 367, so I can use find and ...
3
votes
2answers
3k views

eCryptfs headers errors

I'm getting the following error on a server where a partition is encrypted thru ecryptfs. [3440851.003561] Valid eCryptfs headers not found in file header region or xattr region, inode 22545087 [...
2
votes
1answer
2k views

Icinga2 perfdata directory is overflowed

I`ve installed icinga2 on a virtual machine for monitoring 5 other ones with graphite support for the graphics and icingaweb2 as an interface. Recently on my web interface I got the follow: Fatal ...
3
votes
2answers
15k views

-bash: cannot create temp file for here-document: No space left on device

I'm getting following error while doing tab, tab inside of shell: -bash: cannot create temp file for here-document: No space left on device root@alexus:~# cat /etc/issue.net Ubuntu 14.04.3 LTS ...
2
votes
3answers
276 views

Is it possible to have orphaned hard links?

I'm not sure if it is even possible to have an orphaned hard link. Let me explain why I'm asking. Bear with me. My Setup I am using rsync to sync my file server to my backup server. I am using the -...
0
votes
0answers
352 views

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

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

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

Setting up tmpfs `/run/lock` for hundreds of thousands of 0 byte lock files, and dealing with the inode limit

I have a situation where I need to create 100s of thousands of 0 byte lock files for concurrency control. I've tested creating them by using: for i in `seq 1 50000`; do touch "/run/lock/${i}.lock"; ...
4
votes
4answers
9k views

How to determine which processes have most inodes opened

Here is my problem, visibile in a munin chart: My used/opened inodes are "suddenly" constantly increasing. Is there a way to determine which process is keeping the most currently opened inodes? I ...
2
votes
0answers
2k views

Circular directory structure

I'm having an issue with a circular directory structure warning produced by du and find on my CentOS servers. I have two FreeNAS servers exporting several datasets via NFS which are mounted on the ...
2
votes
2answers
3k views

What is INODE usage and can I reduce it?

My webserver keeps giving me the error backup failed due to high INODE usage... What is this and how can I prevent it?
0
votes
1answer
2k views

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 ...
8
votes
3answers
21k views

No space left on device error, but df reports as more space available

My PHP sessions on my Debian webserver using Apache2 with mod_php seem to be failing randomly, saying that there’s no space to write them: sudo tail -60 /var/log/apache2/error.log [Fri Jan 30 15:55:...
1
vote
3answers
1k views

delete millions of files within a directory [duplicate]

The other day I ran bleachbit on my system. I had enabled wipe disk space option in it. It took several hours and my disk space filled up completely (100GB or so). After waiting forever, I decided to ...
5
votes
1answer
6k views

Can I delete files in nginx client_body_temp directory?

On my nginx server, I can't login to my wordpress site. The error log mentions " No space left on device". 2014/09/26 02:02:05 [crit] 1197#0: *32 open() "/usr/local/nginx/client_body_temp/...
1
vote
1answer
2k views

Get information about inodes via snmp for linux

I want to check inodes via snmp for linux system, set up check. I could not find the correspondent MIB. Can any one help me to get information about inodes prozent ?