Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
0answers
14 views

Can I truncate a corrupt directory?

Virtual machine was abruptly killed and the fs is now in an unclean state. Linux would not start, geting stuck on fsck. When I mount the image: mount /virtual_drives/biginfoservice /mnt -o loop,...
0
votes
1answer
41 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
103 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
1answer
307 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
40 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'...
0
votes
1answer
2k 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
934 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
58 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
136 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
121 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
719 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
232 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 ...
5
votes
1answer
690 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
109 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
576 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 /...
7
votes
2answers
4k 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
287 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
349 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 ...
3
votes
4answers
39k 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
63 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
175 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
57 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
76 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 ...
4
votes
4answers
2k 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
2k 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
14k 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
173 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
174 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
32 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
834 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
6k 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
1k 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
1k 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 ...
7
votes
3answers
15k 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 ...
2
votes
1answer
4k 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 ?
0
votes
2answers
508 views

All of the NTFS hard links disappear, where are those 0KB hardlinks stored on disk and how to recover them?

This is Windows 7 x64 sp1 on a NTFS file system. All hardlinks within C:\Windows\System32 folder disappear, and the Windows can't boot, because even the osloader, C:\Windows\System32\boot\Winload.exe ...
1
vote
1answer
970 views

recovering a corrupt degraded btrfs RAID6, need to manually clear an inode

I have a btrfs RAID 6. I have lousy hard drives, one failed, and another failed during recovery. Now I am without parity and cannot rebuild--a third drive is throwing read errors on a few sectors. ...
1
vote
1answer
846 views

impossible creating a ext4 fs with block size of 1024

Im triying to build up a new server for a service that saves the data on very small files of max 1 kb on the fs. The problem its, now we are using a block size of 4 kb and we are wasting a lot of ...
3
votes
1answer
260 views

How do I replace the root filesystem (ext4) with a new one in LVM with one which has more inodes?

I have a few systems which have been running over a decade in a cluster on SLES 10 (now long past EOL). We're migrating to CentOS 6 64-bit. I got everything done but the final data syncs, and lo and ...
0
votes
1answer
1k views

fsck ext4 inode error

Today while I was booting I got an error in an ext4 partition with some inodes. I just entered the root password and run fsck manually but I am a bit worried. fsck warned many times about some errors ...
0
votes
1answer
141 views

Weird Apache HTTPD 403 Error

So I'm having this really weird problem that I've worked around, but I don't understand why it's happening. I have a file I'm hosting via httpd. Below is a list of things I've tested/thought of to ...
2
votes
1answer
306 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 ...
2
votes
2answers
2k 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
214 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 ...
0
votes
1answer
119 views

Where do ext3 inode / meta-data reside?

Just a quick question about ext3: Are inodes stored in the same area as file data, or are there separate regions on the disk reserved exclusively for meta-data and others reserved exclusively for ...
1
vote
1answer
234 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% ...