Re: Limit of 64 Mounted Filesystems

H. Peter Anvin (hpa@transmeta.com)
30 Nov 1998 22:57:01 GMT


Followup to: <13922.55399.852665.330988@bofh.me.umn.edu>
By author: Richard Kaszeta <kaszeta@me.umn.edu>
In newsgroup: linux.dev.kernel
> >
> >You can change your NR_SUPER in include/linux/fs.h .... I upped it to 256
> >and am running without problems with a 2.0.36 kernel
>
> I made this change (to 512, since I have that many mount points), and
> it worked for a while, but now I am getting mount failures and the
> message
>
> Nov 30 11:30:00 weber kernel: VFS: Sorry, out of unnamed devices
> Nov 30 11:30:59 weber last message repeated 28 times
> Nov 30 11:31:45 weber last message repeated 40 times
>
> Any ideas?
>

This happens when you have more than 255 nodev mounts (nfs, smbfs,
autofs etc... anything marked "nodev" in /proc/filesystems). This is
because they are getting assigned temporary device numbers on major
number 0 (but never 0,0 since that's the not-a-device number.) This
will be fixed in 2.3 when we get a larger dev_t.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/