Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there maximum numbers for file system mounts that Linux can handle? Is there differences between distros?

share|improve this question

1 Answer 1

Most distros should be the same, because they all run fundamentally the same kernel. I'm not aware of a specific limit to the number of mounts, but I've seen several hundred at once, which I thought was bordering on the insane (but that's automounting for you).

share|improve this answer
    
Ok. What about tens of thousands of mounts? Don't ask me why but let's just assume that I need to mount 10000 volumes, is this technically possible? –  Jim67 Jan 14 '10 at 9:36
3  
I'm sorry, but "I need to mount 10,000 partitions" sounds like it's screaming for a different solution to whatever problem you think you're solving with all those mounts. Either that, or it's homework in disguise. –  womble Jan 14 '10 at 9:55
    
Should work, but for future administrator's sake, find another way of doing it. –  Andrew McGregor Jan 14 '10 at 11:55
    
Careful with statements like "you should NEVER do...". ;) We handle hundreds of large files (>20GB) containing frames which contain packets. We need to be able to extract data at frame level and at packet level according to predetermined criteria. Using e.g. the fuse filesystem to take the raw frame stream and show a virtual folder with different kinds of files within it seems like a great way to radically reduce disk space use, improve read and write speed and reduce resource load. If that means that we would have to have hundreds of mount points 1 per .bin file), I'd say "fine". –  Tomislav Nakic-Alfirevic Mar 6 '13 at 13:34
    
@TomislavNakic-Alfirevic: I don't see anywhere I said "you should NEVER do"... at any rate, you still don't have to have hundreds or thousands of mounts -- your FUSE filesystem could be a single filesystem that was capable of handling many packets. That would make deployment easier, too, because you could add a file to your pseudo-filesystem by just copying it into a certain location, rather than having to fire up another FUSE process. –  womble Mar 8 '13 at 5:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.