New answers tagged

1

If you have a ext2/3/4 filesystem you can use debugfs for a low-level look at an inode. For example, to play without being root: $ truncate -s 1M myfile $ mkfs.ext2 -F myfile $ debugfs -w myfile debugfs: stat <2> Inode: 2 Type: directory Mode: 0755 Flags: 0x0 Generation: 0 Version: 0x00000000 User: 0 Group: 0 Size: ...


-1

an inode wil store only one file. try find /xxx -xdev -inum 1234 -print where /xxx is mounting point -inum 1234 search for an inode number 1234 -print self explainatory This suppose /xxx is mounted an healthy.


2

If you look at the kernel's inode source code, you can see that the ihash_entries is set at the kernel level only. There is no user or process level considerations at all. Adding those could drastically decrease performance which would be counter productive. It would also imply keeping track of all processes that used the cached entries, therefore ...


1

Have you tried the --parent parameter, as described in the ntfsundelete man page? Since it was able to find the information from the folder that initially included it, that should normally work.


1

Good morning! Following the advices of @Guido, I saw that I need to reboot the system (error 2) and that's what I did. The only problem that I got was that the server wasn't booting anymore which leads me to the @frostschutz's comment (call your hoster). And it works, they allowed me new temp inodes and the restart made my inode count back to 256 000 (or ...


8

Given that this is a log file, here's the most likely explanation: There is a process that has the file open and keeps appending to it. Currently that's process 22252, there may have been other processes in the past (previous instances of the same application). At some point in the past, someone truncated the file. Truncating the file to a certain position ...


4

It's probably a sparse file, i.e. a file that is largely empty, and where not all the disc blocks needed for the full size have been allocated. Using dd if=/dev/zero bs=1 count=1 seek=1E of=sparse I just made a file with an apparent size of 1 EB and I don't have that much disc space: grove@cassiopeia> ls -lh sparse -rw-r--r-- 1 grove grove 1.1E Apr 10 ...



Top 50 recent answers are included