Re: best way to determine the "max" number of files for a drive/partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bruce,

Since every file uses one inode, the number of files you can store is limited by the number of inodes available.  However, it is -also- limited by the amount of available space.  This means
that if you have a few very large files, you can run out of space and have inodes left over.  On the other hand, if you have lots of little files, you can run out of inodes and still have plenty of space left over.

There's some good detail on how that works for ext4 on this wiki:

https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout

If you're using xfs, the numbers look a little different.

Robert M. Marmorstein
Associate Professor of Computer Science
Longwood University, Ruffner 329
201 High Street, Farmville, VA 23909
434.395.2185
marmorsteinrm@xxxxxxxxxxxx
________________________________________
From: bruce <badouglas@xxxxxxxxx>
Sent: Friday, October 13, 2017 11:04 AM
To: Community support for Fedora users
Subject: best way to determine the "max" number of files for a drive/partition

Hey guys..

Couple of questions. (I'll split them in sep mail msgs..)

1) What's a good/easy/best approach to getting the max possible number
of files for a drive. Isn't the inode count a "good" approximation for
this.

I've got a 30G cloud instance and i'm looking to have a bunch of small
files for a process.

thanks
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux