The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
24 views

Which file attributes are stored in the directory entries and which in the inodes?

I want to do some deduplication of old files, replacing duplicates with hardlinks. To minimize loss of metadata, I want to set the directory entry attributes of each new hardlink to the attributes of ...
2
votes
2answers
144 views

XFS Incorrect statement of “No space left on device”

I have a server setup of an XFS partition on LVM on a Ubuntu 14.04.1 LTS. While copying files to the home partition, "No space left on device" is displayed. df -h displays sufficient space: ...
0
votes
1answer
22 views

Can a file be created from an inode?

There is an apache process which logs to an access and error log. The two log files have been deleted, but the apache process has not been restarted or reloaded so it still has open filehandles for ...
0
votes
0answers
52 views

All of the NTFS hard links damaged, where are those 0kb hardlinks stored 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
150 views

From where comes the inode number of a file mounted through NFS?

I asked a question on codereview to know if I could safely replace the following code: :inode => [stat.ino, stat.dev_major, stat.dev_minor], which threw NotImplementedError because of jruby not ...
0
votes
0answers
54 views

Can inode numbers be reused in HFS+?

Does the HFS+ file system reuse inode numbers after entries are fully deleted? I am trying to determine if the inode number always grows or if the numbers are reused.
0
votes
0answers
45 views

Traversing through the inode to find the contents of the file stored in different data blocks

I am reading about the EXT2 filesystem and I got an understanding about it. Every file system comprises of data and metadata (inode). The file system is divided into a number of blocks with 4 main ...
1
vote
1answer
101 views

Zero inodes even after formatting hard disk

I have an external 1Tb harddisk which due to some reason was showing following under df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sdb1 0 0 0 - ...
0
votes
1answer
80 views

Difference between 'du' and 'du -b'?

root@host:/var/log/apache2# du access.log -bh 753M access.log root@host:/var/log/apache2# du access.log -h 1.2G access.log Why is there such a huge difference in size for the same file?
1
vote
1answer
50 views

Kate changes inode

Why does Kate change inode when I change file? For example: ookami@ookami-E7130:~/test$ touch test ookami@ookami-E7130:~/test$ ln test test1 ookami@ookami-E7130:~/test$ ls -li total 0 2782182 ...
1
vote
2answers
81 views

how do I know if the number of inodes are already taken?

According to what I have read here http://www.linux.org/article/view/intro-to-inodes, the inode structure occuppies 1% of the storage unit size. Besides, it may happen (if I recall correctly due to a ...
7
votes
5answers
7k views

How to get the actual directory size (out of du)?

How do I get the actual directory size, using UNIX/Linux standard tools? Alternative question: How do I get du to show me the actual directory size? Since people seem to have different definitions ...
0
votes
1answer
147 views

where does boundary of file system lie in Linux?

I am curious that hard link cannot cross the boundary of file system. But where exactly is the boundary? I know hard disk and flash disk are two file systems; /home and /var are two file systems. But ...
2
votes
1answer
9k views

Changing max inode count number in ext3 filesystem in Cent OS

Assuming that I use ext3 filesystem in Cent OS: Can I increase the number of Free Inodes in the filesystem? If Yes how? When I run tune2fs -l /dev/sda1 it got these inodes statistics: Filesystem ...
2
votes
1answer
75 views

Using inode number to locate hardlinks

How can I use the inode number to locate all hardlinks to the file "file.txt" in my home directory?
0
votes
0answers
188 views

Can't delete files with special (and odd) filename characters

I was cleaning up my NAS and found this odd situation. $ pwd /Volumes/Backup/NoteHP/Outras/Ed Motta $ ls -larit total 12932 7786751625 -rwx------ 1 rjdsantos staff 3388293 Feb 2 2005 Ed Motta ...
0
votes
1answer
360 views

Can an inode table on the root partition be-rebuilt or salvaged?

A friend (not technical) has a Linux server running CentOS which will no longer boot. His IT guy looked at it and says the inode table on the root partition was basically gone. Since the inode table ...
0
votes
0answers
118 views

Show only files owned by the user

I have a folder containing lots of backup images. I want users to only see their own files. I've tried setting the permissions to 000 but they still can see the file using ls (the backups belong to ...
0
votes
1answer
138 views

Zip, tar: is there a file table

Is there a file table, or inode structure (like in filesystems) of a zip or tar file?
0
votes
1answer
92 views

What is the efficiency of NTFS Junctions?

Long story short, I am using the steamtool application, which was originally developed for the following reasons: Steam by default would save all your games to C:\ SSDs are becoming the new primary ...
7
votes
7answers
559 views

Go to directory with unknown name

While unpacking a tarball, I encountered a directory which ls reports as "??????????????? ?????". Presumably, the name is not in unicode? Anyway, I can't figure a way to access the folder. I've tried ...
0
votes
1answer
27 views

When will the modified time of folder be changed?

When will the modified time of folder be changed, on both of windows and linux? I know the modified time changed when its inode is changed. But when will the inode of folder be changed?
1
vote
1answer
724 views

Reverse lookup of inode/file from offset in raw device on linux and ext3/4?

In linux, given an offset into a raw disk device, is it possible to map back to an partition + inode? For example, suppose I know that string "xyz" is contained at byte offset 1000000 on /dev/sda: ...
0
votes
2answers
144 views

Is it possible to create a file and a hardlink to it without initializing the data?

I want to create a file of 2GB, but I don't care about the contents of it. I currently use dd with /dev/zero, but this is fairly slow. Is it possible to create a file and a hardlink to it, without ...
1
vote
1answer
188 views

How do “file headers”, “bit maps” and “inodes” come into the picture when managing filesystems?

I'm a little confused on how these terms are thrown around in a book that I am reading. Are they all different terms that refer to the same concept, or are they slightly different implementations ...
4
votes
1answer
144 views

What exactly is an inode as pertaining to filesystems?

As I understand them, apparently an inode basically points to the beginning of a file stored on disk. But it also seems that directories have the same functionality as well (i.e., they store the ...
1
vote
0answers
139 views

When referring to filesystems, what is the difference between a “live” and a “dead” inode?

My understanding of 'inodes' (from http://en.wikipedia.org/wiki/Inode) is that they contain the information necessary to access certain blocks of a file, but not the file data itself. Then I was ...
1
vote
1answer
4k views

Cannot mkdir: Too many links

I'm trying to untar several tar files. I encountered something like this tar: NCBI_SRA_Metadata_Full_20110601/SRA037312: Cannot mkdir: Too many links Is there a limit to the number of files that ...
0
votes
1answer
706 views

Relationship of iNode indirect pointers to maximum file size

Let's say you have an iNode that is filled to capacity with no indirect pointers. If you give it one indirect pointer, does its maximum file size simply double?
3
votes
4answers
902 views

Linux filesystem with inodes close on the disk

I'd like to make the ls -laR /media/myfs on Linux as fast as possible. I'll have 1 million files on the filesystem, 2TB of total file size, and some directories containing as much as 10000 files. ...
5
votes
3answers
2k views

tail -f not tracking file changes

I was recently looking into using tail -f to monitor some text files like so: tail -f /var/sometext However, when I did some testing, it doesn't seem to work. What I did was I created a new file and ...
1
vote
3answers
2k views

Access file by its id and change file attributes

Just like every file also directories have file id. You can see them by typing ls -i How do I view file content by its id? How do I change directory attribute to file (remove D) and vice versa!
0
votes
2answers
917 views

inode-block ratio

How we can find the ratio of inodes to blocks? How can we change that ratio?
1
vote
1answer
43 views

effect on inode while resizing the LV

In Linux when we resize the partition with the logical volume(LV), how is the inode adjusted?
3
votes
4answers
7k views

Remove a file on linux using the inode number

If you create a file on UNIX/linux with special chars, like touch \"la*, you can't remove it with rm "la*. You have to use the inode number(you can if you add the \ before the name, I know, but you'd ...
5
votes
2answers
7k views

How to calculate proper amount of inode/block sizes for a linux filesystem

I have an old reiser filesystem which I'm going to convert to Ext3. The problem I have is to determine the proper block- and inode-sizes for this partition. The partition is 44 GB large and has to ...
3
votes
2answers
2k views

Is it possible to find all files with a given inode? Efficiently?

It is possible to find all the paths to a file with a given inode, in general, using find's -inum option. But this has awful performance for typical filesystems. What options are there to improve ...
0
votes
1answer
2k views

how can I determine how many inodes a directory uses?

We're running into an inode limit on our fileserver and I'm doing an experiment to reduce the number of inodes. How can I find out how many inodes a directory uses? I read that the linux kernel ...
0
votes
1answer
525 views

Unable to boot to Ubuntu. Inconsistency in disk, X server didn't start. Illegal blocks in Inode

I am unable to boot into my Ubuntu system. First I get that fsck died with exit status 4 Then I try to do it manually as prompted and I get that an Inode has illegal blocks and asked to clear it. ...