Linux LVM µÄʹÓÃÏê½â
Linux LVM µÄʹÓÃÏê½â
ÕªÒª£º LinuxÓû§°²×°Linux²Ù×÷ϵͳʱÓöµ½µÄÒ»¸ö×î³£¼ûµÄÄÑÒÔ¾ö¶¨µÄÎÊÌâ¾ÍÊÇÈçºÎÕýÈ·µØ¸øÆÀ¹À¸÷·ÖÇø´óС£¬ÒÔ·ÖÅäºÏÊʵÄÓ²Å̿ռ䡣¶øÓöµ½³öÏÖij¸ö·ÖÇø¿Õ¼äºÄ¾¡Ê±£¬½â¾öµÄ·½·¨Í¨³£ÊÇʹÓ÷ûºÅÁ´½Ó£¬»òÕßʹÓõ÷Õû·ÖÇø´óСµÄ¹¤¾ß(±ÈÈçPatition MagicµÈ)£¬µ«ÕⶼֻÊÇÔÝʱ½â¾ö°ì·¨£¬Ã»Óиù±¾½â¾öÎÊÌâ¡£Ëæ×ÅLinuxµÄÂß¼Å̾í¹ÜÀí¹¦ÄܵijöÏÖ£¬ÕâЩÎÊÌⶼÓÈжø½â£¬±¾ÎľÍÉîÈëÌÖÂÛLVM¼¼Êõ£¬Ê¹µÃÓû§ÔÚÎÞÐèÍ£»úµÄÇé¿öÏ·½±ãµØµ÷Õû¸÷¸ö·ÖÇø´óС¡£
Ò»¡¢ Ç°ÑÔ
ÿ¸öLinuxʹÓÃÕßÔÚ°²×°Linuxʱ ¶¼»áÓöµ½ÕâÑùµÄÀ§¾³£ºÔÚΪϵͳ·ÖÇøʱ£¬ÈçºÎ¾«È·ÆÀ¹ÀºÍ·ÖÅä¸÷¸öÓ²ÅÌ·ÖÇøµÄÈÝÁ¿£¬ÒòΪϵͳ¹ÜÀíÔ±²»µ«Òª¿¼Âǵ½µ±Ç°Ä³¸ö·ÖÇøÐèÒªµÄÈÝÁ¿£¬»¹ÒªÔ¤¼û¸Ã·ÖÇøÒÔºó¿É ÄÜÐèÒªµÄÈÝÁ¿µÄ×î´óÖµ¡£ÒòΪÈç¹û¹À¼Æ²»×¼È·£¬µ±Óöµ½Ä³¸ö·ÖÇø²»¹»ÓÃʱ¹ÜÀíÔ±¿ÉÄÜÉõÖÁÒª±¸·ÝÕû¸öϵͳ¡¢Çå³ýÓ²ÅÌ¡¢ÖØжÔÓ²ÅÌ·ÖÇø£¬È»ºó»Ö¸´Êý¾Ýµ½Ð·ÖÇø¡£
ËäÈ»ÏÖÔÚÓкܶද̬µ÷Õû´ÅÅ̵Ť¾ß¿ÉÒÔʹÓã¬ÀýÈçPartation MagicµÈµÈ£¬µ«ÊÇËü²¢²»ÄÜÍêÈ«½â¾öÎÊÌ⣬ÒòΪij¸ö·ÖÇø¿ÉÄÜ»áÔٴα»ºÄ¾¡£»ÁíÍâÒ»¸ö·½ÃæÕâÐèÒªÖØÐÂÒýµ¼ÏµÍ³²ÅÄÜʵÏÖ£¬¶ÔÓںܶà¹Ø¼üµÄ·þÎñÆ÷£¬Í£»úÊDz»¿É½ÓÊܵģ¬¶øÇÒ¶ÔÓÚÌí¼ÓÐÂÓ²ÅÌ£¬Ï£ÍûÒ»¸öÄÜ¿çÔ½¶à¸öÓ²ÅÌÇý¶¯Æ÷µÄÎļþϵͳʱ£¬·ÖÇøµ÷Õû³ÌÐò¾Í²»Äܽâ¾öÎÊÌâ¡£
Òò´ËÍêÃÀµÄ½â¾ö·½·¨Ó¦¸ÃÊÇÔÚÁãÍ£»úÇ°ÌáÏ¿ÉÒÔ×ÔÈç¶ÔÎļþϵͳµÄ´óС½øÐе÷Õû£¬¿ÉÒÔ·½±ãʵÏÖÎļþϵͳ¿çÔ½²»Í¬´ÅÅ̺ͷÖÇø¡£ÐÒÔ˵ÄÊÇLinuxÌṩµÄÂß¼Å̾í¹ÜÀí£¨LVM£¬Logical Volume Manager£©»úÖƾÍÊÇÒ»¸öÍêÃÀµÄ½â¾ö·½°¸¡£
LVMÊÇÂß¼Å̾í¹ÜÀí£¨Logical Volume Manager£©µÄ¼ò³Æ£¬ËüÊÇLinux»·¾³Ï¶ԴÅÅÌ·ÖÇø½øÐйÜÀíµÄÒ»ÖÖ»úÖÆ£¬LVMÊǽ¨Á¢ÔÚÓ²Å̺ͷÖÇøÖ®ÉϵÄÒ»¸öÂß¼²ã£¬À´Ìá¸ß´ÅÅÌ·ÖÇø¹ÜÀíµÄÁé»îÐÔ¡£Í¨¹ýLVMϵͳ¹ÜÀíÔ±¿ÉÒÔÇáËɹÜÀí´ÅÅÌ·ÖÇø£¬È磺½«Èô¸É¸ö´ÅÅÌ·ÖÇøÁ¬½ÓΪһ¸öÕû¿éµÄ¾í×飨volume group£©£¬ÐγÉÒ»¸ö´æ´¢³Ø¡£¹ÜÀíÔ±¿ÉÒÔÔÚ¾í×éÉÏËæÒâ´´½¨Âß¼¾í×飨logical volumes£©£¬²¢½øÒ»²½ÔÚÂß¼¾í×éÉÏ´´½¨Îļþϵͳ¡£¹ÜÀíԱͨ¹ýLVM¿ÉÒÔ·½±ãµÄµ÷Õû´æ´¢¾í×éµÄ´óС£¬²¢ÇÒ¿ÉÒÔ¶Ô´ÅÅÌ´æ´¢°´ÕÕ×éµÄ·½Ê½½øÐÐÃüÃû¡¢¹ÜÀíºÍ·ÖÅ䣬ÀýÈç°´ÕÕʹÓÃÓÃ;½øÐж¨Ò壺“development”ºÍ“sales”£¬¶ø²»ÊÇʹÓÃÎïÀí´ÅÅÌÃû“sda”ºÍ“sdb”¡£¶øÇÒµ±ÏµÍ³Ìí¼ÓÁËеĴÅÅÌ£¬Í¨¹ýLVM¹ÜÀíÔ±¾Í²»±Ø½«´ÅÅ̵ÄÎļþÒƶ¯µ½ÐµĴÅÅÌÉÏÒÔ³ä·Ö
Ïà¹ØÎĵµ£º
java µÄconnectÓÐtimeoutÕâ¸ö¹¦ÄÜ£¬C++µÄconnect·´¶øûÓУ¿ Íø²éµÃµ½ÁËÁ½¸öʵÏֵİ汾ÈçÏ£º
Ö§³ÖtimeoutµÄconnect() / Connect with timeout
Code:
void connect_w_to(void) {
int res;
struct sockaddr_in addr;
long arg;
fd_set myset;
struct timeval tv;
int valopt;
socklen_t ......
9ÔÂ13ÈÕ
ʹÓÃXDMCPÀ´Ô¶³ÌÁ¬½ÓÄãµÄLinuxͼÐÎ×ÀÃ棡
²Ù×÷»·¾³
Fedora Core 3
gdm(Gnome)
X-Win32 v8.0 ( http://www.starnet.com/evalkey/ )
É趨 XDMCP
XDM ÊÇ X Display Manager µÄ¼ò³Æ£¬ËûµÄ¹¦ÄÜÊÇʲôÄØ£¿ ¼òµ¥µÄ˵£¬¾ÍÊǹÜÀí²Ù¿Ø X Server µÄÏÔʾÀ²¡«ËûÖ÷ÒªÓÐÁ½ÖÖ¹ÜÀí·½Ê½£¬ Èç¹û X Server/Client Ô ......
ǶÈëʽarm linuxÀ¶ÑÀÎļþ´«ÊäÒÆÖ²
Ä¿Ç°£¬À¶ÑÀ¼¼ÊõÒѾ±È½Ï³ÉÊ죬ÌرðÊÇ»ùÓÚÊÖ»úºÍPCµÃÀ¶ÑÀÎļþ´«Êä¡£
±¾ÎÄÖ÷Òª½²Êö»ùÓÚǶÈëʽarm linuxµÄÀ¶ÑÀÎļþ´«Êä¡£
ÏÖÐÐ2.6.xµÄlinuxÄں˶¼ÒѾ¼¯³ÉÁËbluezÀ¶ÑÀÇý¶¯£¬¶ÔÓÚ2.4°æ±¾Äں˵ÄÐèÒªµ½bluez¹Ù·½ÍøÕ¾ÏÂÔز¢°²×°bluezÀ¶ÑÀÇý¶¯¡£
http://www.bluez.org/d ......
¡¡¡¡»·¾³£ºCentOS 5.3 x86_64Ï£¬/dev/sdb1ΪÊý¾Ý·ÖÇø/data0£¬EXT3Îļþϵͳ¡£
¡¡¡¡Ç°Òò£ºÎóɾÁË/data0/tcsql/cankao/phpcws-1.5.0/httpcws.cppÎļþ¡£ÓÉÓÚÍüÁ˱¸·Ýhttpcws.cppÎļþ£¬ÖØпª·¢¹¤×÷Á¿½Ï´ó£¬Òò´ËÖ»Óлָ´¸ÃÎļþÒ»Ìõ·¿É×ß¡£
¡¡¡¡debugfsÃüÁîÕë¶ÔEXT2·ÖÇø»¹ÐУ¬µ«¶ÔEXT3·ÖÇø¾Í°ï²»ÉÏæÁË¡£Å¼È»·¢ÏÖµÄÒ»¿î¿ªÔ´Èí ......