S5000VSASetupHOWTO
|
S5000VSA Setup HOWTO
Version: 0.1 (2008/07/10)
작성자: 이돈현(환골탈태)
http://blog.easysw.net
CentOS 4.6 x86_64에서 megasr 모듈이 없어서 RAID 구성된 HDD와 비구성된 HDD 모두 인식하지 못하므로 해당 드라이버를 사용해서 설치, 백업, 복구하는 방법을 설명한다.
2.1. 드라이버 다운로드 ¶
2.2. ON-BOARD RAID-1을 위한 설치 ¶
boot : linux text dd
3.1. 자동으로 모듈 올리기 ¶pxe, kickstart, yum repositery를 사용하고 있을 경우에 해당된다.
################################################# # 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 4. 커널 업그레이드 할 경우 ¶
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/
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
grep megasr /etc/modprobe.conf alias scsi_hostadapter1 megasr
6. Rescue 모드에서 partimage로 백업하기 ¶설치 CD/DVD의 복구모드에서 parimage를 사용하여 백업하는 방법
boot : linux rescue dd
umount /dev/sysimage/boot umount /dev/sysimage/home ... 생략 ... umount /mnt/sysimage/selinux umount /mnt/sysimage/proc umount /mnt/sysimage/sys umount /mnt/sysimage
ln -s /usr/sbin/fsck.ext2 e2fsck
|
The universe is laughing behind your back. |











![[http]](/imgs/http.png)