Questions tagged [inode]
Data structures used to store metadata for each file on a Unix/Linux filesystem.
81
questions
13
votes
1
answer
31k
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
1
answer
265
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
0
answers
333
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
1
answer
352
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
2
answers
99
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 inside $...
0
votes
1
answer
53
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
2
answers
32k
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
1
answer
339
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
0
answers
2k
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?
2
votes
1
answer
3k
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
1
answer
2k
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
1
answer
1k
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
2
answers
6k
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/...
1
vote
1
answer
549
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
0
answers
478
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 ...