黑龙江快乐十分

Ubuntu系统上使用LVM调整硬盘分区的教程

10/21/2015来源:网络管理人气:18648

  xianlaijieshaoyixiayingpanfenqudejibenzhishi:

黑龙江快乐十分  wulijiezhi the physical media

  niyinggaiganshou“wuli”zheigedanciyoujidadeyanshen,suiranwomengangkaishijiashetajinjinshiyigeyingpan,huozheyigefenqu。liru,/dev/hda,/dev/hda6,/dev/sda。nikeyizhuanhuanyigekuaishebeishangrenhelianxukuaidaoyige。。。

  wulijuan physical volume (pv)

黑龙江快乐十分  yigepvzhibuguoshiyouxuduoguanlishujutianjiazaitalimiandewulijiezhi–yidannitianjialeta,lvmjiurenweitashi。。。deyigechiyouzhe。

黑龙江快乐十分  wulifenqu physical extents (pe)

黑龙江快乐十分  wulifenquzhendexiangyixiedadeshujukuai,tongchangyoujimb。pekeyifenpeijiyige。。。

  juanzu volume group (vg)

  yigevgshiyouxuduowulifenquzuchengde(kenenglaiziduogewulijuanhuoyingpan)。suiranzheikenengrongyirangnirenweiyigevgjiushiyoujigeyingpanzuchengde(liru/dev/hdahe/dev/sda),danshigengqueqiedeshuo,tabaohanyouzheixieyingpantigongdexuduope。

黑龙江快乐十分  congzheigejuanzu,pekeyifenpeijiyige。。。

  luojijuan logical volume (lv)

  yes,womenzuizhongdaodamouchu。yigeluojijuanshiwomengongzuodezuizhongjieguo,zheilishiwomencunchuxinxidedifang。zheidengtongyuchuantongfenqudexiangfa。

黑龙江快乐十分  xiangyongtongchangdefenquyiyang,zailuojijuanshangninengdaibiaoxingdechuangjianyige。。。

黑龙江快乐十分  wenjianxitong filesystem

  wenjianxitongshinixiangtachengweidexingtai:biaozhunde ext2,reiserfs,nwfs,xfs,jfx,ntfs,dengdeng。。。duineihelaishuo,zaitongchangdefenquheluojijuanzhijianmeiyouchabie。

  woshizhehualeyigeasciitulaishizheixiexingxianghua。

  yigewulijuan,baohanlexuduowulifenqu:

  +—–[ physical volume ]—–+

黑龙江快乐十分  | pe | pe | pe | pe | pe | pe |

  +—————————–+

  yigejuanzu,baohanle2gewulijuan(pv)you6gewulifenqu:

  +——[ volume group ]————-+

黑龙江快乐十分  | +–[pv]——–+ +–[pv]——–+ |

  | | pe | pe | pe | | pe | pe | pe | |

  | +————–+ +————–+ |

  +———————————–+

黑龙江快乐十分  womenxianzaizuogengjinyibukuozhan:

  +——[ volume group ]————-+

  | +–[pv]——–+ +–[pv]——–+ |

  | | pe | pe | pe | | pe | pe | pe | |

黑龙江快乐十分  | +–+—+—+—+ +-+—-+—-+–+ |

黑龙江快乐十分  | | | | +—–/ | | |

  | | | | | | | |

  | +–+—+—+-+ +——+—-+–+ |

  | | logical | | logical | |

  | | volume | | volume | |

  | | | | | |

  | | /home | | /var | |

  | +————+ +————–+ |

黑龙江快乐十分  +———————————–+

  zheigexiangwomenzhanshilelianggewenjianxitong,takuayuelianggecipan。/homewenjianxitongbaohan4gewulifenqu,/varwenjianxitongbaohan2ge。

   shangshiyong lvm qingsongdiaozhengfenqubingzhizuokuaizhao

  ubuntudeanzhuangqitigongleyigeqingsong“shiyonglvm”defuxuankuang。tademiaoshuzhongshuo,qiyongluojijuanguanlikeyirangnizhizuokuaizhao,binggengrongyididiaozhengyingpanfenqudaxiao——zheilijiangweidajiajiangshuruhewanchengzheixiecaozuo。

黑龙江快乐十分  lvmshiyizhongjishu,mouzhongchengdushangheraidzhenliehuowindowsshangde“cunchukongjian”leisi。suirangaijishuzaifuwuqishanggengweiyouyong,danshitayekeyizaizhuomianduanpcshangshiyong。

黑龙江快乐十分  niyinggaizaixinanzhuangubuntushishiyonglvmma?

  diyigewentishi,nishifouxiangyaozaianzhuangubuntushishiyonglvm?ruguoshi,neimeubunturangzheiyiqiebiandehenjiandan,zhixuyaoqingdianshubiaojiukeyiwancheng,danshigaixuanxiangmorenshibuqiyongde。zhengruanzhuangqisuoshuode,tayunxunidiaozhengfenqu、chuangjiankuaizhao、jiangduogecipanhebingdaoyigeluojijuandengdeng——suoyouzheiyiqiedoukeyizaixitongyunxingshiwancheng。butongyuchuantongfenqu,nibuxuyaoguandiaonidexitong,conglive cdhuousbqudong,ranhoudangzheixiefenqubushiyongshicainengdiaozheng。

黑龙江快乐十分  wanquantanlvdishuo,putongubuntuzhuomianyonghukenengbuhuiyishidaotamenshifouzhengzaishiyonglvm。danshi,ruguonixiangyaozaijinhouzuoyixiegenggaoshendeshiqing,neimelvmjiuhuiyousuobangzhule。lvmkenenggengfuza,kenenghuizainijinhouhuifushujushihuidaozhiwenti——youqishizainijingyanbuzushi。zheilibuhuiyouxianzhudexingnengsunshi——lvmshichedidizailinuxneihezhongshixiande。

  luojijuanguanlishuoming

  qianmian,womenyijingshuomingleheweilvm。gaikuolaijiang,tazainidewulicipanhechengxianzainixitongzhongdefenquzhijiantigongleyigechouxiangceng。liru,nidejisuanjikenengzhuangyoulianggeyingpanqudongqi,tamendedaxiaodoushi 1 tb。nibixudezaizheixiecipanshangzhishaofenlianggequ,meigequdaxiao 1 tb。

  lvmjiuzaizheixiefenqushangtigongleyigechouxiangceng。yongyuqudaicipanshangdechuantongfenqu,lvmjiangzainiduizheixiecipanchushihuahou,jiangtamendangzuodulide“wulijuan”laiduidai。ranhou,nijiukeyijiyuzheixiewulijuanchuangjian“luojijuan”。liru,nikeyijiangzheiliangge 1 tb decipanzuhechengyige 2 tb defenqu,nidexitongjiangzhikandaoyige 2 tb dejuan,erlvmjianghuizaihoutaichulizheiyiqie。yizuwulijuanyijiyizuluojijuanbeichengzhiwei“juanzu”,yigedianxingdexitongzhihuiyouyigejuanzu。

黑龙江快乐十分  gaichouxiangcengshidediaozhengfenqu、jiangduogecipanzuhechengdangejuan、shenzhiweiyigeyunxingzhedefenqudewenjianxitongchuangjian“kuaizhao”biandeshifenjiandan,erwanchengsuoyouzheiyiqiedouwuxuxianxiezaifenqu。

  zhuyi,ruguonimeiyouchuangjianbeifen,neimejiangduogecipanhebingchengyigejuanjianghuishigezaogaodexiangfa。tajiuxiangraid 0——ruguonijiangliangge 1 tb dejuanzuhechengyige 2 tb dejuan,zhiyaoqizhongyigeyingpanshibai,nijiangdiushigaijuanshangdezhongyaoshuju。suoyi,ruguoniyaozouzheitiaolu,neimebeifenjiujiqizhongyao。

  guanlilvmjuandetuxinghuagongju

黑龙江快乐十分  tongchang,lvmtongguolinuxzhongduanminglinglaiguanli。zheizaiubuntushangyexingdetong,danshiyougegengjiandandetuxinghuafangfakegongdajiacaiyong。ruguonishiyigelinuxyonghu,duigpartedhuozheyuqileisidefenquguanliqishuxi,suanle,biexiabaile——gpartedgenbenbuzhichilvmcipan。

  raner,nikeyishiyongubuntufudaidecipangongju。gaigongjuyebeichengzhiweignomecipangongju,huozhejiaopalimpsest。dianjidashzhongdetubiaolaikaiqitaba,sousuo“cipan”ranhouqiaojihuiche。buxianggparted,gaicipangongjujianghuizai“qitashebei”xiaxianshilvmfenqu,yincinikeyigenjuxuyaogeshihuazheixiefenqu,yekeyidiaozhengqitaxuanxiang。gaigongjuzailive cdhuousb qudongxiayekeyishiyong。

  buxingdeshi,gaicipangongjubuzhichilvmdedaduoshuqiangdadetexing,meiyouguanlijuanzu、kuozhanfenqu,huozhechuangjiankuaizhaodengxuanxiang。duiyuzheixiecaozuo,nikeyitongguozhongduanlaishixian,danshimeiyouneigebiyao。xiangfan,nikeyidakaiubunturuanjianzhongxin,sousuoguanjianzilvm,ranhouanzhuangluojijuanguanligongju,nikeyizaizhongduanchuangkouzhongyunxingsudo apt-get install system-config-lvmminglinglaianzhuangta。anzhuangwanzhihou,nijiukeyicongdashshangdakailuojijuanguanligongjule。

  zheigetuxinghuapeizhigongjushiyouhongmaogongsikaifade,suiranyoudianchenjiule,danqueshiweiyidetuxinghuafangshi,nikeyitongguotalaiwanchengshangshucaozuo,jiangneixiezhongduanminglingpaozhunaohoule。

  birushuo,nixiangyaotianjiayigexindewulijuandaojuanzuzhong。nikeyidakaigaigongju,xuanzeweichushihuatiaomuxiadexincipan,ranhoudianji“chushihuatiaomu”anniu。ranhou,nijiukeyizaiweifenpeijuanxiazhaodaoxindewulijuanle,nikeyishiyong“tianjiadaoxiancunjuanzu”anniulaijiangtatianjiadao“ubuntu-vg”juanzu,zheishiubuntuzaianzhuangguochengzhongchuangjiandejuanzu。

黑龙江快乐十分  juanzushituhuiliechunisuoyoudewulijuanheluojijuandezonglan。zheili,womenyoulianggehengkualianggeduliyingpanqudongqidewulifenqu,womenyouyigejiaohuanfenquheyigegenfenqu,zheishiubuntumorenshezhidefenqutubiao。youyuwomenconglingyigequdongqitianjialediergewulifenqu,xianzaineiliyoudaliangweishiyongkongjian。

  yaokuozhanluojifenqudaowulikongjian,nikeyizailuojishituxiaxuanzeta,dianjibianjishuxing,ranhouxiugaidaxiaolaikuodafenqu。niyekeyizaizheilisuoxiaofenqu。

  system-config-lvmdeqitaxuanxiangyunxunishezhikuaizhaohejingxiang。duiyuchuantongzhuomianeryan,nihuoxubuxuyaozheixietexing,danshizaizheiliyekeyitongguotuxinghuachuli。jizhu,niyekeyishiyongzhongduanminglingwanchengzheiyiqie。



优质网站模板

  • 1
  • 2
  • 3

组网技术文章分类

最新文章推荐

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

组网技术推荐

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10