Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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


Ïà¹ØÎĵµ£º

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

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

linux 0ºÅ½ø³Ì 1ºÅ½ø³Ì Çø±ð£¨×ª)

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

LinuxϽø³Ì¼äͨÐÅ»úÖÆ£ºFIFO£¨ÃüÃû¹ÜµÀ£©

FIFO
£¬ÓÖ³ÆÃüÃû¹ÜµÀ
£¬ÊÇLinuxÏ£¨unix»·¾³Ï£©Ò»ÖÖ½ø³Ì¼äͨÐŵĻúÖÆ£¬Ó¦Óù㷺¡£
º¯Êýmkfifo
ÓÃÓÚ´´½¨ÃüÃû¹ÜµÀ£¬Ê¹ÓÃÃüÁîman 3 mkfifo
¿É²é¿´´Ëº¯ÊýÐÅÏ¢¡£
FIFO´´½¨ºó£¬¿ÉÒÔÏñÆÕͨÎļþÒ»Ñù¶ÔÆä·ÃÎÊ¡£
LinuxÏÂÒ»¸öͬÃûÃüÁîmkfifo
Ò²ÓÃÓÚ´´½¨FIFO£¬ÀýÈ磺
Ö´ÐÐÃüÁî
$ mkfifo /tmp/fifo
$ cat /tmp/fifo
³ÌÐò×èÈ ......

Linux´®¿Ú±à³Ì

Linux ²Ù×÷ϵͳ´ÓÒ»¿ªÊ¼¾Í¶Ô´®ÐпÚÌṩÁ˺ܺõÄÖ§³Ö£¬±¾ÎÄ¾Í Linux ϵĴ®ÐпÚͨѶ±à³Ì½øÐмòµ¥µÄ½éÉÜ¡£ ´®¿Ú¼ò½é  ´®ÐпÚÊǼÆËã»úÒ»ÖÖ³£ÓõĽӿڣ¬¾ßÓÐÁ¬½ÓÏßÉÙ£¬Í¨Ñ¶¼òµ¥£¬µÃµ½¹ã·ºµÄʹÓᣳ£ÓõĴ®¿ÚÊÇ RS-232-C ½Ó¿Ú£¨ÓÖ³Æ EIA RS-232-C£©ËüÊÇÔÚ 1970 ÄêÓÉ ......

linux¿ìËÙ¼ÜÉèftp·þÎñÆ÷

×÷Õß:Error À´×Ô:http://www.zoesan.com
ÔÚInternetÉÏFTP£¨File Transfer Protocol£¬Îļþ´«ÊäЭÒ飩°çÑÝ×ÅÊ®·ÖÖØÒªµÄ½ÇÉ«¡£ÎÒÃÇ¿ÉÒÔͨ¹ýFTPÓëÔ¶³Ì»úÆ÷´«Êä½»»»ÎļþÊý¾Ý£¬ÏÂÔØ»òÉÏ´«×îеÄÈí¼þ¡£»ù±¾µÄFTP·þÎñÆ÷¸ù¾Ý·þÎñµÄ¶ÔÏó¿ÉÒÔ·ÖΪÁ½ÖÖ£¬Ò»ÖÖÊÇUnix£¨µ±È»Ò²°üÀ¨Linux£©ÏµÍ³»ù±¾µÄFTP·þÎñÆ÷£¬Ê¹ÓÃÕßÊÇ·þÎñÆ÷ÉϺϷ¨µÄÓû§ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ