Linux Îļþϵͳ¾«Í¨Ö¸ÄÏ
¾¿¾¹Ê²Ã´ÊÇ¡°Îļþϵͳ¡±£¿Sheryl Calish ½éÉÜÁËÕâ¸ö¸ÅÄîÒÔ¼°ËüµÄʵ¼ÊÓ¦ÓÃ
¾¡¹ÜÄÚºËÊÇ Linux µÄºËÐÄ£¬µ«ÎļþÈ´ÊÇÓû§Óë²Ù×÷ϵͳ½»»¥Ëù²ÉÓõÄÖ÷Òª¹¤¾ß¡£Õâ¶Ô Linux À´ËµÓÈÆäÈç´Ë£¬ÕâÊÇÒòΪÔÚ UNIX ´«Í³ÖУ¬ËüʹÓÃÎļþ I/O »úÖƹÜÀíÓ²¼þÉ豸ºÍÊý¾ÝÎļþ¡£
Òź¶µÄÊÇ£¬ÐÂÊÖͨ³£»á»ìÏý½éÉÜ Linux Îļþϵͳ¸ÅÄîµÄÊõÓï¡£ÊõÓïÎļþϵͳ ¿ÉÒÔÔÚ Linux Îļþ±àÖÆÖл¥»»Ê¹Óã¬ÓÃÓÚÖ¸´ú¼¸¸ö²»Í¬µ«Ïà¹ØµÄ¸ÅÄî¡£³ý´ÅÅÌ·ÖÇøµÄ¾ßÌåʵÀýÍ⣬Îļþϵͳ»¹Ö¸´úÊý¾Ý½á¹¹ÒÔ¼°·ÖÇøÖÐÎļþµÄ¹ÜÀí·½·¨¡£
ÁíÐÂÊÖ¸ü¸ÐÀ§»óµÄÊÇ£¬¸ÃÊõÓﻹÓÃÓÚÖ¸´úϵͳÖÐÎļþµÄÕûÌå×éÖ¯ÐÎʽ£ºÄ¿Â¼Ê÷¡£´ËÍ⣬¸ÃÊõÓﻹ¿ÉÒÔÖ¸´úĿ¼Ê÷ÖеÄÿ¸ö×ÓĿ¼£¬ÈçÔÚ /home ÎļþϵͳÖС£Ä³Ð©ÈËÈÏΪ£¬ÕâЩĿ¼ºÍ×ÓĿ¼²»ÄܳÆ×÷ÕæÕýÒâÒåÉϵÄÎļþϵͳ£¬³ý·ÇËüÃǾùפÁôÔÚ¸÷×ԵĴÅÅÌ·ÖÇøÉÏ¡£È»¶ø£¬ÆäËûÈËÈ´½«Æä³Æ×÷Îļþϵͳ£¬ÕâÎÞÒÉÓÖÔöÌíÁËÀ§»ó¡£
Linux ÀÏÊÖ¿ÉÒÔ´ÓÉÏÏÂÎÄÖÐÀí½âÕâЩÊõÓïµÄº¬Òå¡£¶øÐÂÊÖÈ´ºÜÄÑÔÚһʱ°ë»á¶ù¾Í±æ±ð³öÕâÑùµÄÉÏÏÂÎÄ¡£
±¾ÎĵÄÖ÷ҪĿ±ê¾ÍÊÇÌṩ×ã¹»µÄ±³¾°ÖªÊ¶£¬ÒÔ°ïÖúÄú±æ±ð´ËÊõÓïµÄÉÏÏÂÎÄ¡£ÔÚ²ûÃ÷ÎļþϵͳÊõÓïµÄϸ΢²î±ðµÄ¹ý³ÌÖУ¬Äú»¹½«Ñ§Ï°ÈçºÎ½«Ä³Ð©·Ç³£ÓÐÓõÄÏà¹Ø¹¤¾ß´ÓÀíÂÛÓ¦ÓÃÉÏÉýµ½Êµ¼ÊÓ¦Óá£
±¾ÎÄÖ÷Òª½éÉÜÁË 2.4 °æ Linux ÄÚºËÖÐµÄ Linux ´ÅÅÌ·ÖÇøºÍÎļþ¹ÜÀíϵͳÌØÐÔ¡£´ËÍ⣬»¹½éÉÜÁË 2.6 °æ Linux ÄÚºËÖеÄÐÂÌØÐÔ¡£
´ÅÅÌ·ÖÇø¸ÅÊö
Linux ºÍ UNIX ÖеĻù±¾Îļþ´æ´¢µ¥Ôª¶¼ÊÇ´ÅÅÌ·ÖÇø£¬¼´½«Ò»¸ö»ò¶à¸öÓ²Å̵ÄÂß¼»®·Ö£¬²Ù×÷ϵͳ½«Ã¿¸öÂß¼·ÖÇøÊÓΪ¶ÀÁ¢µÄ´ÅÅÌ¡£ÎļþºÍÎļþ¹ÜÀíϵͳ¡°¾Óס¡±ÔÚ´ÅÅÌ·ÖÇøÖС£Linux ½«ÕâЩ´ÅÅÌ·ÖÇø×÷ΪÉ豸´¦Àí£¬½ø¶øͨ¹ý /dev Ŀ¼ÖеÄÌØÊâÎļþʹÓÃÎļþ I/O »úÖÆ¡£
ÓÐÁ½ÖÖÀàÐ͵ÄÉ豸Îļþ£º¿éºÍ×Ö·û/Ôʼ¡£Á½ÕßÖ®¼äµÄÒ»¸öÖØÒª²î±ðÊÇ£¬¿éÉ豸±»»º³å£¬¶ø×Ö·ûÉ豸ÒòΪûÓÐÎļþ¹ÜÀíϵͳ£¬ËùÒÔ²»±»»º³å¡£ÔÚ Oracle ¼¯ÈºÎļþϵͳ (OCFS) ÍƳö֮ǰ£¬Ê¹ÓÃÔʼÉ豸ÊÇÌá¸ß Oracle Êý¾ÝÎļþ·ÖÇøÐÔÄܵij£¼û·½·¨¡££¨ÔÚ±¾ÎĵĺóÐø²¿·Ö£¬ÎÒÃǽ«Ïêϸ½éÉÜÔʼÉ豸¡££©
´æ´¢ÔÚ´ÅÅÌ×ʼλÖõķÖÇø±íÌṩÁ˸ôÅÅÌÉÏ·ÖÇøµÄÓ³Éä¡£¿ÉÒÔʹÓà fdisk ÃüÁî²é¿´ÏµÍ³µÄ·ÖÇø±í¡£
# fdisk -l
Disk /dev/hda:240 heads, 63 sectors, 1940 cylinders Units = cylinders of 15120 * 512 bytes
Device Boot Start End Blocks Id System /dev/hda 1 286 2162128+ c Win95 FAT32 (LBA) /dev/hda2 * 288 1940 12496680 5 Extended /dev/hda5 288 289 15088+ 83 Linux /dev/hda6 290 844 4195768+ 83 Linux /dev/hda7 845 983 1050808+ 82 Linux swap /dev/hda8 984 1816 6297448+ 83 Linux ±¾ÐÂÎŹ² 5Ò³,µ±Ç°ÔÚµÚ 1Ò³ 1 2 3 4 5 |