Quote:
Originally Posted by johnelle
... there are currently 94829 authors. The OS is linux running on a Synology. Is there a way to subdivide the main directory other than starting a new library?
|
Before doing experiments check that your fs (assuming ext4) has free inodes. Nobody cares about inodes because they're usually cheap, but in your case it might not be.
Ext4 has no limits on files per directory and has a limit of files of 4,294,967,295, but the number of inodes available is usually far less than that.
Asumming your NAS is only holding a calibre library with 94829 authors, and each author has 50 books you're spending 4,836,279 inodes just on directories (For the record I have a 3TB partition almost full of stuff with only 1,394,869 inodes used)
Now you need to add 3 inodes more for each book (for cover.jpg, metadata.opf and the book format of your book) which add a grand total of 14,224,350 inodes more. And that is only with one format per book.
Probably you're far from reaching 100% of inode usage, but typing
on your terminal is a fun experiment anyways
If you have plenty of free inodes, then is a matter of usability issues (ls can take time to complete, expanding wildcards won't be possible) but you'll never hit filesystem limitations because there're no filesystem limits other than inodes.
Have fun.