免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: bicom0755
打印 上一主题 下一主题

redhat7.3 如何支持多LUN [复制链接]

论坛徽章:
0
11 [报告]
发表于 2003-06-05 13:04 |只看该作者

redhat7.3 如何支持多LUN

/proc是内存的映射吧!修改有用吗?

论坛徽章:
0
12 [报告]
发表于 2003-06-05 16:55 |只看该作者

redhat7.3 如何支持多LUN

还是要靠自己解决
还是要靠自己解决
How to enable multiple LUN support in Linux

  Question
  By default, the SCSI subsystem in Linux does not support multiple LUNs (Logical Unit Numbers). Devices using LUNs that go beyond LUN:0 (zero) will not be recognized.

This information applies to the following Product(s):

- Adaptec SCSI Card 39160, Adaptec SCSI Card 29160, Adaptec SCSI Card 29160LP, Adaptec SCSI Card 29160N, AHA-2940U2W, AHA-2940UW Pro, AHA-2940UW, AHA-2940 Ultra, AHA-2940AU, AHA-2940U, AHA-2944UW, AHA-2944UW/OF, AHA-3940AU, AHA-3940UW, AHA-3940UWD, AHA-2930CU, AHA-2930C, AHA-2930B, AHA-2930, AHA-2930UW

This information applies to the following Operating System(s):

- Red Hat Linux 8
- Red Hat Linux 7.3
- Red Hat Linux 7.2
- Red Hat Linux 7.1
- Red Hat Linux 7
- Red Hat Linux 6.2
- Red Hat Linux 6.1
- SuSE Linux 6.4
- SuSE Linux 7.0

  Answer
  1) Get the version of kernel that you are running. Run 'uname -a' and note the kernel version. e.g. 2.4.18-3

2) For recovery purposes, it is a good idea to have the Linux recovery floppy created prior to performing the driver update. To create a recovery disk, run '/sbin/mkbootdisk <your kernel version here>;' e.g. /sbin/mkbootdisk 2.4.18-3

3) Edit /etc/modules.conf and add the following line to the end of the file:
options scsi_mod max_scsi_luns=255

4) For the change to take effect, you must recreate your initrd boot image. First, save your original boot image by running 'cp /boot/initrd-<kernel version>;.img /boot/initrd-<kernel version>;.old'.

5) Now, create the new initrd image by running 'mkinitrd –f /boot/initrd-<kernel version>;.img <kernel version>;'.

6) If you are using GRUB for your boot loader, simply reboot. You should now see LUNs above LUN:0 being detected when the SCSI driver loads.

7) If you are using LILO for your boot loader, run 'lilo' then reboot.

If the system will not boot properly after the change, boot from the recovery diskette and restore the initrd-<kernel version>;.old. Again, if you are using GRUB, reboot. If you are using LILO, run 'lilo' then reboot.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP