LinuxÏÂÃæµÄÈí¼þRAID6²âÊÔ
linuxϵÄÈí¼þRAIDÖ§³ÖRAID¼¶±ð0,1,4,5,6£¬½ñÌìÌرð²âÊÔÒ»ÏÂRAID6¡£
²½ÖèÒ»£º×¼±¸·ÖÇø
·ÖÇøÇé¿öÈçÏ£¬¾ßÌåÈçºÎ·ÖÇø¾Í²»½éÉÜÁË¡£
/dev/hdb5 5240 5252 104391 fd Linux raid autodetect
/dev/hdb6 5253 5265 104391 fd Linux raid autodetect
/dev/hdb7 5266 5278 104391 fd Linux raid autodetect
/dev/hdb8 5279 5291 104391 fd Linux raid autodetect
/dev/hdb9 5292 5304 104391 fd Linux raid autodetect
/sbin/partprobeʹ·ÖÇøÁ¢¿ÌÉúЧ¡£
²½Öè¶þ£º×é×°RAID6
/sbin/mdadm -Cv /dev/md0 -l6 -n4 -x1 /dev/hdb{5,6,7,8,9}
cat /proc/mdstat¿ÉÒÔ¿´µ½£º
Personalities : [raid6] [raid5] [raid4]
md0 : active raid6 hdb9[4](S) hdb8[3] hdb7[2] hdb6[1] hdb5[0]
208640 blocks level 6, 64k chunk, algorithm 2 [4/4] [UUUU]
[==>..................] resync = 13.7% (14848/104320) finish=1.4min speed=1060K/sec
/dev/hdb5,/dev/hdb6,/dev/hdb7,/dev/hdb8ÔÚͬ²½Êý¾Ý£¬¶ø/dev/hdb9×÷Ϊ±¸Ó÷ÖÇøÏÐÖÃÖС£
mke2fs -j /dev/md0
mount /dev/md0 /mnt/test
²½ÖèÈý£º²âÊÔÄÚÈÝ
Ä£ÄâÒ»¿éÅÌ»µµô
mdadm /dev/md0 -f /dev/hdb5
Personalities : [raid6] [raid5] [raid4]
Ïà¹ØÎĵµ£º
ÔÚlinuxµÄÇý¶¯³ÌÐòÖУ¬¶¼»áʹÓôóÁ¿µÄoutb¡¢outw¡¢inb¡¢inwµÈµÈºêÀ´·ÃÎÊÓ²¼þ»ò¼Ä´æÆ÷¡£ÕâЩºêµÄ¶¨Ò嶼ÔÚÏàÓ¦´¦ÀíÆ÷ÌåϵϵÄinclude\asmĿ¼ÏµÄio.hÖж¨Òå¡£×·¾¿ÏÂÈ¥£¬ÕâЩºê×îÖÕ¾ÍÊÇÒ»¸övolatile±äÁ¿µÄµÄ¸³Öµ£º
#define __arch_putb(v,a) (*(volatile unsi ......
Èç¹ûÄãÊÇLinuxµÄÓû§£¬ÄãÊÇ·ñ·Ç³£Ï²»¶ËûµÄʵÓÃÐÔ£¬¼òµ¥±ã½Ý¡£²»¹ý£¬¶ÔÓÚLinuxÈí¼þµÄ°²×°ºÍжÔØÒ»Ö±ÊÇÀ§ÈÅÐí¶àÐÂÓû§µÄÄÑÌâ¡£ÔõÑù²ÅÄÜÍê³ÉLinuxÈí¼þµÄ°²×°ºÍжÔصĹý³ÌÄØ£¿
ÔÚWindowsÖУ¬ÎÒÃÇ¿ÉÒÔʹÓÃÈí¼þ×Ô´øµÄ°²×°Ð¶ÔسÌÐò»òÔÚ¿ØÖÆÃæ°åÖеēÌí¼Ó/ɾ³ý³ÌÐò”À´ÊµÏÖ¡£ÓëÆäÏàÀàËÆ£¬ÔÚ²»Í¬Linux·¢ÐаæÏÂÒ²Óй¦ÄÜÇ¿ ......
תÔØ×Ô£ºhttp://howieshen.blogbus.com/logs/33958295.html
Æô¶¯·þÎñÆ÷ʱ·¢ÏÖÍ£ÔÚ starting sendmail ºÍ starting
sm-client£¬µÈÁ˺þòſÉÒÔ½øÈ¥£¬¿ªÊ¼ÒÔΪÊÇÖ÷»úÉèÖõÄÎÊÌ⣬²é¿´ÁËһϷ¢ÏÖÎÒÉèÖôíÎó
·þÎñÆ÷£º
/etc/hosts:
192.168.1.119 server
192.168.1.123 ......
ÓÉÓÚÏà¹Ø±äÁ¿¶¨Ò岻ͬ,
ËùÒÔÒÔÏÂÆô¶¯Ë³Ðò½ö¹©²Î¿¼
ÔÚRedhat
Redflag centos fc linuxϵͳÀïÃæ½Å±¾µÄÆô¶¯
ÏȺó£º
µÚÒ»²½£ºÍ¨¹ý/boot/vm½øÐÐ
Æô¶¯ vmlinuz
µÚ¶þ²½£ºinit /etc/inittab
µÚÈý²½£ºÆô¶¯ÏàÓ¦µÄ½Å±¾£¬²¢ÇÒ´ò¿ªÖÕ¶Ë
rc.sysinit
rc.d(Àï
ÃæµÄ½Å±¾£©
rc.local
µÚËIJ½£ºÆô¶¯loginµÇ¼½çÃæ login
µÚÎå² ......