Ce contenu n'est pas disponible dans la langue sélectionnée.
2.4. Configuring max_luns
If RAID storage in your cluster presents multiple LUNs (Logical Unit Numbers), each cluster node must be able to access those LUNs. To enable access to all LUNs presented, configure
max_luns in the /etc/modprobe.conf file of each node as follows:
- Open
/etc/modprobe.confwith a text editor. - Append the following line to
/etc/modprobe.conf. Set N to the highest numbered LUN that is presented by RAID storage.options scsi_mod max_luns=N
options scsi_mod max_luns=NCopy to Clipboard Copied! Toggle word wrap Toggle overflow For example, with the following line appended to the/etc/modprobe.conffile, a node can access LUNs numbered as high as 255:options scsi_mod max_luns=255
options scsi_mod max_luns=255Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Save
/etc/modprobe.conf. - Run
mkinitrdto rebuildinitrdfor the currently running kernel as follows. Set the kernel variable to the currently running kernel:cd /boot mkinitrd -f -v initrd-kernel.img kernel
# cd /boot # mkinitrd -f -v initrd-kernel.img kernelCopy to Clipboard Copied! Toggle word wrap Toggle overflow For example, the currently running kernel in the followingmkinitrdcommand is 2.6.9-34.0.2.EL:mkinitrd -f -v initrd-2.6.9-34.0.2.EL.img 2.6.9-34.0.2.EL
# mkinitrd -f -v initrd-2.6.9-34.0.2.EL.img 2.6.9-34.0.2.ELCopy to Clipboard Copied! Toggle word wrap Toggle overflow Note
You can determine the currently running kernel by runninguname -r. - Restart the node.