Installation Manual

244 Deploying Your Operating System Using VMCLI
For example, a device is specified as:
-f a:\ (Windows system)
-f /dev/sdb4 # 4th partition on device /dev/sdb
(Linux system)
NOTE: Red Hat Enterprise Linux version 4 does not provide support for multiple
LUNs. However, the kernel supports this functionality. Enable Red Hat Enterprise
Linux version 4 to recognize a SCSI device with multiple LUNs by following these
steps:
1
Edit
/etc/modprobe.conf
and add the following line:
options scsi_mod max_luns=8
(You can specify 8 LUNs or any number greater than 1.)
2
Get the name for the kernel image by typing the following command at
the command line:
uname -r
3
Go to the
/boot
directory and delete the kernel image file, whose name you
determined in Step 2:
mkinitrd /boot/initrd-’uname -r’.img ‘uname -r’
4
Reboot the server.
5
Run the following command to confirm that support for multiple LUNs
has been added for the number of LUNs that you specified in Step 1:
cat /sys/modules/scsi_mod/max_luns
If the device provides a write-protection capability, use this capability to
ensure that Virtual Media will not write to the media.
Omit this parameter from the command line if you are not virtualizing floppy
media. If an invalid value is detected, an error message is displayed and the
command terminates.