Mount more than 8 loopback devices
This document (3143620) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Desktop 10
SUSE Linux Enterprise Server 9
Situation
Unable to mount more than 8 loopback devices
Mount more than 8 loopback devices
Resolution
1. Configure the additional loop devices in the kernel
For SLES9:
Append "max_loop=[X]" (minus the quote marks) to the boot line, where [X] is the number of devices you want enabled. You can use up to 255, and remember is numbered starting with 0.
You will probably want to modify your boot loader configuration to append the max_loop parameter automatically.
For SLES10/SLED10
Create /etc/modprobe.d/loop and add the following line to the file:
options loop max_loop=[X]
2. Create the additional loop devices
Use the mknod command to create additional loop devices. For example, if you wanted to use an additional 12 devices, for a total of 20, then you could do the following:
for NODE in $(seq 8 19)
do
mknod -m 660 /dev/loop$NODE b 7 $NODE
done
chown root:disk /dev/loop*
3. Reboot to activate the additional loop devices
Additional Information
Formerly known as TID# 10100867
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3143620
- Creation Date: 29-Nov-2006
- Modified Date:04-Mar-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com