Add More Loop Device in Linux

By: Zhiqiang Ma In: Linux

We need more loop devices on Linux than the default number (most commonly 8) some time, such as we are building 12 or more virtual machines on top of xen using loop device backed VBD. In this post, we want to use 32 loops.

1. If loop device is compiled directly in the kernel

Pass “max_loop=32” to grub command line.

2. If loop device is compiled as a module

Pass “max_loop=32″ as argument to the modprobe command.

# modprobe loop max_loop=32
Author: Zhiqiang Ma Posted on: Oct 10, 2009 Views: 435
Tags: , ,
Like this post? Subscribe full-text feeds from all Fclose.com blogs:
Add your comments, share your thoughts

Be nice. Keep it clean. Stay on topic. No spam.