
13th March 2008, 14:58
|
|
Member
|
|
Join Date: Nov 2005
Location: Perth , Western Australia
Posts: 48
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Increasing loop devices debian etch
I have xen installed on debain etch but can only create a small number of domu's .i have read this is because i need to increase the number of loop devices .i dont understand the info im reading regarding this .I need to load the loop module ,that has the option of max_loop=64 .can someone enlighten me howto do this .thanks
|

14th March 2008, 13:45
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
Add this to /etc/modules:
Then reboot the system.
|

16th March 2008, 09:56
|
|
Member
|
|
Join Date: Nov 2005
Location: Perth , Western Australia
Posts: 48
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Thanks falko ,do i need to have options in front of this command ?
ie options loop max_loop=64 and then add this to /etc/modules .I did read that a file called loop can be created under modprobe.d with this command in it then add the loop filename to /etc/modules ? im a little confused still .I tried both ways and there are still only 8 loop devices listed under /dev.thanks
|

17th March 2008, 14:50
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
Quote:
|
Originally Posted by ubutux
Thanks falko ,do i need to have options in front of this command ?
|
No, all you have to do is add
to the file.
|

17th March 2008, 16:05
|
|
Member
|
|
Join Date: Nov 2005
Location: Perth , Western Australia
Posts: 48
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
i have added loop max_loop=64 to /etc/modules then rebooted the system . I still get the "Failed to find an unused loop device" . is there anything else i need to change ?? thanks again for your help
Last edited by ubutux; 17th March 2008 at 16:18.
|

18th March 2008, 16:06
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
You can try this: http://snippets.aktagon.com/snippets...when-using-xen
If that still doesn't help, increase the max_loop number (e.g. 128).
|

20th March 2008, 02:11
|
|
Member
|
|
Join Date: Nov 2005
Location: Perth , Western Australia
Posts: 48
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
hi falko i followed the instructions in the link you supplied and then rebooted the system ,no luck .I increased the number to 128 and rebooted again with the same result .can you suggest another step ? thanks for your help
|

20th March 2008, 18:23
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
You can try to add a max_loop directive to your kernel in /boot/grub/menu.lst, as shown on http://www.howtoforge.com/debian_sarge_xen_3.0.3_p6
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

22nd March 2008, 00:49
|
|
Member
|
|
Join Date: Nov 2005
Location: Perth , Western Australia
Posts: 48
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Thanks for help falko adding the command to grub worked .Cheers
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 07:54.
|
Recent comments
1 day 7 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 16 hours ago
1 day 17 hours ago
2 days 9 hours ago
2 days 10 hours ago
2 days 14 hours ago