Skip to main content

Questions tagged [inode]

For question pertaining to the inode (index node), a data structure in a Unix-style file system that describes a file-system object such as a file or a directory. Use this tag for questions about the inode data structure itself or questions about issues arising from querying or managing inodes in the scope of a filesystem.

Filter by
Sorted by
Tagged with
4 votes
2 answers
113 views

On this filesystem, there are enough inodes already, I only need more filesystem size: # df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/spinning-backup ...
klaus thorn's user avatar
1 vote
1 answer
83 views

I searched online, to no avail. Is there some way to recover the access timestamp of my file on BTRFS, before the access timestamp which appears currently? Using HDD (not SSD). Please let me know. Is ...
user324831's user avatar
0 votes
0 answers
44 views

I'm running a Kubernetes cluster with RKE2 v1.30.5+rke2r1 on Linux nixos 6.6.56 amd64, using Cilium CNI. Here's the setup: I have two pods (yaml manifests at the bottom): Pod A (xfrm-pod) is running ...
rrekaF's user avatar
  • 1
2 votes
1 answer
122 views

Inode usage go from 1 to 100% on a single file creation in a raid array on Debian. First, clean boot, then: sudo cryptsetup luksOpen /dev/RaidVG/LVMVol CVol sudo mount /dev/mapper/CVol /mnt/raid/ ...
Alicya Ambre's user avatar
0 votes
0 answers
42 views

I am trying to find out a way to do incremental antivirus scan. My current approach under evaluation is using "find". You can see relevant question here: Is there a reason why I can't ...
user1578026's user avatar
1 vote
1 answer
541 views

I want to replace the NVMe drive in an embedded computer that runs Linux. The original drive is a 256 GB gen 3 with 5 partitions. After cloning to a larger drive, partition 5, the data partition, ...
Mike Slinn's user avatar
1 vote
1 answer
213 views

How approximately calc bytes-per-inode for ext2? I have 7.3GB storage (15320519 sectors 512B each). I have made ext2 filesystem with block size 4096 mke2fs /dev/sda2 -i 524288 -m 0 -L "SSD" -...
Андрей Тернити's user avatar
0 votes
0 answers
80 views

I’m attempting to copy a symlink of a file in one directory to another directory. I need the copy to be a symlink, not a hard link or a broken symlink. cp -A and cp -P generated broken (flashing) ...
TheorVHP's user avatar
0 votes
1 answer
640 views

My ext4 partition that had my whatsapp data had its entire folder deleted ( that is file / folder delete - no partition ). As I understand inodes have the metadata tree for files including their ...
user1874594's user avatar
0 votes
0 answers
77 views

Can you show with some picture or illustration what does an inode of a directory in ext4 filesystem? Especially, how is the list of directory entries (list of filename-inode pairings) stored?.
firdavs's user avatar
  • 21
1 vote
2 answers
133 views

A question was given to us by a lecturer: How many data blocks are needed to collect all the data in an EXT4 file system using inodes if the file size is 54 KB and there is a block size of 4KB. ...
Matej Vesel's user avatar
-1 votes
2 answers
510 views

Is it possible to use stat for retrieving meta data of File1 by passing File1's inode number as an argument to stat instead of the file name? stat [option - any doing this?] [inode number of File1] ...
futurewave's user avatar
0 votes
0 answers
126 views

We have a video editing server split into two partitions. One for video footage and one for projects. On the projects partition there is totally 7TB of data and 250,000 files. Of these, 50,000 of them ...
swami's user avatar
  • 205
9 votes
5 answers
4k views

I'm aware that this article exists: Why are hard links only valid within the same filesystem? But it unfortunately didn't click with me. https://www.kernel.org/doc/html/latest/filesystems/ext4/...
achhainsan's user avatar
1 vote
1 answer
2k views

I have a ZFS pool in raid Z1 that's around 90TB or so which acts as a PLEX server. I currently have ~300GB free. On average, most files are 70-80GB each. If I copy smaller files, ~10GB, I have no ...
Austin's user avatar
  • 11
1 vote
1 answer
1k views

Is there any way to find exactly the blocks allocated to a inode, and view that file? I don't care if I have to be on a live cd, but i need to do this for example: cat verylongsentice > a ls -i a ...
jp_'s user avatar
  • 127
0 votes
2 answers
374 views

According to the accepted answer here, it is simply because you would not make the access checks at the directories leading up to that file. For example, with a call to openinode(inode #, flags). My ...
user129393192's user avatar
15 votes
4 answers
1k views

As far as I understand, the "read" permission on directories allows one to list all names under that directory, and no more than that. Based on common understanding of FS design, if a ...
iBug's user avatar
  • 3,678
0 votes
1 answer
318 views

If I do an mv command from the command line in OneFS (Isilon, FreeBSD based), what exactly happens in the background and on the disks? Will the data be physically moved from sectors to other sectors ...
Root Loop's user avatar
  • 103
8 votes
1 answer
699 views

Note: Question although says vice versa but it really does not have any meaning since both of them point to the same inode and its not possible to say which is head and which is tail. Say I have a ...
Himanshuman's user avatar
16 votes
4 answers
5k views

I’m asking because string comparisons are slow, but indexing is fast, and a lot of scripts I write are in bash, which to my knowledge performs a full string lookup for every executable call. All those ...
Jacob Valdez's user avatar
0 votes
1 answer
232 views

So, I know that it is possible to view or recover deleted files that are currently being used by a process. I've found out that this also applies to packages that were updated. So, let's say we update ...
nixvega's user avatar
0 votes
1 answer
149 views

When I do a directory listing of a python installation the include directory appears twice and each one has a different inode. ╰─○ ls -i1 2282047 bin 2641630 include 2642559 include 2282048 lib ...
vfclists's user avatar
  • 7,919
1 vote
1 answer
653 views

When I use the dumpe2fs command to look at the Block Group of the ext4 filesystem, I see "free inodes" and "unused inodes". I want to know the difference between them ? Why do they ...
Samuel's user avatar
  • 13
0 votes
0 answers
193 views

To avoid XY problem, here's the background of the problem I am facing... I have an external hard drive which should have hundreds of files and suddenly, all of them disappeared (I have no idea why). I ...
nicolasbk's user avatar

1
2 3 4 5
7