Skip to contentSkip to conversation

Too many mounts

DISCUSSION Jonas Oberg 2 participants 2 messages Mar 6, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

In our department we have a problem with our student server. It appears that the Linux kernel limits the number of anonymous (nfs et. al) mounts to 256. This is a problem for us, since we use automount to mount home directories from our fileserver via NFS. We are frequently in the range of 190-220 active mounts (we have set the automount timeout to be about 30 seconds to get rid of idle mounts quickly).

Does anyone have a solution for this problem? Would using devfs perhaps solve the problem by allowing more anonymous mounts?

Signature · 14 lines
Jonas Öberg
Systems administrator/webmaster, Department of Informatics,
School of Economics and Commercial Law, Gothenburg University.
Phone. +46-31-7732717, Fax. +47-31-7734754


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#1 lore raw
Quoted 10 lines · Jonas Oberg

In our department we have a problem with our student server. It appears that the Linux kernel limits the number of anonymous (nfs et. al) mounts to 256. This is a problem for us, since we use automount to mount home directories from our fileserver via NFS. We are frequently in the range of 190-220 active mounts (we have set the automount timeout to be about 30 seconds to get rid of idle mounts quickly).

Does anyone have a solution for this problem? Would using devfs perhaps solve the problem by allowing more anonymous mounts?

The solution is to mount the entire home filesystem(s), not each student's home individually.

Ion

Signature · 12 lines
  It is better to keep your mouth shut and be thought a fool,
            than to open it and remove all doubt.


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs