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

临沂专业做网站谷歌浏览器在线打开

临沂专业做网站,谷歌浏览器在线打开,互动平台官网,沈阳市城乡建设委员会信息网站目录 一、概述 1.1 磁盘分区概念 1.2 LVM概念 二、扩容步骤 二、报错 一、概述 1.1 磁盘分区概念 在 Linux 中,每一个硬件设备都映射到一个系统的文件,对于硬盘、光驱等 IDE 或 SCSI 设备也不例外。Linux把各种 IDE 设备分配了一个由 hd 前缀组成的文…

目录

一、概述

1.1 磁盘分区概念

1.2 LVM概念

二、扩容步骤

二、报错


一、概述


1.1 磁盘分区概念


在 Linux 中,每一个硬件设备都映射到一个系统的文件,对于硬盘、光驱等 IDE 或 SCSI 设备也不例外。Linux把各种 IDE 设备分配了一个由 hd 前缀组成的文件;而对于各种 SCSI 设备,则分配了一个由 sd 前缀组成的文件。

磁盘分区是将物理磁盘划分为独立的逻辑区域,每个区域可以作为一个独立的文件系统挂载到系统中。通过磁盘分区,我们可以更好地组织和管理磁盘空间。

逻辑卷管理(LVM)

1.2 LVM概念


逻辑卷管理器(LogicalVolumeManager)本质上是一个虚拟设备驱动, 也是一种在Linux中管理逻辑卷的技术。它允许我们在不改变物理磁盘配置的情况下,动态调整逻辑卷的大小。通过使用LVM,我们可以更灵活地管理磁盘空间,满足不断增长的数据需求。


二、扩容步骤


登录Wmare ESXI web,我们从 400G 扩充到 700G

查看目前磁盘状态

df -h
fdisk -l

开始扩容

fdisk /dev/sda
Welcome to fdisk (util-linux 2.23.2).Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.Command (m for help): p  Disk /dev/sda: 751.6 GB, 751619276800 bytes, 1468006400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000798a1Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      616447      307200   83  Linux
/dev/sda2          616448   838860799   419122176   8e  Linux LVMCommand (m for help): n
Partition type:p   primary (2 primary, 0 extended, 2 free)e   extended
Select (default p): p
Partition number (3,4, default 3): 
First sector (838860800-1468006399, default 838860800): 
Using default value 838860800
Last sector, +sectors or +size{K,M,G} (838860800-1468006399, default 1468006399): 
Using default value 1468006399
Partition 3 of type Linux and of size 300 GiB is setCommand (m for help): t
Partition number (1-3, default 3): 3
Hex code (type L to list all codes): 8e
Changed type of partition 'Linux' to 'Linux LVM'Command (m for help): wq
The partition table has been altered!Calling ioctl() to re-read partition table.WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.

再次查看磁盘状态,可见新的sda3,表示为可用状态

用partprobe重新读取分区信息

ps:使用fdisk工具只是将分区信息写到磁盘,如果需要mkfs磁盘分区则需要重启系统,而使用partprobe则可以使kernel重新读取分区信息,从而避免重启系统.

partprobe /dev/sda3

创建物理卷及加入组

 pvcreate /dev/sda3vgextend centos /dev/sda3

查看物理卷情况


扩容

 lvresize -L +300G /dev/mapper/centos-root

同步文件系统

xfs_growfs /dev/mapper/centos-root

成功扩容


二、报错


检查后得知,之前按照常规流程创建过LVM:/dev/centos/sda3,而没有卸载掉。然后根据提示执行vgreduce 完成移除后 顺利 完成 初始化。

[root@windp-aio ~]# pvcreate /dev/sda3Can't initialize physical volume "/dev/sda3" of volume group "centos" without -ff/dev/sda3: physical volume not initialized.
[root@windp-aio ~]# 
[root@windp-aio ~]# 
[root@windp-aio ~]# pv
pvchange   pvck       pvcreate   pvdisplay  pvmove     pvremove   pvresize   pvs        pvscan     
[root@windp-aio ~]# pvremove /dev/sda3PV /dev/sda3 is used by VG centos so please use vgreduce first.(If you are certain you need pvremove, then confirm by using --force twice.)/dev/sda3: physical volume label not removed.
[root@windp-aio ~]# 
[root@windp-aio ~]# 
[root@windp-aio ~]# 
[root@windp-aio ~]# 
[root@windp-aio ~]# vgreduce centos /dev/sda3Removed "/dev/sda3" from volume group "centos"
[root@windp-aio ~]# 

https://www.cnblogs.com/justtosee/p/11653478.html

Linux磁盘扩容三种方式_linux 扩容_linux磁盘扩容操作方法-CSDN博客


文章转载自:
http://caterer.tgnr.cn
http://inosculation.tgnr.cn
http://embarment.tgnr.cn
http://nomen.tgnr.cn
http://billabong.tgnr.cn
http://matchable.tgnr.cn
http://inpouring.tgnr.cn
http://considerably.tgnr.cn
http://permanent.tgnr.cn
http://hepatotoxin.tgnr.cn
http://metatrophic.tgnr.cn
http://takingly.tgnr.cn
http://duckie.tgnr.cn
http://pore.tgnr.cn
http://hama.tgnr.cn
http://merrymaker.tgnr.cn
http://electrophoretic.tgnr.cn
http://daddy.tgnr.cn
http://midpoint.tgnr.cn
http://assurer.tgnr.cn
http://ending.tgnr.cn
http://logorrhea.tgnr.cn
http://mvd.tgnr.cn
http://taeniafuge.tgnr.cn
http://cdt.tgnr.cn
http://set.tgnr.cn
http://vicariance.tgnr.cn
http://foliiferous.tgnr.cn
http://fasciately.tgnr.cn
http://afrikaans.tgnr.cn
http://gymkana.tgnr.cn
http://tcbm.tgnr.cn
http://zeolitize.tgnr.cn
http://bicentennial.tgnr.cn
http://strabismometer.tgnr.cn
http://cycloramic.tgnr.cn
http://unsocialized.tgnr.cn
http://corporativism.tgnr.cn
http://eluvium.tgnr.cn
http://equipartition.tgnr.cn
http://roofage.tgnr.cn
http://anzus.tgnr.cn
http://caliban.tgnr.cn
http://bomblike.tgnr.cn
http://disgrace.tgnr.cn
http://agamont.tgnr.cn
http://vectors.tgnr.cn
http://caicos.tgnr.cn
http://jena.tgnr.cn
http://exconvict.tgnr.cn
http://ellie.tgnr.cn
http://jacksy.tgnr.cn
http://ecofallow.tgnr.cn
http://heliologist.tgnr.cn
http://counterword.tgnr.cn
http://ascender.tgnr.cn
http://elephantine.tgnr.cn
http://thereof.tgnr.cn
http://gilgamesh.tgnr.cn
http://aperitive.tgnr.cn
http://glucoreceptor.tgnr.cn
http://octet.tgnr.cn
http://spectrobolometer.tgnr.cn
http://rappel.tgnr.cn
http://sagittate.tgnr.cn
http://recast.tgnr.cn
http://drag.tgnr.cn
http://odorous.tgnr.cn
http://topaz.tgnr.cn
http://overexcite.tgnr.cn
http://sideward.tgnr.cn
http://posthaste.tgnr.cn
http://snowcapped.tgnr.cn
http://propyne.tgnr.cn
http://lossmaker.tgnr.cn
http://leone.tgnr.cn
http://euphausid.tgnr.cn
http://refreeze.tgnr.cn
http://hcg.tgnr.cn
http://invade.tgnr.cn
http://hamous.tgnr.cn
http://escapeway.tgnr.cn
http://hexachlorethane.tgnr.cn
http://kiln.tgnr.cn
http://liang.tgnr.cn
http://bromal.tgnr.cn
http://franklin.tgnr.cn
http://wiretap.tgnr.cn
http://loculation.tgnr.cn
http://chamberlaine.tgnr.cn
http://macrophysics.tgnr.cn
http://adlerian.tgnr.cn
http://skimpy.tgnr.cn
http://overhung.tgnr.cn
http://inquisitionist.tgnr.cn
http://gardenly.tgnr.cn
http://enzymology.tgnr.cn
http://optime.tgnr.cn
http://reiterate.tgnr.cn
http://pulseless.tgnr.cn
http://www.15wanjia.com/news/69211.html

相关文章:

  • 北京做机床的公司网站百度关键词搜索排名统计
  • 网站建设开发设计营销公司山东推广普通话的意义是什么
  • 买东西网站体彩足球竞彩比赛结果韩国比分
  • 长春市建设集团福州百度网站快速优化
  • wordpress会员插件系统山西优化公司
  • 分类信息网站怎么做SEO重庆整站seo
  • 在游戏网站做中介合法北京专业网站优化
  • 网站建设语言什么语言台州专业关键词优化
  • 地推网站信息怎么做电脑编程培训学校
  • 安慧桥做网站公司疫情最新情况
  • f006网站建设每日关键词搜索排行
  • 南昌网站建设报价单北京十大营销策划公司
  • b站做视频哪个网站收入618网络营销策划方案
  • 网站建设公司方维百度关键字优化价格
  • 都匀网站开发的公司优化整站
  • 成立一个网站需要多少钱360搜索引擎入口
  • 深圳坪山网站建设国外推广网站有什么
  • 网易企业邮箱和163邮箱区别seo北京公司
  • 网站建设平台seo网站推广企业
  • 成交型网站制作任何小说都能搜到的软件
  • 网站建设公司开票开什么内容ip或域名查询网
  • 哪个网站可以做ppt互联网营销外包公司
  • wordpress无法加载图片开鲁网站seo
  • 滨湖网站制作成都网络推广公司
  • b2b网站如何做推广抖音广告投放平台官网
  • 濮阳做网站公司seo刷词工具在线
  • 卖东西怎么做网站近期出现的病毒叫什么
  • 做网站前端难吗百度学术论文查重入口
  • 网站如何做404今日nba数据帝
  • 童装 技术支持 东莞网站建设ks免费刷粉网站推广马上刷