Account Links: Cart | Register | Log In

Skip to content

Red Hat Knowledgebase
Red Hat Knowledgebase Search
Article translations:
Currently Being Moderated

如何使红帽企业Linux4支持多LUN?

Article ID: 11886 - Created on: Jul 22, 2008 6:00 PM - Last Modified:  Oct 10, 2008 12:23 PM

影响的版本:红帽企业Linux4

 

和以前版本的红帽企业Linux产品不同,在红帽企业Linux4中设置多LUN支持需要修改/etc/modprobe.conf,而不是/etc/modules.conf文件。

 

支持多LUN的选项是 options scsi_mod max_luns=xxx 。 注意这个选项和以前版本企业Linux使用的选项不一样,RHEL3/2使用的是 options scsi_mod max_scsi_luns=xxx 。

 

如下是红帽企业Linux4的配置步骤

 

1. 添加以下内容到/etc/modprobe.conf

 



      options scsi_mod max_luns=xxx

 

(xxx是scsi_mod需要支持LUN的数目,如128)

 

2. 为了使修改有效,创建启动内存磁盘

 



      mkinitrd -f /boot/newimage-2.6.xx 2.6.xx

 

(xx需要用内核版本替代)

 

3. 重新启动操作系统之后,所有的LUNs就应该被识别。

Feedback from users like yourself is a critical factor in helping us make the Red Hat Knowledgebase as useful as possible.

More Like This

  • Retrieving data ...