实训项目8基本磁盘管理1

实训项目8基本磁盘管理1

ID:22280754

大小:212.17 KB

页数:8页

时间:2018-10-28

实训项目8基本磁盘管理1_第1页
实训项目8基本磁盘管理1_第2页
实训项目8基本磁盘管理1_第3页
实训项目8基本磁盘管理1_第4页
实训项目8基本磁盘管理1_第5页
资源描述:

《实训项目8基本磁盘管理1》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、实训项目8基本磁盘管理子项目1.创建/dev/sdbl和/dev/sdb51、使用fdisk命令创建/dev/sdbl主分区。[root@locaIhostroot]#fdisk/dev/sdbConrrand(mforhelp):nConrrandactioneextendedpprinurypartition(卜4)pPartitionnunher(1-4):1Firstcylinder(1-261,default1):Usingdefaultvalue1Lastcylinderor+sizeor+sizeMor+sizeK

2、(1一261•default261):+50MConrrand(mforhelp):WThepartitiontablehasbeenaltered!Disk/dev/sdb:2147NB,2147483648bytes255heads>63sectors/track>261cylindersLhits=cylindersof16065*512=8225280bytesDeviceBootStart/dev/sdbl1EndBlocksIdSystem75619683Linux2、使用fdisk命令创建/dev/sdb2扩展分区

3、。Conrrand(mforheIp):NComrandactioneextendedpprirrarypartition(1-4)ePartitionnunher(1-4):2Firstcylinder(8-261,default8):Usingdefaultvalue8Lastcylinderor+sizeor+sizeMor+sizeK(8-261tdefault261):+50MConrrand(mforheIp):pDisk/dev/sdb:2147NB,2147483648bytes255heads»63sector

4、s/track,261cylindersUiits=cylindersof16065*512=8225280bytesDeviceBootStartEndBlocks/dev/sdbl1756196Zdev/sdb281456227+3、使用fdisk命令创建/dev/sdb5遷絹:分区。Id835SystemLinuxExtendedConmind(mforheIp):nCdiittbndactionIlogicaI(5orover)ppriimrypartition(1-4)IFirstcylinder(8-14,defau

5、lt8):Usingdefaultvalue8Lastcylinderor+sizeor+sizeMor+sizeK(8-14ConTriind(mforhelp):pDisk/dev/sdb:2147MJ,2147483648bytes255heads,63sectors/track,261cylindersIJhits=cylindersof16065*5128225280bytesdefault14):+50MDeviceBoot/dev/sdbl/dev/sdb2/dev/sdb5IlnasEndBlocksIdSyst

6、em75619683Linux1456227+5Extended145619683LinuxConyriind(mforheIp):vThepartitiontablehasbeenaltered!4、输入子命令w,把设置写入硬盘分区表,退出fdisk并重新启动系统。5、用mkfs命令在上述刚刚创建的分区上创建ext3文件系统和vfat文件系统。[root^locaIhostroot]#rrkfs-text3/dev/sdblnke2fs1.32(09-bbv-2002)[root@IocaIhostroot]#nkfs.vf

7、at/dev/sdb5nlcfs.vfat2.8(28Feb2001)6、用fsck命令检杏上面创建的文件系统。[root@locaIhostroot]#fsck/dev/sdblfsck1.32(09-Njv-2002)e2fsck1.32(09-bbv-2002)/dev/sdbl:clean,11/14056files,5907/56196blocks子项目2.挂载/dev/sdbl和/dev/sdb51、利用mkdir命令,在/mnt目录下建立挂载点,mountpointl和mountpoint2。[root@locaI

8、hostroot]#rrkdir/mit/nr)untpoin11/nnt/iwuntpoint22、把上述新创建的ext3分区挂载到/mnt/mountpointl上。[root@IocaIhostroot]#rrount-text3/dev/sdbl/mit

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。