[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: i need more loop devices

On Mon, Jan 24, 2005 at 08:16:32PM +0200, Can Burak Cilingir wrote:
> hi,
> I need to backup my system (20 gigs) to a smbfs mounted directory. with
> all the attributes of an ext3 file system so plain rsync --archive won't
> be enough. I decided to create a filesystem image to mount from the
> mentioned directory. This time i hit to the filesize limit of the smbfs.
> i decided to create 10 x 2GB files and glue them via raid 0 but this
> time, number of loopback devices couldn't handle that :) i have 8 of
> them. is it possible to create more? i tried with mknod, but couldn't
> succeed.

yes, there is. The number of loop devices is determined at boot time, and
defaults to 8. Just add "max_loop=<n>" (without the brackets) to your
boot prompt (or add it to LILO's or GRUB's config). You still have to
create the devices manually, though - block device major 7, minor number
matching the device name. ;-)


Jan Nordholz
Jan C. Nordholz
<jckn At gmx net>

Attachment: signature.asc
Description: Digital signature

Reply to: