ºìÁªLinuxÃÅ»§
Linux°ïÖú

SCSIÉ豸ÔÚLinuxÉÏÅÜÆðÀ´

·¢²¼Ê±¼ä:2006-07-19 10:20:42À´Ô´:ºìÁª×÷Õß:º­ÁÕ
±¾ÎĽö×ö²Î¿¼£¬ÎÒ²»Çå³þµ½µ×ʵÓò»ÊµÓã¬ËùÒÔÇë²»ÒªÇáÒâµÄÈ¥³¢ÊÔ

LinuxÔÚ·þÎñÆ÷Êг¡ÉϱíÏֺܺ㬶àÊý³§ÉÌÍƳöµÄ·þÎñÆ÷¶¼Ö§³ÖLinux²Ù×÷ϵͳ¡£µ«ÊÇÓÉÓÚLinuxµÄ°æ±¾ÖÚ¶à¶øÇÒ·þÎñÆ÷µÄÓ²¼þÖÖÀà·±ÔÓ£¬ËùÒÔÔÚ·þÎñÆ÷ÉÏʹÓÃLinuxµÄʱºò£¬»áÓöµ½Ä³Ð©SCSIÉ豸£¨SCSIÊÊÅ俨¡¢Raid¿¨µÈ£©²»±»Ä³Ð©°æ±¾LinuxËùÖ§³ÖµÄÇé¿ö¡£

Èç¹ûÓû§Ê¹ÓõÄSCSIÉ豸Çý¶¯ÒѾ­°üº¬ÔÚLinuxÔ´´úÂëÖУ¨Êµ¼ÊÉÏLinuxÔ´´úÂë°üº¬ÁË´ó¶àÊýÖ÷Á÷É豸Çý¶¯³ÌÐò£©£¬¾Í¿ÉÒÔÖ±½ÓʹÓÃLinuxÔ´´úÂëÀ´Çý¶¯ÏàÓ¦µÄSCSIÉ豸¡£Èç¹ûSCSIÉ豸Çý¶¯²»°üº¬ÔÚLinuxÔ´´úÂëÖУ¬ÔòÐèҪͨ¹ý³§ÉÌÌṩµÄÇý¶¯³ÌÐòÀ´½øÐа²×°¡£

SCSIÉ豸Çý¶¯ÒѾ­°üº¬ÔÚLinuxÔ´´úÂëÖУ¬ÓÖ¿É·ÖΪÁ½ÖÖÇé¿ö£¬¼´Ö±½Ó±àÒë½øÄں˺ͱàÒëΪ¶¯Ì¬Ä£¿é¡£ÏÂÃæ·Ö²»Í¬Çé¿öÌÖÂÛÔÚLinuxÉÏ°²×°SCSIÇý¶¯µÄ¾ßÌå·½·¨¡£

±àÒë½øÄÚºË

ÔÚ´ËÀàÇé¿öÏ£¬½øÈëLinuxÔ´´úÂëÊ÷£¬ÖØÐÂÅäÖÃKernel¡£ÔÚ¡°SCSI support¡±ÖУ¬¶ÔÓÚÏà¹ØÏîÑ¡ÔñÒÔ¡°*¡±(build-in)·½Ê½±àÒ룬ÈçÏÂËùʾ£º

ÒýÓÃ:
<*> SCSI support
--- SCSI support type (disk, tape, CD-ROM)
<*> SCSI disk support
(40) Maximum number of SCSI disks that can be loaded as modules
<*> SCSI tape support
<*> SCSI OnStream SC-x0 tape support
<*> SCSI CD-ROM support
[*] Enable vendor-specific extensions (for SCSI CDROM)
(4) Maximum number of CDROM devices that can be loaded as modules
<*> SCSI generic support




´ËÍ⣬»¹ÒªÕÒµ½¶ÔÓ¦µÄSCSIÉ豸ÐͺŵÄÇý¶¯£¬Í¬ÑùÑ¡ÔñÒÔ¡°*¡±(build-in)·½Ê½±àÒë¡£±ÈÈçÓû§Ê¹ÓõÄÊÇAIC79xxµÄÊÊÅäÆ÷£¬¾Í¿ÉÒÔÑ¡ÉÏÏÂÃæµÄÑ¡Ï

<*> Adaptec AIC79xx support

Ñ¡ÔñÍêºó£¬±àÒëеÄÄںˣ¬È»ºóʹÓÃеÄÄÚºËÀ´Æô¶¯£¬×îºó²é¿´SCSIÉ豸ÓÐûÓÐÕý³£¹¤×÷ÆðÀ´¡£

¶¯Ì¬Ä£¿é

ÔÚ´ËÀàÇé¿öÏ£¬½øÈëLinuxÔ´´úÂëÊ÷£¬ÖØÐÂÅäÖÃKernel¡£ÔÚ¡°SCSI support¡±ÖУ¬¶ÔÓÚÏà¹ØÏîÑ¡ÔñÒÔ¡°M¡±(modules)·½Ê½±àÒ롣ѡÏîͬ¡°±àÒë½øÄںˡ±ÖеÄÇé¿ö£¬µ«ÊÇ¡°Enable vendor-specific extensions (for SCSI CDROM)¡±Ò»¶¨ÒªÖ±½Ó±àÒë½øÄںˡ£

´ËÍ⣬Óû§Ò»¶¨»¹ÒªÑ¡ÉÏ¡°Block devices¡±Ñ¡ÏîÖеġ°RAM disk support¡±µÄ×ÓÑ¡Ï·ñÔòеÄKernel½«ÎÞ·¨Æô¶¯¡£ÄÚÈÝÈçÏ£º

ÒýÓÃ:
<*> RAM disk support
(8192) Default RAM disk size
[*] Initial RAM disk (initrd) support




°´ÕâÖÖ·½·¨±àÒëÍêKernelºÍModulesºó£¬»¹ÒªÉú³ÉÒ»¸öеÄRam DiskµÄ¾µÏñÎļþ²ÅÄÜÕý³£Æô¶¯¡£¶ÔÓÚRed HatÀ´Ëµ£¬Õâ¸öÎļþͨ³£ÃüÃûΪinitrd.X.X.XX.img¡£X.X.XX¶ÔÓ¦ÓÚKernelµÄ°æ±¾ºÅ¡£¾ßÌåÖ´Ðйý³ÌÈçÏ£º

ÒýÓÃ:
# cp /boot/initrd-2.4.20-8.img .
# mkdir /mnt/ram
# gunzip -c initrd-2.4.20-8.img > ./initrd
# mount -o loop ./initrd /mnt/ram/
# ls /mnt/ram/
bin dev etc lib linuxrc loopfs proc sbin sysroot




¿ÉÒÔ¿´µ½ramµÄĿ¼ºÜÏñÒ»¸öСÐ͵ÄLinuxÎļþϵͳ£¬Óû§¿ÉÒÔ×Ô¼º½«±àÒëºÃµÄÄ£¿éÎļþ·Åµ½ÕâÀï¡£ÕâÑùÔÚKernelÆô¶¯Ê±£¬¿ÉÒÔ°ÑÓû§¶¨ÖƵÄÇý¶¯Ä£¿é¼ÓÔص½Ram DiskÖС£ÐÞ¸ÄÍê±Ïºó£¬ÓÃÒÔÏ·½·¨½øÐб£´æ£º

ÒýÓÃ:
# umount /mnt/initrd
# gzip /root/initrd
# cp /tmp/initrd.gz /boot/initrd-2.4.20-8.img




Õâ¸ö¡°ÃÔÄ㡱ϵͳÖаüÀ¨Á˶ÔÓ¦µÄSCSIÇý¶¯ºÍ¼ÓÔØÇý¶¯µÄ³ÌÐò¡£Í¨¹ýÕâ¸ö¡°ÃÔÄ㡱ϵͳ£¬Linux¾ÍÄܳɹ¦µØÒÔÄ£¿é·½Ê½¶¯Ì¬¼ÓÔØSCSIÇý¶¯ÁË¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 2 ÌõÆÀÂÛ

  1. lcc291811083 ÓÚ 2013-08-28 17:02:12·¢±í:

    ¶¥¶¥¶¥¶¥

  2. Subbo ÓÚ 2006-07-22 22:53:36·¢±í:

    ÏÖÔÚLinux¶ÔSCSIµÄÖ§³ÖÒѾ­ºÜºÃÁË¡£