仓酷云

标题: 来一发CentOS磁盘分区增加删除 [打印本页]

作者: 柔情似水    时间: 2015-1-14 20:21
标题: 来一发CentOS磁盘分区增加删除
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的小伙伴们!Linux硬盘分区(一):增加
********************************


*************************
历程简述

*************************
[plain]viewplaincopy





*************************
申明
*************************

1、以上操纵为精华精辟总结,若如能够看懂,上面内容无需扫瞄;
2、以下复杂枚举两例,细化操纵历程。

*****************************************************************************************************


举例1:增加1块90G磁盘,将其分为1个分区

*****************************************************************************************************

*************************
检察磁盘情形
*************************


[plain]viewplaincopy





*************************
磁盘分区
*************************

[plain]viewplaincopy





*************************
创立挂载目次
*************************

[plain]viewplaincopy





*************************
格局化磁盘
*************************

<divclass="dp-highlighterbg_plain"style="font-family:Consolas,CourierNew,Courier,mono,serif;width:700.90625px;overflow:auto;padding-top:1px;color:rgb(51,51,51);line-height:26px;margin:18px0px!important;background-color:rgb(231,229,220);">[plain]viewplaincopy




<olstart="1"style="padding-right:0px;padding-left:0px;border:none;list-style-position:initial;list-style-image:initial;color:rgb(92,92,92);margin:0px0px1px45px!important;background-color:rgb(255,255,255);"><liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;">[root@hyldb/]#mkfs.ext3/dev/sdb<listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);">--格局化sdb1,格局成ext3格局文件体系<liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;">mke2fs1.39(29-May-2006)<listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);">/dev/sdbisentiredevice,notjustonepartition!<liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;">Proceedanyway?(y,n)y<listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);">Filesystemlabel=<liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;">OStype:Linux<listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);">Blocksize=4096(log=2)<liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;">Fragmentsize=4096(log=2)<listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);">11796480inodes,23592960blocks<liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;">1179648blocks(5.00%)reservedforthesuperuser<listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);">Firstdatablock=0<liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;">Maximumfilesystemblocks=4294967296<listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);">720blockgroups<liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;">32768blockspergroup,32768fragmentspergroup<listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);">16384inodespergroup<liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;">Superblockbackupsstoredonblocks:<listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);">32768,98304,163840,229376,294912,819200,884736,1605632,2654208,<liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;">4096000,7962624,11239424,20480000<listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);"><liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;"><listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);">Writinginodetables:done<liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;">Creatingjournal(32768blocks):done<listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);">Writingsuperblocksandfilesystemaccountinginformation:done<liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;"><listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);"><liclass="alt"style="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;color:inherit;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;">Thisfilesystemwillbeautomaticallycheckedevery33mountsor<listyle="border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(108,226,108);list-style:decimal-leading-zerooutside;line-height:18px;margin:0px!important;padding:0px3px0px10px!important;background-color:rgb(248,248,248);">180days,whichevercomesfirst.Usetune2fs-cor-itooverride.
作者: 灵魂腐蚀    时间: 2015-1-16 13:01
标题: 来一发CentOS磁盘分区增加删除
一些显而易见的小错误还是用vi改正比较方便。以后的大一点的程序就得在Linux下调试了,因为有的头文件在VC里面说找不到。?
作者: 爱飞    时间: 2015-1-24 15:22
掌握在Linux系统中安装软件,在安装Linux工具盘后大致日常所需的软件都会有,一般网络提供下载的软件都会有安装说明。
作者: 山那边是海    时间: 2015-2-2 06:47
把这个问题放在其他Linux社区请求帮助也是一种选择。如果Linux得不到答案,请不要以为我们觉得无法帮助你。有时只是看到你问题的人不知道答案罢了。这时换一个社区是不错的选择。
作者: 因胸联盟    时间: 2015-2-23 09:48
用户下达的命令解释给系统去执行,并将系统传回的信息再次解释给用户,估shell也称为命令解释器,有关命令的学习可参考论坛相关文章,精通英文也是学习Linux的关键。
作者: 蒙在股里    时间: 2015-3-7 09:46
有疑问前,知识学习前,先用搜索。
作者: 老尸    时间: 2015-3-21 19:34
Linux是参照Unix思想设计的,理解掌握Linux必须按照Unix思维来进行。思想性的转变比暂时性的技术提高更有用,因为他能帮助你加快学习速度。




欢迎光临 仓酷云 (http://ckuyun.com/) Powered by Discuz! X3.2