'''S5000VSA Setup HOWTO''' Version: 0.1 (2008/07/10) ÀÛ¼ºÀÚ: À̵·Çö(ȯ°ñÅ»ÅÂ) [http://blog.easysw.net http://blog.easysw.net] [[TableOfContents]] CentOS 4.6 x86_64¿¡¼­ megasr ¸ðµâÀÌ ¾ø¾î¼­ RAID ±¸¼ºµÈ HDD¿Í ºñ±¸¼ºµÈ HDD ¸ðµÎ ÀνÄÇÏÁö ¸øÇϹǷΠÇØ´ç µå¶óÀ̹ö¸¦ »ç¿ëÇؼ­ ¼³Ä¡, ¹é¾÷, º¹±¸ÇÏ´Â ¹æ¹ýÀ» ¼³¸íÇÑ´Ù. == ¼­¹öÁ¤º¸ == * CPU : Intel Xeon Quad-Core 2.0 5405 * º¸µå : Intel¢ç Server Board S5000VSA-SAS * ¸Þ¸ð¸® : DDR2 667 6G * HDD : SAS 147G 15KRPM * 3EA - RAID-1 * ±âŸ : SAS-4EA, SSD-2EA == CentOS 4.6 x86_64 ¼³Ä¡ == === µå¶óÀ̹ö ´Ù¿î·Îµå === * Intel site [http://downloadcenter.intel.com/filter_results.aspx?strTypes=all&ProductID=2487&OSFullName=Red+Hat*+Enterprise+Linux+4.0&lang=eng&strOSs=129&submit=Go!#DRV S5000VSA] * ON-BOARD RAID ±¸Ãà½Ã µÎ¹ø° SATA & SAS Software RAID Driver for Linux (19508KB) ´Ù¿î·Îµå * NON-SAS ±¸Ãà½Ã ¼¼¹ø° SAS Storage Driver for Linux (24501KB) ´Ù¿î·Îµå === ON-BOARD RAID-1À» À§ÇÑ ¼³Ä¡ === * ESRT2_Linux_v.09.32.0207.2008.zip ¾ÐÃàÇØÁ¦ * megasr-09.32.0207.2008-1-rhel40-u6-all.img ÆÄÀÏÀ» USB¿¡ ÀúÀå * H/W RAID-1 ¼¼Æà * CDROM ºÎÆýà dd ¿É¼Ç ÀÔ·Â {{{boot : linux text dd }}} * ¸¶¿îÆ®ÇÒ µð½ºÅ©·Î /dev/sda1 ¼±Åà * USBÀÇ megasr-09.32.0207.2008-1-rhel40-u6-all.img ¼±Åà * ¼³Ä¡ÁøÇà == Kickstart == === ÀÚµ¿À¸·Î ¸ðµâ ¿Ã¸®±â === pxe, kickstart, yum repositery¸¦ »ç¿ëÇÏ°í ÀÖÀ» °æ¿ì¿¡ ÇØ´çµÈ´Ù. * /tftpboot/linux-install/pxelinux.cfg/default¿¡ dd ¿É¼Ç Ãß°¡ {{{################################################# # for SAS label c64ss144 kernel centos64/vmlinuz append initrd=centos64/initrd.img ramdisk_size=9216 text ks=http://mydomain.com/ks/c64ss144.cfg dd=http://mydomain.com/module/megasr-09.32.0207.2008-1-rhel40-u6-all.img }}} == Ä¿³Î ¾÷±×·¹À̵å ÇÒ °æ¿ì == 2.6.9-67.ELsmp¿¡¼­ 2.6.9-67.0.20.ELsmp·Î ¾÷±×·¹À̵å ÇÒ °æ¿ì ¸ÕÀú yumÀ» ÀÌ¿ëÇؼ­ Ä¿³ÎÀ» ¾÷±×·¹À̵å ÇÑ ÈÄ ¾Æ·¡ÀÇ ¼ø¼­´ë·Î ÁøÇàÇÑ´Ù * ¸ðµâÆÄÀÏ ¾ÐÃàÇØÁ¦ {{{cd /root/megasr zcat modules.cgz | cpio -iv --make-directories ls 2.6.9-67.EL/ 2.6.9-67.ELhugemem/ 2.6.9-67.ELlargesmp/ 2.6.9-67.ELsmp/ }}} * Ä¿³Î¿¡ ¸Â´Â ¸ðµâÀ» º¹»ç {{{mkdir -p /lib/modules/2.6.9-67.0.20.ELsmp/updates/ cp 2.6.9-67.ELsmp/x86_64/megasr.ko /lib/modules/2.6.9-67.0.20.ELsmp/updates/ }}} * »õ·Î¿î initrd À̹ÌÁö »ý¼º {{{cd /boot mv initrd-2.6.9-67.0.20.ELsmp.img initrd-2.6.9-67.0.20.ELsmp.img.old mkinitrd initrd-2.6.9-67.0.20.ELsmp.img 2.6.9-67.0.20.ELsmp ls -l initrd-2.6.9-67.0.20.ELsmp.img.old initrd-2.6.9-67.0.20.ELsmp.img -rw-r--r-- 1 root root 1230096 7¿ù 17 14:31 initrd-2.6.9-67.0.20.ELsmp.img -rw-r--r-- 1 root root 1003651 7¿ù 17 09:03 initrd-2.6.9-67.0.20.ELsmp.img.old }}} * modprobe.conf È®ÀÎ {{{grep megasr /etc/modprobe.conf alias scsi_hostadapter1 megasr }}} * ÀçºÎÆà == SystemRescueCd·Î ¹é¾÷Çϱâ == * Å×½ºÆ® Áß == Rescue ¸ðµå¿¡¼­ partimage·Î ¹é¾÷Çϱâ == ¼³Ä¡ CD/DVDÀÇ º¹±¸¸ðµå¿¡¼­ parimage¸¦ »ç¿ëÇÏ¿© ¹é¾÷ÇÏ´Â ¹æ¹ý * partimage ¹ÙÀ̳ʸ® ÀúÀå ¿î¿µ¼­¹ö¿¡¼­ partimage ¼Ò½º¸¦ ÄÄÆÄÀÏ ÇÏ¿© parimage ¹ÙÀ̳ʸ®¸¦ usb¿¡ ÀúÀåÇÑ´Ù. * CD ºÎÆà ¹× megasr ¸ðµâ ·Îµù {{{boot : linux rescue dd }}} * ¾ð¸¶¿îÆ® partimage¸¦ »ç¿ëÇÏ¿© À̹ÌÁö ¹é¾÷À» ÇϱâÀ§Çؼ­´Â ¾ð¸¶¿îÆ® ÇؾßÇÑ´Ù. {{{umount /dev/sysimage/boot umount /dev/sysimage/home ... »ý·« ... umount /mnt/sysimage/selinux umount /mnt/sysimage/proc umount /mnt/sysimage/sys umount /mnt/sysimage }}} * e2fsck ¸µÅ© partimage¿¡¼­ »ç¿ëÇϱ⠶§¹®¿¡ ¸µÅ©ÇØÁØ´Ù. {{{ln -s /usr/sbin/fsck.ext2 e2fsck }}} * partimage·Î ¹é¾÷ [wiki:Partimage-HOWTO partimagehowto] ÂüÁ¶ÇÒ °Í ---- [[Comment]]