Skip to main content

Questions tagged [inode]

Data structures used to store metadata for each file on a Unix/Linux filesystem.

0 votes
0 answers
69 views

macOS: How do I find which file on an APFS disk is associated with a specific `doc-id` and/or `file-id`?

I am on macOS 14.5 with APFS formatted SSD. Disk Utility always reports the same error: error: doc-id tree: record exists for doc-id 1341220, file-id 8567077 but no inode references this doc-id. I ...
HirsuteJim's user avatar
0 votes
0 answers
167 views

How to get the total actual number of inodes for file system?

In the Linux terminal I can do df -i to show how the inodes are allocated. That is explicitly not what I need. What is the terminal command needed to reveal how many inodes are available to the file ...
John's user avatar
  • 2,147
0 votes
0 answers
171 views

ext4lazyinit and forcing to have similar times as an ext4 format time, advantages and disadvangages

I saw this question and while 2 years is a long time, can anybody share anything about any progress on ext4lazyinit. I am specifically interested in this statement by Ted Tso - So that is what the ...
shirish's user avatar
  • 479
0 votes
0 answers
441 views

Recovering inode connection on ext4 fs

I faced some non-standard behavior in ext4 partition on my external drive. After i disconnect my disk from laptop and reconnect again i witnesssed something odd: i somehow lost some of my files... Or ...
Mykola Kikets's user avatar
0 votes
0 answers
113 views

Can I force Linux to write data at the start of a file system?

TLDR; Is there a command to force Linux to write a file (for example a PDF file, MP3, anything really) at the start of a file system ? I don't thing that # dd does the trick, because the inode table ...
ChennyStar's user avatar
1 vote
1 answer
126 views

WSL Ubuntu. How to remove a file with 0 hardlinks?

I somehow managed to end up with the following: ls -la: total 0 drwxrwxrwx 1 umain umain 4096 Jan 30 12:32 . drwxr-xr-x 1 umain umain 4096 Jan 30 10:57 .. -rw-r--r-- 0 umain umain 0 Jan 30 12:32 ...
D.Mill's user avatar
  • 121
1 vote
1 answer
238 views

Are /var/mail/root and /var/spool/mail/root hardlinks for the same inode?

Just found out this: # diff /var/mail/root /var/spool/mail/root # (nothing) # ls -i /var/mail/root /var/spool/mail/root 1284 /var/mail/root 1284 /var/spool/mail/root Same content, same 1284 inode ...
colemar's user avatar
  • 61
2 votes
1 answer
35 views

Inconsistent behavior from 'find' on zfs under Linux

I was checking to see if I had multiple copies of python on my system today, and I got some super strange behavior from find: mark@neverland:~/repos/lpod-python$ ls -i /bin/python3.10 534638 /bin/...
MTippetts's user avatar
0 votes
1 answer
247 views

Can rsync --remove-source-files to the same drive reduce fragmentation?

I know that rsync with --remove-source-files (which I use instead of mv so I can merge directory hierarchies) creates new inodes: stat 2021_07_30_20_18_17.pdf~ rsync --remove-source-files ...
Sridhar Sarnobat's user avatar
0 votes
1 answer
44 views

Linux + what are the preferred options in order to resolve inodes that reached 100%

we have RHEL machine , and from df -i , we can see that some partitions are with 100% ( about inodes ) , in spite by df -h we have space Note - disks are VMDK disks df -h /dev/sdc ...
King David's user avatar
0 votes
1 answer
163 views

change windows partition device number as reported by cygwin stat

I have two partitions with the same device number: $ stat -c "%D" /cygdrive/c ec6d967e $ stat -c "%D" /cygdrive/g ec6d967e I believe this is because G: was restored from an image ...
cjfp's user avatar
  • 21
1 vote
1 answer
347 views

fix corrupt file with same inode than an other (linux, ntfs)

While copying thousands of images on a new disk with a pi (raspbian), rsync stopped with an error, impossible to move temp file to correct file name. The real file name actually exists but has the ...
cmbarbu's user avatar
  • 139
1 vote
1 answer
403 views

Trying to understand how the deletion of hard links relate to the freeing up of values in the inode table?

When a hard link is deleted, the link is removed but the contents of the file itself continue to exist (that is, its space is not deallocated) until all links to the file are deleted. My understanding ...
Usernamehere's user avatar
5 votes
2 answers
6k views

Will long time ext4lazyinit damage the drive? Why initializing inode tables in ext4 (no need any kinda init in NTFS)? etc

I never pay attention on ext4lazyinit before. But today, after I format my 4TB external USB harddrive and the first mount, the led light keeps blinking without any writes and reads. I figured out that ...
sgon00's user avatar
  • 995
0 votes
1 answer
2k views

How many inodes does a file, a folder take?

After checking a lot of information on the Internet, it is still not quite clear for me how many inodes a file and a folder takes. Also, I noticed that inodes are shown in kilobytes and not as ...
t7e's user avatar
  • 721

15 30 50 per page
1
2 3 4 5 6