The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
24 views

Exundelete can't restore the file

I'm trying to restore 2 important tar.gz files I know their directory but extundelete not restoring them although it's giving me the inode number. Loading filesystem metadata ... 2127 groups loaded. ...
2
votes
3answers
37 views

Manipulate multiple files by inode

I have a large number of files that contain backslashes \ that I would like to manipulate, but whenever I try something like: $ ls -li 2036553851 -rw-rw-r-- 1 user user 6757 May 20 00:10 ...
1
vote
2answers
45 views

ext4 file system tuning for storage partition

I searched the Internet, but I was not able to find a satisfying answer to my problem. The Problem I'm encountering currently is, that I'm transitioning my data from a NTFS Partition to a ext4 ...
2
votes
2answers
31 views

How many inodes do I need to access to read a file?

Imagine I want to access the blocks of file /hello/file. How many inodes should I walt through? I guess two, since I should not go through the root inode, right?
3
votes
0answers
32 views

Limit the inode cache used by a command

I want to run a task with limits on the kernel objects that they will indirectly trigger. Note that this is not about the memory, threads, etc. used by the application, but about memory used by the ...
1
vote
0answers
35 views

What does an inode for a socket contain?

I read somewhere that the inode for a TCP socket would contain the buffer space. Is that true, and if so, does it mean that the inode contains a memory address for the buffer space used by the ...
4
votes
2answers
92 views

Why does '/' have the inode 2?

On many *nix systems like OS X and Ubuntu, We can see the inode of root directory is 2. Then what is the inode 1 used for?
1
vote
1answer
32 views

How to setup boot scripts to save orphan inodes after improper shutdown?

after abnormal shutdown in dmesg I have [ 16.107445] EXT4-fs (dm-1): INFO: recovery required on readonly filesystem [ 16.107450] EXT4-fs (dm-1): write access will be enabled during recovery [ ...
2
votes
4answers
152 views

Does the inode change when renaming or moving a file?

in PHP the fileinode() functions returns the inode of a file. I was wondering if I can use it to determine if a file was renamed, moved or modified. I did some tests and it seems the inode stays the ...
4
votes
2answers
153 views

What is the downside of having many inodes?

Too few inodes can result in you not being able to store anymore files. What is the the downside of having many inodes ? (more than default)
1
vote
1answer
56 views

How to speed up directory listing on high-inode partitions?

I have almost 7,000 files in a single directory which makes loading that particular directory a tedious and time-consuming one. Is there any way to list and perform operations on files in that ...
1
vote
1answer
19 views

How to display metainformation for different kinds of time of a file ?

As far as I know each name within a path, e.g. /name1/name2/name3, is allocated to one inode. This inode is a collection of meta information for each name (file or directory). Some of these ...
2
votes
1answer
65 views

Should I increase inode count for a rsync backup volume?

Considering rsync used for incremental OS backup creates hardlink farms for all non-differing files, if I use it to backup a large, slowly-changing system regularly to a dedicated volume, I'm worried ...
4
votes
1answer
70 views

What are the implications of using an inode_ratio of 16384 in terms of storage use on ext4?

I'm assuming that this means that if the average file stored (including directories etc) is less than 16384 bytes, it may be possible to run out of inodes before using the full storage capacity of the ...
1
vote
1answer
53 views

How does one set up a Linode with a certain number of inodes?

Normally when one creates a Linode, they choose a plan, and then deploy a Linux distribution, and choose how much of the disk to allocate. Normally there is a swap partition and a main partition. But ...
-1
votes
1answer
11 views

Number of occupied inodes via Quota?

Need help in determining how to do the following: Using the quota command, what is the number of occupied inodes by you in your pool account home directory? Find them out, with what type of file how ...
3
votes
3answers
164 views

How to use all the inodes

Without creating a file can I use any inode which is free? I want to write a script that will use all free inodes in the system. is it possible?
1
vote
1answer
81 views

At Backup, when would the filesystems inode numbers matter?

background: Being somewhat of a coward I have up to now dd whole filesystems for backup. Major drawback has become the excessive use of memory for those complete backups (which unfortunatelly also ...
1
vote
2answers
207 views

Why does find -inum iterate through the whole filesystem tree?

It surprises me to see find iterate/walk through the complete filesystem when I do a simple find -inum 12345 Without background info it seems to me that there should be much easier ways for to tell ...
1
vote
1answer
111 views

How are large directories stored (one inode or many?)

I've been studying up on the ext2 file system and inodes, and I'm not quite understanding a few things. How big is an inode? The output from tune2fs says its 256 for my system, so is that 256 byes? ...
3
votes
1answer
768 views

Unreferenced inodes on EC2 linux instance

I have an Amazon EC2 instance which I am using as a NFS file server. It's using a 5x1TB volume RAID0 array. The system is very I/O intensive and files are being written/copied/deleted through the NFS ...
1
vote
0answers
86 views

bad inodes reappear after fsck() for vps guests

I have several vps guests that were created by virt-resize. I do daily backups on the guests by creating a snapshot and rsync file contents. But some of them don't have a clean disk image. As soon as ...
2
votes
0answers
193 views

Ran out of inodes on NFS

I have a RHEL 6 box with an NFS mount, mounted using autofs. I copied a big folder, with a lot of small files there, and used up all of my inodes, but I still have 80% of my storage space left, this ...
-1
votes
2answers
121 views

Does tar create new inodes to be archived?

When tar is asked to archive a directory, does it create a new inode for each file system object? If yes, how does it query and save the meta-data? Won't the format of storing this inode metadata vary ...
0
votes
1answer
324 views

What's the difference between modification date and inode's modification date?

I've just found some interesting information for me in man stat: a, m, c, B The time file was last accessed or modified, of when the inode was last changed, or the birth time of the inode. But ...
1
vote
1answer
137 views

Where have all my inodes gone?

Today, I ran out of inodes on one of my VPSs. I deleted a bunch of superfluous small files, freeing enough inodes to make the system operational again: Filesystem Inodes IUsed IFree IUse% Mounted ...
1
vote
1answer
102 views

Why is it impossible to change the inode count of an ext filesystem?

I know that it isn't possible to change the inode count of an ext filesystem after its creation, but I haven't been able to find any explanation on why it isn't. Can anyone enlighten me?
5
votes
2answers
3k views

How do I find the inode of any directory?

There is literally nothing on google that I can find that will help me answer this question. I presume it is passing some other parameter to ls -i?
2
votes
1answer
73 views

link count of deleted files

I am reading in man lsof that +L enables the listing of file link counts. A specification of the form "+L1" will select open files that have been unlinked. I don't understand why deleted files ...
3
votes
4answers
2k views

Work out the link count of inode number?

How can I work out the link count of an inode number? If I know the inode number is, say, 592255 - what workings out can I do to find out the link count? I know directories have a link count of at ...
4
votes
2answers
993 views

Difference between xattr and chattr

What is the relation and the difference between xattr and chattr? I want to know when I set a chattr attribute in Linux what is happening inside the Linux kernel and inode metadata.
19
votes
5answers
36k views

Find where inodes are being used

So I received a warning from our monitoring system on one of our boxes that the number of free inodes on a filesystem was getting low. df -i output shows this: Filesystem Inodes IUsed ...
1
vote
2answers
324 views

When do inode modification times change? [closed]

I am currently reading UNIX by Bach. I encountered a problem while reading the section on inodes in the 4th chapter. A file modified time is shown as 1:45pm but the inode modified time is shown as ...
6
votes
2answers
1k views

Why restrict the number of inodes a user can access?

It appears that it is possible on a network mount to set a quota on how much space a user can consume. # edquota ramesh Disk quotas for user ramesh (uid 500): Filesystem blocks ...
3
votes
1answer
83 views

Where are information stored information about hard/soft links

Where does the *nix system store information about number of hard links to a specific inode? I can't find any information about that. Everywhere what a hard link is but rarely a bit more advanced ...
0
votes
0answers
305 views

Mail queue keep growing

My server keeps running short on inodes due the mail queue getting crazy. First, I assumed I had postfix not configured properly, so I switched it off. But, it happened again, last time I did it I had ...
9
votes
2answers
675 views

Why does the Linux kernel report “out of disk space” when in reality it is out of i-nodes

A friend of mine who likes programming in the Linux environment, but doesn't know much about the administration of Linux recently ran into a problem where his OS (Ubuntu) was reporting "out of disk ...
5
votes
2answers
430 views

Linux: How does hard-linking to a directory work?

I'm aware that Linux does not allow hard-linking to a directory. I read somewhere, that this is to prevent unintentional loops (or graphs, instead of the more desirable tree structure) in the ...
2
votes
2answers
665 views

Is a -rw-rw-rw- file really inaccessible inside a drwxrwx— directory?

Say I have a directory with these permissions: drwxrwx--- Inside this directory, a file with these permissions: -rw-rw-rw- Is the file readable/writable by everyone or not ? If not, how secure ...
7
votes
2answers
263 views

what does a “deleted file” entry look like in the journal

I hope I've got this right: A file's inode contains data such as inode number, time of last modification, ownership etc. – and also the entry: »deletion time«. Which made me curious: ...
5
votes
2answers
2k views

Can a file be retrieved by its inode?

Run command like the following: $ln a b $ls -i a b 523669 a 523669 b $rm -f a $ls -i b 523669 b I concluded from this test that command rm actually removes the filename (a in this test) only ...
3
votes
0answers
1k views

Recovering files using extundelete

I've accidentally deleted some files in my package managers's cache after an update (so I've deleted all packages that were downloade and unforunately they weren't even installed). Here's what I've ...
1
vote
1answer
461 views

Understanding NTFS-3g Inode Use

I'm running a CentOS 4.6 final box with a second drive array (raid 1, the mount is /mnt/raid, as listed below in my nagios warning) that uses ntfs-3g as the file system. My nagios warnings just went ...
3
votes
0answers
367 views

Foremost file naming - Recovery of file names from inodes

I'm hoping this is not a stupid question. (apologies if it is) I have been asked to recover some files from a corrupt Linux partition. The partition data is shot to pieces but i have been able to ...
1
vote
2answers
3k views

No space left on device / No Inodes free OR used / Double mounting

For about a day now I can only create/cp/mv (through terminal or various GUI programs) files on my FAT16 formatted USB stick, of about a few bytes. Doing so with larger files reports cannot create ...
1
vote
2answers
164 views

How can find support large files?

I would like to find all the files of my system, which sizes are more than a couple gigabits. I thought I would use find -size, but the man page states: The size does not count indirect blocks ...
0
votes
1answer
86 views

Get the number of inode in a tree

How can I get the number of inodes used by files in a given directory tree? Important: including hidden directories under it, like .git
6
votes
1answer
495 views

Finding all the hard-links of a file without traversing the file system

I have seen in this page that inodes have a link counter to know how many files (read: "directory entry") point to this inode. Is there a way to know which directories contain such entries without ...
4
votes
2answers
5k views

Drawbacks of increasing number of inodes in EXT4

I am currently using backintime to take "snapshots" of my file system. It is similar to rsnapshot in that it, makes hard links to unchanged files. I have recently run out of inodes on my EXT4 ...
27
votes
2answers
2k views

Why does a software package run just fine even when it is being upgraded?

Say I am running a software, and then I run package manager to upgrade the software, I notice that Linux does not bring down the running process for package upgrade - it is still running fine. How ...