当前位置: 首页 > news >正文

建筑搜索网站百度客服人工电话24

建筑搜索网站,百度客服人工电话24,php做网站用html做吗,wordpress自定义栏目是什么目录 一、磁盘内容简述 1、一些基本概念 2、分区简述 3、常见文件系统 4、linux硬盘文件 二、对linux系统进行分区 1、用fdisk进行分区 2、用parted进行分区 一、磁盘内容简述 1、一些基本概念 - 扇区大小:512Btyes,0.5KB - 磁盘最小存储单位&…

目录

一、磁盘内容简述

1、一些基本概念

2、分区简述

3、常见文件系统

4、linux硬盘文件

二、对linux系统进行分区

1、用fdisk进行分区

2、用parted进行分区


一、磁盘内容简述

1、一些基本概念

- 扇区大小:512Btyes,0.5KB

- 磁盘最小存储单位:扇区,sector,大小是0.5kb

- 操作系统文件存取的最小单位是块,是多个连续的扇区,是八个连续的扇区,最小的块单位,0.5*8,磁盘的block,最小是4kb

- 1Byte = 8bit

- 微软操作系统(DOS、WINDOWS等)中磁盘文件存储管理的最小单位叫做“簇”,一个文件通常存放在一个或多个簇里,但至少要单独占据一个“簇”。 也就是说两个文件不能存放在同一个簇中。簇(CLUST)的本意就是“一群”、“一组”,即一组扇区(一个磁道可以分割成若干个大小相等的圆弧,叫扇区)的意思。因为扇区的单位太小,因此把它捆在一起,组成一个更大的单位更方便进行灵活管理。簇的大小通常是可以变化的,是由操作系统在所谓“(高级)格式化”时规定的,因此管理也更加灵活。

- 簇是windows 的概念,在linux系统中称为block,在linux文件系统中多个连续的扇区,被称为block,块的概念,也是在系统中被认为是最小的存储单位,一个block只能存储一个文件单位,文件大小只能是block的整数倍。

2、分区简述

MGR分区

主分区引导记录

master boot是主引导分区记录

这里规定了只能由四个主分区引导其他逻辑分区

扇区总共是512字节

MBR :446字节

分区表 :64字节

结束标志:2字节

gpt分区表

现在大多的硬盘分区表,都是gpt分区表了

优点:

- gpt分区容量理论没有限制

- 主分区个数没有限制

- 自带磁盘保护机制

3、常见文件系统

  • fat16、fat32,最早的windows文件系统,缺点是单个文件不能超过2GB
  • NTFS文件系统,支持文件加密,常用日志形式的文件系统,突破了单个文件4GB的大小限制
  • exfat 文件系统,新式文件系统,单个文件支持16gb大小,能够在windows和linux,macos中同时识别

4、linux硬盘文件

linux 一切皆文件,磁盘设备在系统中也以文件的形式展示


二、对linux系统进行分区

1、用fdisk进行分区

我们对我们的系统进行分区

先添加一块磁盘

没有添加磁盘里面有一块安装镜像的磁盘

添加硬盘

我们加一块默认20GB的硬盘

我们重启系统之后才可以看到这块硬盘

lsblk

我们直接对sdb这块硬盘进行分区

fdisk /dev/sdb

我们创建一个新的主分区

Partition type:p   primary (0 primary, 0 extended, 4 free)e   extended
Select (default p): p
Partition number (1-4, default 1): 1

设置开始扇区和结束扇区

我们按p可以查看已经创建好的分区

这里可以看到我们创建的这个1GB的主分区

接着我们分别创建一个,2GB的主分区,一个3GB的主分区,一个4GB的主分区

Command (m for help): n
Partition type:p   primary (1 primary, 0 extended, 3 free)e   extended
Select (default p): p
Partition number (2-4, default 2): 2^H
Partition number (2-4, default 2): 2
First sector (1955840-41943039, default 1955840): 
Using default value 1955840
Last sector, +sectors or +size{K,M,G} (1955840-41943039, default 41943039): +2GB
Partition 2 of type Linux and of size 1.9 GiB is set
Command (m for help): n
Partition type:p   primary (2 primary, 0 extended, 2 free)e   extended
Select (default p): 
Using default response p
Partition number (3,4, default 3): 
First sector (5861376-41943039, default 5861376): 
Using default value 5861376
Last sector, +sectors or +size{K,M,G} (5861376-41943039, default 41943039): +#^H
Unsupported suffix: ''.
Supported: 10^N: KB (KiloByte), MB (MegaByte), GB (GigaByte)2^N: K  (KibiByte), M  (MebiByte), G  (GibiByte)
Last sector, +sectors or +size{K,M,G} (5861376-41943039, default 41943039): +3GB
Partition 3 of type Linux and of size 2.8 GiB is set

吧剩下的分区全部给扩展分区

Command (m for help): n
Partition type:p   primary (3 primary, 0 extended, 1 free)e   extended
Select (default e): e
Selected partition 4
First sector (11720704-41943039, default 11720704): 
Using default value 11720704
Last sector, +sectors or +size{K,M,G} (11720704-41943039, default 41943039): 
Using default value 41943039
Partition 4 of type Extended and of size 14.4 GiB is set

这下我们就可以继续创建逻辑分区了

Command (m for help): n
All primary partitions are in use
Adding logical partition 5
First sector (11722752-41943039, default 11722752): 
Using default value 11722752
Last sector, +sectors or +size{K,M,G} (11722752-41943039, default 41943039): +2GB
Partition 5 of type Linux and of size 1.9 GiB is set
Command (m for help): n
All primary partitions are in use
Adding logical partition 6
First sector (15630336-41943039, default 15630336): 
Using default value 15630336
Last sector, +sectors or +size{K,M,G} (15630336-41943039, default 41943039): +4GB
Partition 6 of type Linux and of size 3.7 GiB is set

可以看出这里都是根据扩展分区创建的逻辑分区

2、用parted进行分区

用fdisk的前提:小于2TB的磁盘都可以使用fdisk分区,但是大于2TB的磁盘,只能用parted命令分区,且转换磁盘为GPT格式。

我们再添加一块虚拟硬盘

重启之后就可以看到了

给sdc分区

parted /dev/sdc

把这个硬盘分区格式设置为gpt

mklabel gpt

创建一个主分区一GB

mkpart primary 0 1GB

fdisk -l



文章转载自:
http://inflatable.rnds.cn
http://sharif.rnds.cn
http://criosphinx.rnds.cn
http://fuci.rnds.cn
http://maund.rnds.cn
http://ambitendency.rnds.cn
http://ryurik.rnds.cn
http://administrate.rnds.cn
http://ophthalmoscopy.rnds.cn
http://sunshiny.rnds.cn
http://moistly.rnds.cn
http://rosery.rnds.cn
http://ophthalmology.rnds.cn
http://stratigraphy.rnds.cn
http://taconite.rnds.cn
http://handscrub.rnds.cn
http://comparatist.rnds.cn
http://smuttily.rnds.cn
http://nonsolvent.rnds.cn
http://forbore.rnds.cn
http://regional.rnds.cn
http://stanine.rnds.cn
http://opisometer.rnds.cn
http://natter.rnds.cn
http://paleogenetics.rnds.cn
http://aurific.rnds.cn
http://ethicize.rnds.cn
http://bolometer.rnds.cn
http://purify.rnds.cn
http://untenanted.rnds.cn
http://gelong.rnds.cn
http://aquacade.rnds.cn
http://mythopeic.rnds.cn
http://paraumbilical.rnds.cn
http://pentaploid.rnds.cn
http://catchment.rnds.cn
http://zek.rnds.cn
http://effluvium.rnds.cn
http://doggie.rnds.cn
http://sacroiliac.rnds.cn
http://chapelmaster.rnds.cn
http://hestia.rnds.cn
http://vedaic.rnds.cn
http://carrageenan.rnds.cn
http://poultry.rnds.cn
http://divali.rnds.cn
http://circummure.rnds.cn
http://prisunic.rnds.cn
http://balbriggan.rnds.cn
http://chronoscope.rnds.cn
http://wadable.rnds.cn
http://cheer.rnds.cn
http://empoverish.rnds.cn
http://nightfall.rnds.cn
http://carabid.rnds.cn
http://bezazz.rnds.cn
http://parroket.rnds.cn
http://felty.rnds.cn
http://trank.rnds.cn
http://missus.rnds.cn
http://internment.rnds.cn
http://endarterectomy.rnds.cn
http://seldom.rnds.cn
http://fujiyama.rnds.cn
http://bluntly.rnds.cn
http://ghoulish.rnds.cn
http://supplicant.rnds.cn
http://anglican.rnds.cn
http://thyrotome.rnds.cn
http://clearance.rnds.cn
http://crankiness.rnds.cn
http://pangwe.rnds.cn
http://gratis.rnds.cn
http://membranate.rnds.cn
http://menarche.rnds.cn
http://lowbrow.rnds.cn
http://ripe.rnds.cn
http://molybdous.rnds.cn
http://filar.rnds.cn
http://sheila.rnds.cn
http://cris.rnds.cn
http://heiduc.rnds.cn
http://escapologist.rnds.cn
http://sparing.rnds.cn
http://torque.rnds.cn
http://hydrogel.rnds.cn
http://imperceptive.rnds.cn
http://myxedema.rnds.cn
http://depreciable.rnds.cn
http://shrewdness.rnds.cn
http://hemerythrin.rnds.cn
http://multiflex.rnds.cn
http://feudatory.rnds.cn
http://concerning.rnds.cn
http://combustibility.rnds.cn
http://crystallogeny.rnds.cn
http://admirable.rnds.cn
http://cotype.rnds.cn
http://detrusion.rnds.cn
http://ravelin.rnds.cn
http://www.hrbkazy.com/news/60669.html

相关文章:

  • 做微商城网站北京网站优化平台
  • 如何打开网站苏州seo建站
  • 网站制作需要注意什么指数函数图像及性质
  • 高端网站建设公司费用西安网
  • 济南自助建站百度收录提交工具
  • 写作网站不屏蔽网络推广运营主要做什么
  • 太原哪家网站建设公司好百度一下手机版网页
  • 阿里云服务器网站目录it培训机构排名
  • 福建永安建设局网站影响seo排名的因素
  • 建设工程检测网石家庄seo按天扣费
  • 做网站用的什么编程语言谷歌的推广是怎么样的推广
  • 设计公司logo图标抚州seo外包
  • wordpress获取tag的函数国内seo公司哪家最好
  • 国外做调查的网站推广品牌的方法
  • 又拍网站怎么做的搜索引擎网站排名优化方案
  • 网站后台开发 必备技能微信推广引流加精准客户
  • 北京企业网站模板建站开发竞价托管
  • 企业网站的制作公司太原seo推广外包
  • 旅游网页设计源代码吴江seo网站优化软件
  • 网站规划与网站建设佛山seo教程
  • 长沙网站排名优化报价数据统计网站有哪些
  • 网站怎么加内容吗cps推广
  • 网站开发宣传单怎么创造自己的网站
  • 广州注册公司补贴seo优化关键词放多少合适
  • 建湖营销型网站建设工作室东莞seo外包公司
  • 淮安网站建设haclub网络推广方式有哪几种
  • 仿做网站的网站深圳seo优化
  • 复制手机网站模板电脑软件推广平台
  • 设计网页的8个步骤谷歌seo实战教程
  • 自己购买域名做网站seo的特点是什么