Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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

ÔÚlinuxµÄÇý¶¯³ÌÐòÖУ¬¶¼»áʹÓôóÁ¿µÄoutb¡¢outw¡¢inb¡¢inwµÈµÈºêÀ´·ÃÎÊÓ²¼þ»ò¼Ä´æÆ÷¡£ÕâЩºêµÄ¶¨Ò嶼ÔÚÏàÓ¦´¦ÀíÆ÷ÌåϵϵÄinclude\asmĿ¼ÏµÄio.hÖж¨Òå¡£×·¾¿ÏÂÈ¥£¬ÕâЩºê×îÖÕ¾ÍÊÇÒ»¸övolatile±äÁ¿µÄµÄ¸³Öµ£º
      #define __arch_putb(v,a)      (*(volatile unsi ......

linux¹Ø»úÃüÁîÏê½â

ÔÚlinuxÏÂһЩ³£ÓõĹػú/ÖØÆôÃüÁîÓÐshutdown¡¢halt¡¢reboot¡¢¼°init£¬ËüÃǶ¼¿ÉÒÔ´ïµ½ÖØÆôϵͳµÄÄ¿µÄ£¬µ«Ã¿¸öÃüÁîµÄÄÚ²¿¹¤×÷¹ý³ÌÊDz»Í¬µÄ£¬Í¨¹ý±¾ÎĵĽéÉÜ£¬Ï£ÍûÄã¿ÉÒÔ¸ü¼ÓÁé»îµÄÔËÓø÷ÖֹػúÃüÁî¡£
¡¡¡¡1.shutdown
¡¡¡¡shutdownÃüÁȫµØ½«ÏµÍ³¹Ø»ú¡£ÓÐЩÓû§»áʹÓÃÖ±½Ó¶ÏµôµçÔ´µÄ·½Ê½À´¹Ø±Õlinux£¬ÕâÊÇÊ®·ÖΣÏյġ£ÒòÎ ......

̽Ë÷ Linux ÄÚ´æÄ£ÐÍ

ÎÄÕÂÀ´Ô´:http://www.ibm.com/developerworks/cn/linux/l-memmod/index.html
¼¶±ð£º ³õ¼¶
Vikram Shukla (vikshukl@in.ibm.com), Èí¼þ¹¤³Ìʦ, IBM
2006 Äê 2 ÔÂ 23 ÈÕ
ÔÚÕâƪ Linux® ÄÚ´æÄ£ÐÍÖ¸ÄÏÖУ¬ÎÒÃǽ«Ñ§Ï°ÈçºÎ¹¹½¨ºÍ¹ÜÀíÄÚ´æ·½ÃæµÄ»ù´¡ÖªÊ¶¡£±¾Ö¸ÄϽéÉÜÁËÄÚ´æ¿ØÖƵ¥Ôª¡¢·ÖҳģÐÍ·½ÃæµÄÄÚÈÝ£¬²¢Ïêϸ½éÉÜÁËÎïÀí ......

linux¹Ø»úÃüÁîÏê½â

   ÔÚlinuxÏÂһЩ³£ÓõĹػú/ÖØÆôÃüÁîÓÐshutdown¡¢halt¡¢reboot¡¢¼°init£¬ËüÃǶ¼
¿ÉÒÔ´ïµ½ÖØÆôϵͳµÄÄ¿µÄ£¬µ«Ã¿¸öÃüÁîµÄÄÚ²¿¹¤×÷¹ý³ÌÊDz»Í¬µÄ£¬Í¨¹ý±¾ÎĵĽéÉÜ£¬Ï£
ÍûÄã¿ÉÒÔ¸ü¼ÓÁé»îµÄÔËÓø÷ÖֹػúÃüÁî¡£
1.shutdown
   shutdownÃüÁȫµØ½«ÏµÍ³¹Ø»ú¡£ ÓÐЩÓû§»áʹÓÃÖ±½Ó¶ÏµôµçÔ´µÄ·½Ê ......

Linux ·ÖÇø


¶ÔÓ²Å̽øÐзÖÇøÇ°£¬Ó¦¸ÃÏÈŪÇå³þ¼ÆËã»úµ£¸ºµÄ¹¤×÷¼°Ó²Å̵ÄÈÝÁ¿Óжà´ó£¬»¹Òª¿¼ÂÇÒÔϼ¸¸öÎÊÌâ¡£
        
        
µÚÒ»µãÒ²ÊÇ×îÖØÒªµÄÒ»µã£¬ÒªÖªµÀµ±Ç°°²×°
Lilo
µÄ°æ±¾£¬£¨
Linux
Òýµ¼Îļþ£º
Lilo
ºÍ
Grub
£©ÒòΪ
Li ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ