On Tue, Sep 20, 2005 at 11:12:37AM +0200, Tor Bendiksen wrote:
> On Tue, September 20, 2005 0:46, kevin lyda said:
> Looks nice. I will have to have a look at this.
> I have a home-made script that does that somewhere. I'll see if I can dig
> it up. It was used for a FTP mirror server that I ran a while back. Quite
yes, i'm curious if there's a way to nfs export /jukebox, but i'm
guessing not. all the stuff i've read discusses samba exports (ew).
> > the downside i see are that there are only 8 loop devices in the basic
> > install of ubuntu so an ls in /jukebox will generate a load of bad links.
> > so either autofs needs to cull links quicker or i need to boost the
> > number of loop devices (er, how?). but it works for tabbing out, so i'm
> > happy with it.
> I'm not sure with Ubuntu (or any recent versions of loop), but last time I
> did this you had to spcify it when loading the module. Something like this
> was the workaround for me (back with a 2.4 kernel):
> rmmod loop && modprobe loop max_loop=250
yes, as it turns out, this worked:
i created /etc/modprobe.d/local-loop with these contents:
options loop max_loop=64
then i reloaded loop (once it wasn't used anymore):
modprobe -r loop; modprobe loop
and then i bounced udev:
that gave me 32 /dev/loop* devices. which is non-obvious really, but
i'll wait and see if a reboot changes that after my multiple module
loads and unloads. maybe the other 32 are just shy?
> I suspect you can put this in /etc/modules or somesuch in Ubuntu.
that's another option, yes.
> I believe there is a max of 256 loops by default unless you patch the kernel.
i'll run out of disk space long before then.
Kevin Lyda -=-=-=-=-=- Who do you have to blow to get a
kevin at ie.suberic.net -=-=-=- president impeached around here?!
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!