1

After upgrade from OS X 10.10 Yosemite to 10.12 Sierra i noticed that % of used inodes became 0% instead of 99%.

As far as i understand max number of inodes became 2^32-1 but i can't google anything about it.

Is there any information from Apple? I tried to contact apple support but no luck.

migrated from serverfault.com Nov 16 '16 at 15:42

This question came from our site for system and network administrators.

  • Your iused percentage neither should become 0% nor 99%. It should be around the capacity percentage ± 2%= 88-92%. ifree percentage doesn't even exist! – klanomath Nov 16 '16 at 17:34
  • klanomath, sorry "used", not "free", updated post. Now it is 0% because max number is large. On 10.10 I had used 99% because I have large number of small files and had 99% space used – Eugene Lyulka Nov 16 '16 at 18:06
2

You do not detail which file system you're using, so I'm assuming you're using the default HFS+ file system on Sierra.

The HFS+ file system does not have an "inodes" concept similar to other file systems. Therefore the inodes free/used counts really do not make sense for HFS+, and never have.

In order to comply with standards the df command on macOS do report inode information. However it is just made up figures more or less.

On older version of macOS the df command consistently reported that you were using approx. the same ratio of inodes as the ratio between free and used space. So if you were using 500 GB out of a 1 TB drive, it would report that you've used about 50% of your inodes.

On Sierra Apple must have decided that it was better to just report 0% usage. Either number is okay as it is entirely bogus anyhow.

In the underlying file system on disk, nothing have changes in regards to the maximum number of files you can save. It was (2^32)-1 before, and it is still (2^32)-1 now.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .