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

贵州网站制作公司电话企业网站搭建程序

贵州网站制作公司电话,企业网站搭建程序,批量 网站标题,花店网站源码场景#xff1a;一块5T的GPT盘#xff0c;现有需求再加10T#xff0c; 在虚拟化平台加10T盘后#xff0c;机器不重启#xff0c;执行命令 echo 1 /sys/block/sdb/device/rescan刷新磁盘容量#xff0c;可看到容量已刷出。 但执行fdisk /dev/sdb时#xff0c;发现创…场景一块5T的GPT盘现有需求再加10T 在虚拟化平台加10T盘后机器不重启执行命令 echo 1 /sys/block/sdb/device/rescan刷新磁盘容量可看到容量已刷出。 但执行fdisk /dev/sdb时发现创建不了逻辑分区且默认选项的分区大小还是跟以前一样无变化 切换使用parted命令来进行分区碰到如下报错 [rootLVFS-BB59CC ~]# parted /dev/sdb GNU Parted 3.1 Using /dev/sdb Welcome to GNU Parted! Type help to view a list of commands. (parted) p Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)? Fix/Ignore/Cancel? Fix Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 21474836480 blocks) or continue with the current setting? Fix/Ignore? Fix Model: VMware Virtual disk (scsi) Disk /dev/sdb: 16.5TB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags:Number Start End Size File system Name Flags1 1049kB 5498GB 5498GB primary报错原因是 说明 Error: The backup GPT table is not at the end of the disk, as it should be.  This might mean that another operating system believes the disk is smaller.  Fix, by moving the backup to the end (and removing the old backup)? GPT分区表信息存储在磁盘开头为了减少分区表损坏的风险同时在磁盘末尾会备份一份。当磁盘容量扩大后末尾位置也会随之变化因此需要根据系统提示输入“Fix”将分区表信息的备份文件挪到新的磁盘末尾位置。 修复之后正常打印无问题然后创建第二个分区并将新增容量全部给它 Model: VMware Virtual disk (scsi) Disk /dev/sdb: 16.5TB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags:Number Start End Size File system Name Flags1 1049kB 5498GB 5498GB primary(parted) mkpart primary 5499G 100% (parted) p Model: VMware Virtual disk (scsi) Disk /dev/sdb: 16.5TB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags:Number Start End Size File system Name Flags1 1049kB 5498GB 5498GB primary2 5499GB 16.5TB 11.0TB primary 可以看到已经成功分区了执行quit退出parted 查看分区可以看到sdb2有了 [rootLVFS-BB59CC ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 6T 0 disk ├─sda1 8:1 0 2M 0 part ├─sda2 8:2 0 2G 0 part /boot └─sda3 8:3 0 2T 0 part├─centos-root 253:0 0 12T 0 lvm /└─centos-swap 253:1 0 8G 0 lvm [SWAP] sdb 8:16 0 15T 0 disk ├─sdb1 8:17 0 5T 0 part │ └─centos-root 253:0 0 12T 0 lvm / └─sdb2 8:18 0 10T 0 part sdc 8:32 0 5T 0 disk └─centos-root 253:0 0 12T 0 lvm / sr0 11:0 1 1024M 0 rom最终扩容将新增10T空间划给根分区 [rootLVFS-BB59CC ~]# vgsVG #PV #LV #SN Attr VSize VFreecentos 3 2 0 wz--n- 12.00t 0 [rootLVFS-BB59CC ~]# vgextend centos /dev/sdb2Physical volume /dev/sdb2 successfully created.Volume group centos successfully extended [rootLVFS-BB59CC ~]# lvextend -l 100%FREE /dev/mapper/centos-rootSize of logical volume centos/root changed from 11.99 TiB (3143165 extents) to 21.99 TiB (5764260 extents).Logical volume centos/root successfully resized. [rootLVFS-BB59CC ~]# xfs_growfs /dev/mapper/centos-root meta-data/dev/mapper/centos-root isize512 agcount101, agsize32112384 blks sectsz512 attr2, projid32bit1 crc1 finobt0 spinodes0 data bsize4096 blocks3218600960, imaxpct25 sunit0 swidth0 blks naming version 2 bsize4096 ascii-ci0 ftype1 log internal bsize4096 blocks62719, version2 sectsz512 sunit0 blks, lazy-count1 realtime none extsz4096 blocks0, rtextents0 data blocks changed from 3218600960 to 5902602240 [rootLVFS-BB59CC ~]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 7.9G 0 7.9G 0% /dev tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 7.9G 8.9M 7.9G 1% /run tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/mapper/centos-root 22T 12T 11T 53% / /dev/sda2 2.0G 137M 1.9G 7% /boot tmpfs 1.6G 0 1.6G 0% /run/user/0
http://www.pierceye.com/news/614372/

相关文章:

  • 网站建设手机软件黄页88收费吗
  • 郑州网站建设多少钱wordpress分享获得积分
  • 贵阳网站设计模板建设工程监理招标网站
  • 上海专业的网页设计公司百度推广优化怎么做的
  • 河南城乡建设厅网站wordpress 主题 字体
  • 网站编辑的工作内容深圳网站设计公司有哪些
  • 设计深圳网站制作网站建设及维护招聘
  • 网站开发实训新的体会wordpress防止机器人注册
  • 购买的网站如何换背景自建网站如何被百度收录
  • 国外外贸网站手机销售网站制作
  • 海外永久网站众车网是哪家公司网站
  • 上海 网站开发 兼职布吉建设网站
  • 做网站资金来源是什么wordpress模版sns
  • 聊城wap网站建设如何分析网站竞争对手
  • 卓业网站建设flash 网站 收费
  • 两学一做 答题 网站自己做网站买东西
  • 深圳哪家公司做网站好购物网站开发问题域分析
  • 简单个人网站wordpress插件查询
  • 上海做网站搜索一下马来西亚的网站建设的竞争对手的分析
  • 建站优化易下拉系统163邮箱登录注册
  • c 做网站电子商务平台中搜索词拆解包括
  • 腾讯云10g数字盘做网站够么四川省建设人才网
  • 批量 网站标题中海园林建设有限公司网站
  • 鲜花网站数据库建设免费律师咨询
  • 团队网站建设哪家便宜制作公司网站流程
  • 青龙桥网站建设企业网页是什么
  • 上海网站建设备案号怎么恢复法律咨询网站开发
  • 烟台做网站价格动力网站建设
  • 北戴河网站建设墨刀制作网页教程
  • 成都网站设计开发做得好微信商城怎么开发