Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾­Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾­Ñ飨Õâ¸ö»¹µ ......

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 0ºÅ½ø³Ì 1ºÅ½ø³Ì Çø±ð£¨×ª)

       ϵͳÔÊÐíÒ»¸ö½ø³Ì´´½¨Ð½ø³Ì£¬Ð½ø³Ì¼´Îª×Ó½ø³Ì£¬×Ó½ø³Ì»¹¿ÉÒÔ´´½¨ÐµÄ×Ó½ø³Ì£¬Ðγɽø³ÌÊ÷½á¹¹Ä£ÐÍ¡£Õû¸ölinuxϵͳµÄËùÓнø³ÌÒ²ÊÇÒ»¸öÊ÷Ðνṹ¡£Ê÷¸ùÊÇϵͳ×Ô¶¯¹¹ÔìµÄ£¬¼´ÔÚÄÚºË̬ÏÂÖ´ÐеÄ0ºÅ½ø³Ì£¬ËüÊÇËùÓнø³ÌµÄ×æÏÈ¡£ÓÉ0ºÅ½ø³Ì´´½¨1ºÅ½ø³Ì£¨ÄÚºË̬£©£¬1ºÅ¸ºÔðÖ´ÐÐÄں˵IJ¿·Ö³õʼ»¯ ......

linux³¹µ×ɾ³ýoracle

http://www.oklinux.cn/html/sql/other/20080317/49465.html
1.ÓÃoracleÓû§µÇ¼
Èç¹ûÒªÔٴΰ²×°£¬ ×îºÃÏÈ×öһЩ±¸·Ý¹¤×÷¡£°üÀ¨Óû§µÄµÇ¼½Å±¾£¬Êý¾Ý¿â×Ô¶¯Æô¶¯¹Ø±ÕµÄ½Å±¾£¬ºÍListener×Ô¶¯Æô¶¯µÄ½Å±¾¡£ÒªÊÇÓпÉÄÜÁ¬´´½¨Êý¾Ý¿âµÄ½Å±¾Ò²±£´æÏÂÀ´
2.ʹÓÃSQL*PLUSÍ£Ö¹Êý¾Ý¿â
[oracle@ora920 oracle]$ sqlplus /nolog
SQL&g ......

linux rootÃÜÂ붪ʧºóµÄ½â¾ö°ì·¨


½øÈëGRUB:ÔÚÒýµ¼×°ÔسÌÐò²Ëµ¥ÉÏ£¬¼üÈë [e] À´½øÈë±à¼­Ä£Ê½¡£Äã»áÃæ¶ÔÒ»¸öÒýµ¼ÏîÄ¿ÁÐ±í¡£²éÕÒÆäÖÐÀàËÆÒÔÏÂÊä³ö µÄ¾äÐУº ¡¡
kernel /vmlinuz-2.4.18-0.4 ro root=/dev/hda2
°´¼ýÍ·¼üÖ±µ½ÕâÒ»Ðб»Í»³öÏÔʾ£¬È»ºó°´ [e]¡£ÄãÏÖÔÚ¿ÉÔÚÎı¾½áβ´¦¿ÕÒ»¸ñÔÙÌí¼Ó single À´¸æËß GRUB Òýµ¼µ¥Óû§ Linux ģʽ¡£°´ [Enter] ¼üÀ´Ê¹± ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ