Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [inode]

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

0
votes
0answers
12 views

How to recover disappearing files on an NTFS partion on Linux

I have a Linux machine where I mounted an additional harddisk that has an NTFS filesystem. I use SAMBA to make that volume available in my network. I was uploading files to a directory on that disk ...
0
votes
1answer
94 views

Remove files with strange name, no inode name, and not shown by ls

It all started in windows , where I found on a USB stick key several files with no name or with strange names, listed as created in 1980 and that could not be removed, as shown below . The error ...
0
votes
0answers
8 views

repair HFS+ corruption using known file size and ino numbers

I've had a very strange corruption on a volume : all the files & folders are here, and all have 0 bytes, in lieu of the TBs of data it should contain. Usual solutions (diskUtility repair, fsck, ...
0
votes
0answers
254 views

Inodes that were part of a corrupted orphan linked list found. How to understand what caused it and how to solve?

I bought a Centurion Nano from the now defunct Alpha Computers, it ships with Alpha OS (that is essentially a tampered Ubuntu): $ cat /etc/os-release NAME="Alpha OS" VERSION="1.0.0 Polaris" ID="alpha-...
1
vote
2answers
124 views

remove a file with corrupted name

So this happened: $ ls ''$'\342\200''abc2.16.5' $ ls | od -c 0000000 342 200 a b c 2 . 1 6 . 5 \n $ ls -il 76236897 -rw-rw-r-- 1 mob users 0 Aug 16 17:52 ''$'\342\200''abc2.16.5' ...
4
votes
1answer
94 views

What is the fastest way to make daily backups for 500k+ files?

We have an application that has generated so far over 540k images. The images are kept in a tree structure which is using 5 million Inodes so far. We would like to backup the data daily in a remote ...
1
vote
0answers
69 views

How do I modify an ext filesystem item given its inode number?

How do I modify a file/directory given their inode numbers? Those inodes do not appear on a mounted filesystem as traversable directories / readable files and as such are undiscoverable by find ...
0
votes
1answer
90 views

accidentally clobbered directory using `mv` instead of `mv -t`

I accidentally did mv file /an/important/directory instead of mv file /an/important/directory/ or mv file -t /an/important/directory, so it now looks like /an/important/directory/ is clobbered. (I ...
1
vote
1answer
2k views

What is the difference between FAT and Inode?

Since both are used to map the usage of disk space then how are they different from each other?
0
votes
1answer
78 views

Ubuntu 14.04: “Home” inode on desktop

Ubuntu 14.04.5 I have an unwanted icon on my desktop, that opens Nautilus in the home directory. My home directory has not actually moved to the desktop. Still is in place under /home/myUserName. ...
0
votes
1answer
357 views

How do I determine the physical inode limit?

How do I determine the maximum number of inodes physically possible? Or is this a software limit? I work on a GPFS file system. According to /usr/lpp/mmfs/bin/mmlsfileset gpfs0 -i I have a ...
1
vote
1answer
48 views

copying file from hfs+ to remote samba - preserving ownership and permissions

I've started backing up my file from my local OSX machine to remote samba filesystem. however, it seems that it doesn't copy the permission alright : here's my mount configuration: /Volumes/myvol (...
0
votes
2answers
1k views

Tar directory to file in the directory being tar'ed

I have a mount-point, /media/xvdf1 which I use bindfs to mount at /var/lib/jenkins/jobs with user/group jenkins. I wish to back it up, but I do not have enough space on the other partition. After ...
-1
votes
1answer
5k views

What is the difference between a disk block and a sector?

I know that a sector is the unit in which a track is splitted, but I had this doubt since I was looking for information about the maximum number of pointers that an inode can support. I found that ...
2
votes
0answers
86 views

On OS X, saving breaks hard links

I'm using OS X 10.10.5, and I'm seeing a strange issue with hardlinked files. When I update one of the linked files and save the change, the other linked file becomes blank -- a zero-byte file. This ...
1
vote
0answers
183 views

How many inodes I need?

I'm running a Buildroot image that has not the -i flag for df. I have near 100 MB of free space, but when I try to add a nodejs module using npm install I get the error "no free space left". I guess ...
0
votes
1answer
171 views

Can't find why inodes running out

I have a Xen VPS with Debian Linux installed with ext4 filesystem. Once I found that all inodes are used. I checked this: ~# df -i Filesystem Inodes IUsed IFree IUse% Mounted on rootfs ...
0
votes
0answers
47 views

Is it possible to recover a file just deleted by an application but the space not released on OS X?

I'm installing Xcode from Mac App Store but sadly fails every time near finish with Xcode failed to download Use the Purchases page to try again. message. Except once that I copied pkg ...
0
votes
2answers
52 views

Is it possible to prevent an application remove a file but allow it write on OS X?

I'm installing Xcode from Mac App Store but sadly fails every time near finish with Xcode failed to download Use the Purchases page to try again. message. Except once that I copied pkg ...
0
votes
1answer
31 views

Discrepancy finding and counting all files on the system

I have been researching the different methods of counting up all files on my system. In my case, I want all the files starting at / and going into subfolders. Here is what I have come up with so far: ...
9
votes
2answers
17k views

“Disk quota exceeded” when writing to /tmp, but plenty of space (linux)

i have a VPS. It's managed with the notorious parallels plesk. today i started seeing messages (via wordpress at first, but also from the command line shell), saying: "Disk quota exceeded". user@...
0
votes
1answer
192 views

Is there a way to set the number of inodes in VirtualBox when creating a VDI?

Using VirtualBox 4.3.26 in a Windows 7 host to create Ubuntu 14.04 guest. One of my main reasons to do so is process large numbers of small files, taking advantage of a SSD drive on the host. I was ...
1
vote
1answer
1k views

Is it possible to limit the number of inodes for a user?

I want to limit the resources available to user by setting a limit on the number of inodes they can create. Is there a way to do this?
1
vote
1answer
2k views

“No space left on device” when writing to NTFS on Ubuntu

I'm on Ubuntu 12.04 and want to backup data to my external hard drive which is NTFS. When running cp -rp or rsync, I get no space left errors like this: `rsync: mkstemp "/media/Expansion Drive/.../...
1
vote
1answer
824 views

How to remove directory flag?

I have a .trp video container witch is shown as a directory. Is there a quick way to remove the directory bit from the inode, so the folder is shown as a file? (Not sure if this solves my problem but ...
1
vote
1answer
709 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 ...
6
votes
2answers
3k 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: /dev/...
0
votes
1answer
127 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
295 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
2k 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 ...
2
votes
1answer
361 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
133 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 ...
4
votes
1answer
568 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
510 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
122 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 -rw-rw-...
1
vote
2answers
130 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 ...
16
votes
5answers
26k 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 (not disk usage)? Since people seem to have ...
0
votes
1answer
436 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
19k 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
192 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
485 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
981 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
146 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
590 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
153 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 ...
8
votes
7answers
2k 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
34 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?
6
votes
1answer
5k 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: (e....
0
votes
2answers
183 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
373 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 ...