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

linux LVMÅäÖÃ

LVMÊÇLogical Volume Manager(Âß¼­¾í¹ÜÀíÆ÷)µÄ¼òд£¬ËüΪÖ÷»úÌṩÁ˸ü¸ß²ã´ÎµÄ´ÅÅÌ´æ´¢¹ÜÀíÄÜÁ¦¡£LVM¿ÉÒÔ°ïÖúϵͳ¹ÜÀíԱΪӦÓÃÓëÓû§·½±ãµØ·ÖÅä´æ´¢¿Õ¼ä¡£ÔÚLVM¹ÜÀíϵÄÂß¼­¾í¿ÉÒÔ°´Ðè¸Ä±ä´óС»òÌí¼ÓÒƳý¡£ÁíÍ⣬LVM¿ÉÒÔΪËù¹ÜÀíµÄÂß¼­¾íÌṩ¶¨ÖƵÄÃüÃû±êʶ¡£Òò´Ë£¬Ê¹ÓÃLVMÖ÷ÒªÊÇ·½±ãÁ˶Դ洢ϵͳµÄ¹ÜÀí£¬Ôö¼ÓÁËϵͳµÄÀ©Õ¹ÐÔ¡£
Ò»¡¢×¼±¸lvm»·¾³
1£®Ó²Å̵Ä×¼±¸
Ìí¼ÓÁËÒ»¿éÓ²ÅÌ/dev/hdb¡£
×¼±¸ÁËÈý¸ö·ÖÇø£¬·½°¸ÈçÏ£ºÈÝÁ¿Îª100M£¬½öΪÁËʵÑé×¼±¸¡£
/dev/hdb1
/dev/hdb2
/dev/hdb3
2£®×ª»»·ÖÇøÀàÐÍΪlvm¾í
fdisk /dev/hdb
tת»»Îªlvm¾íÀàÐÍ
Device Boot      Start    End      Blocks  Id  System
/dev/hdb1        1         208      98248+  8e  Linux LVM
/dev/hdb2        209      416      98280   8e  Linux LVM
/dev/hdb3        417      624      98280   8e  Linux LVM
È»ºów±£´æ²¢ÇÒ
#partprobe       /*ʹÓôÅÅÌ·ÖÇøÉúЧ*/
¶þ¡¢lvm´´½¨¹ý³Ì
1.´ÓÓ²ÅÌÇý¶¯Æ÷·ÖÇøÖд´½¨ÎïÀí¾í(physical volumes-PV)¡£
2.´ÓÎïÀí¾íÖд´½¨¾í×é(volume groups-VG)
3.´Ó¾í×éÖд´½¨Âß¼­¾í(logical volumes-LV)£¬²¢·ÖÅÉÂß¼­¾í¹ÒÔص㣬ÆäÖÐÖ»ÓÐÂß¼­¾í²Å¿ÉÒÔдÊý¾Ý¡£
lvmµÄ×î´óµÄÌصã¾ÍÊÇ¿ÉÒÔ¶¯Ì¬µÄµ÷Õû·ÖÇøµÄ´óС£¬²¢ÇÒ¿ÉÒÔËæ×Å·ÖÇøÈÝÁ¿µÄÔö³¤¶øÔö¼Ó´ÅÅÌ¿Õ¼äµÄÈÝÁ¿¡£
LVMÅäÖÃÓë´´½¨
Èý¡¢LVMµÄÎïÀí¾íPV
1£®Ïà¹ØÃüÁî
pvcreate  ´´½¨PV
pvscan    ɨÃèPV
pvdisplay ÏÔʾPV
pvremove  ɾ³ýPV
partprobe
2£®´´½¨ÎïÀí¾í
Èç¹ûÒÔÉÏÈÝÁ¿²»¹»£¬¿ÉÒÔÔÙÌí¼ÓÆäËü·ÖÇøµ½ÎïÀí¾íÖС£
[root@redhat ~]# pvcreate /dev/hdb1 /dev/hdb2
  Physical volume "/dev/hdb1" successfully created
  Physical volume "/dev/hdb2" successfully created
[root@redhat ~]# pvscan
  PV /dev/hdb1         lvm2 [95.95 MB


Ïà¹ØÎĵµ£º

LinuxÄÚºËÅäÖÃÎĵµ(make menuconfig)

Ò»¡¢ÒýÑÔ£º
    ±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØͼ£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾­Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾­Ñ飨Õâ¸ö»¹µ ......

ʹÓÃISOÎļþ°²×°Linux [·½·¨×ܽá]

Ò». ×¼±¸ÖªÊ¶
1. ISOÎļþ
ÎÒÃÇÆÕ±éʹÓõÄISOÎļþÊÇÖ¸°üº¬×ÅÕû¸öCD-ROM£¨ISO-9660 Îļþϵͳ£©ÄÚÈݵÄ
Ó³Ïó, ÊÇÕû¸öµúƬ´Ó0ÉÈÇøµ½×îºóÒ»¸öÉÈÇøµÄÍêÕû¸´ÖÆ,¾­³£±»ÓÃÀ´ÔÚÍøÂçÉÏ´«Êä
¶ÔÓÚISOÎļþÎÒÃÇ¿ÉÒÔ:
1)¿Ì¼µ½¹âÅÌ
2)ÓÃWinRAR,MagicISOµÈÈí¼þÔÚWindowsϲ鿴»òÊÍ·ÅËüµÄÄÚÈÝ
3)ÔÚLinuxϵͳ ......

linux¸÷ÖÖ¿ª·¢¹¤¾ß¼ò½é

    GCC
    Ä¿Ç°£¬GCC£¨GNU Compiler Collection£©ÊÇÉçÇø×îºÃµÄ±àÒëÆ÷¡£GCCÒ²¾ÍÊÇÒÔÇ°µÄGNU C±àÒëÆ÷£¨GNU C Compiler£©£¬ÊÇÓÉegcs³ï»®Ö¸µ¼Î¯Ô±»áά»¤£¬ËûÃǵÄÄ¿±êÊÇÈÃGCC³ÉΪ±ê×¼µÄC±àÒëÆ÷¡£1999ÄêÖУ¬egcsºÍGCC¹¤³ÌºÏ²¢ÎªÒ»¸ö±à¼­Æ÷Ì××°£¬Í¬Äê10Ô·¢²¼GCC 2.95.2¡£
    GCCÊÇÒ»¸ö±à ......

Linux ¼¯Èº´óÈ«

http://www.ibm.com/developerworks/cn/linux/cluster/lw-clustering.html
×¢£º¿´ÍêÏÂÃæµÄ½éÉܺó¿ÉÒÔ¿´Ò»ÏÂÕâ¸öÁ´½ÓµÄʵÀý£ºhttp://blog.csdn.net/chinalinuxzend/archive/2007/10/25/1842581.aspx
¼¶±ð£º ³õ¼¶
Rawn Shah, LinuxWorld רÀ¸×÷¼Ò
2000 Äê 5 ÔÂ 01 ÈÕ
Rawn Shah ×÷Ϊר¼Ò£¬ÔÚ Linux ÏÖÓеĿª·ÅÔ´ÂëºÍ·â±Õ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ