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
Ïà¹ØÎĵµ£º
Ò»¡¢ÒýÑÔ£º
±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØͼ£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾Ñ飨Õâ¸ö»¹µ ......
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ºÅ½ø³Ì£¬ËüÊÇËùÓнø³ÌµÄ×æÏÈ¡£ÓÉ0ºÅ½ø³Ì´´½¨1ºÅ½ø³Ì£¨ÄÚºË̬£©£¬1ºÅ¸ºÔðÖ´ÐÐÄں˵IJ¿·Ö³õʼ»¯ ......
http://www.oklinux.cn/html/sql/other/20080317/49465.html
1.ÓÃoracleÓû§µÇ¼
Èç¹ûÒªÔٴΰ²×°£¬ ×îºÃÏÈ×öһЩ±¸·Ý¹¤×÷¡£°üÀ¨Óû§µÄµÇ¼½Å±¾£¬Êý¾Ý¿â×Ô¶¯Æô¶¯¹Ø±ÕµÄ½Å±¾£¬ºÍListener×Ô¶¯Æô¶¯µÄ½Å±¾¡£ÒªÊÇÓпÉÄÜÁ¬´´½¨Êý¾Ý¿âµÄ½Å±¾Ò²±£´æÏÂÀ´
2.ʹÓÃSQL*PLUSÍ£Ö¹Êý¾Ý¿â
[oracle@ora920 oracle]$ sqlplus /nolog
SQL&g ......
½øÈëGRUB:ÔÚÒýµ¼×°ÔسÌÐò²Ëµ¥ÉÏ£¬¼üÈë [e] À´½øÈë±à¼Ä£Ê½¡£Äã»áÃæ¶ÔÒ»¸öÒýµ¼ÏîÄ¿ÁÐ±í¡£²éÕÒÆäÖÐÀàËÆÒÔÏÂÊä³ö µÄ¾äÐУº ¡¡
kernel /vmlinuz-2.4.18-0.4 ro root=/dev/hda2
°´¼ýÍ·¼üÖ±µ½ÕâÒ»Ðб»Í»³öÏÔʾ£¬È»ºó°´ [e]¡£ÄãÏÖÔÚ¿ÉÔÚÎı¾½áβ´¦¿ÕÒ»¸ñÔÙÌí¼Ó single À´¸æËß GRUB Òýµ¼µ¥Óû§ Linux ģʽ¡£°´ [Enter] ¼üÀ´Ê¹± ......