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

外贸网站推广平台蓝颜seo牛网站建设中所涉及的所有链接建设

外贸网站推广平台蓝颜seo牛,网站建设中所涉及的所有链接建设,千鸟云网站建设,太原市建设工程交易中心网站环境准备系统环境#xff1a;EVE-PRO-VM-2.0.4-20前期是使用ova导入安装#xff0c;精简置备#xff0c;40G虚拟磁盘容量。空间不足#xff0c;尝试了很久#xff0c;记录操作记录如下#xff1a;血泪教训#xff1a;操作不当有可能引起数据丢失#xff0c;需要提前备份…环境准备系统环境EVE-PRO-VM-2.0.4-20前期是使用ova导入安装精简置备40G虚拟磁盘容量。空间不足尝试了很久记录操作记录如下血泪教训操作不当有可能引起数据丢失需要提前备份数据备份镜像备份lab1. 关机状态下编辑EVE虚拟机将虚拟磁盘容量从40G扩展至200G扩展完毕之后会提示磁盘已成功扩展您必须从客户及操作系统内部对磁盘重新进行分区和扩展文件系统。注意无法扩展具有快照的虚机中的磁盘必须删除快照2. EVE系统层面对磁盘重新分区 操作之前 rooteve-ng:~# df -hFilesystem Size Used Avail Use% Mounted onudev 3.9G 0 3.9G 0% /devtmpfs 799M 27M 773M 4% /run/dev/mapper/eve--ng--vg-root 38G 17G 20G 46% / 记住这个卷名称tmpfs 3.9G 0 3.9G 0% /dev/shmtmpfs 5.0M 0 5.0M 0% /run/locktmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup/dev/sda1 472M 83M 365M 19% /bootrooteve-ng:~#rooteve-ng:~#建议备份 /etc/fstab 之前遇到虚拟机重启后 eve--ng--vg-root 这个逻辑卷从 fstab 中消失。 查看磁盘分区情况 rooteve-ng:~# fdisk -l......Disk /dev/sda: 200 GiB, 214748364800 bytes, 419430400 sectorsUnits: sectors of 1 * 512 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0x3e3ca055Device Boot Start End Sectors Size Id Type/dev/sda1 * 2048 999423 997376 487M 83 Linux/dev/sda2 1001470 83884031 82882562 39.5G 5 Extended/dev/sda5 1001472 83884031 82882560 39.5G 8e Linux LVMDisk /dev/mapper/eve--ng--vg-root: 38.6 GiB, 41406169088 bytes, 80871424 sectorsUnits: sectors of 1 * 512 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mapper/eve--ng--vg-swap_1: 980 MiB, 1027604480 bytes, 2007040 sectorsUnits: sectors of 1 * 512 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesrooteve-ng:~#开始磁盘分区操作rooteve-ng:~# fdisk /dev/sdaWelcome to fdisk (util-linux 2.27.1).Changes will remain in memory only, until you decide to write them.Be careful before using the write command.Command (m for help): n 创建新分区Partition typep primary (1 primary, 1 extended, 2 free)l logical (numbered from 5)Select (default p): pPartition number (3,4, default 3): 3First sector (999424-419430399, default 999424): 83884032 sda3的First sector sda2的end sector 1Last sector, sectors or size{K,M,G,T,P} (83884032-419430399, default 419430399):Created a new partition 3 of type Linux and of size 160 GiB. 修改分区类型(与sda5保持一致可选) Command (m for help): tPartition number (1-3,5, default 5): 3Partition type (type L to list all types): 8eChanged type of partition Linux to Linux LVM.Command (m for help): pDisk /dev/sda: 200 GiB, 214748364800 bytes, 419430400 sectorsUnits: sectors of 1 * 512 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0x3e3ca055Device Boot Start End Sectors Size Id Type/dev/sda1 * 2048 999423 997376 487M 83 Linux/dev/sda2 1001470 83884031 82882562 39.5G 5 Extended/dev/sda3 83884032 419430399 335546368 160G 8e Linux LVM/dev/sda5 1001472 83884031 82882560 39.5G 8e Linux LVMPartition table entries are not in disk order.Command (m for help): w 写入磁盘分区表The partition table has been altered.Calling ioctl() to re-read partition table.Re-reading the partition table failed.: Device or resource busyThe 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).rooteve-ng:~#此时可以进行选择使用 fdisk 工具只是将分区信息写到磁盘如果需要 mkfs 磁盘分区则需要重启系统而使用 partprobe 则可以使 kernel 重新读取分区信息从而避免重启系统。rooteve-ng:~# partprobe3. 初始化物理卷(可选)rooteve-ng:~# pvscanPV /dev/sda5 VG eve-ng-vg lvm2 [39.52 GiB / 0 free]Total: 1 [39.52 GiB] / in use: 1 [39.52 GiB] / in no VG: 0 [0 ]rooteve-ng:~#rooteve-ng:~# pvcreate /dev/sda3Physical volume /dev/sda3 successfully createdrooteve-ng:~#rooteve-ng:~# pvscanPV /dev/sda5 VG eve-ng-vg lvm2 [39.52 GiB / 0 free]PV /dev/sda3 lvm2 [160.00 GiB]Total: 2 [199.52 GiB] / in use: 1 [39.52 GiB] / in no VG: 1 [160.00 GiB]rooteve-ng:~#pvcreate命令 用于将物理硬盘分区初始化为物理卷以便LVM使用。4. 扩展逻辑卷空间 操作之前查看当前卷组属性 rooteve-ng:~# vgdisplay--- Volume group ---VG Name eve-ng-vg 记录卷组名称......VG Size 39.52 GiB......VG UUID EvwUbc-nfsg-dHqA-znxB-U3gv-V782-Q8ZxkIrooteve-ng:~# 向卷组中添加物理卷 rooteve-ng:~# vgextend eve-ng-vg /dev/sda3Volume group eve-ng-vg successfully extendedrooteve-ng:~#rooteve-ng:~# vgdisplay--- Volume group ---VG Name eve-ng-vgSystem IDFormat lvm2Metadata Areas 2Metadata Sequence No 4VG Access read/writeVG Status resizableMAX LV 0Cur LV 2Open LV 2Max PV 0Cur PV 2Act PV 2VG Size 199.52 GiBPE Size 4.00 MiBTotal PE 51077Alloc PE / Size 10117 / 39.52 GiBFree PE / Size 40960 / 160.00 GiBVG UUID EvwUbc-nfsg-dHqA-znxB-U3gv-V782-Q8ZxkIrooteve-ng:~#此时查看 pvscan 不在 VG 中的物理卷空间为 0rooteve-ng:~# pvscanPV /dev/sda5 VG eve-ng-vg lvm2 [39.52 GiB / 0 free]PV /dev/sda3 VG eve-ng-vg lvm2 [160.00 GiB / 160.00 GiB free]Total: 2 [199.52 GiB] / in use: 2 [199.52 GiB] / in no VG: 0 [0 ]rooteve-ng:~#接下来扩展逻辑卷空间 操作之前检查当前逻辑卷属性 rooteve-ng:~# lvdisplay--- Logical volume ---LV Path /dev/eve-ng-vg/root 记录LV Path......LV Size 38.56 GiB......--- Logical volume ---LV Path /dev/eve-ng-vg/swap_1......rooteve-ng:~#rooteve-ng:~#rooteve-ng:~# lvextend -l 100%FREE /dev/eve-ng-vg/rootSize of logical volume eve-ng-vg/root changed from 38.56 GiB (9872 extents) to 198.56 GiB (50832 extents).Logical volume root successfully resized.rooteve-ng:~#rooteve-ng:~# lvdisplay--- Logical volume ---LV Path /dev/eve-ng-vg/rootLV Name rootVG Name eve-ng-vgLV UUID ktUpR0-VpqS-rJJv-a1FC-u6Gd-U8yN-2WYQ53LV Write Access read/writeLV Creation host, time eve-ng, 2018-03-21 02:25:21 0200LV Status available# open 1LV Size 198.56 GiBCurrent LE 50832Segments 2Allocation inheritRead ahead sectors auto- currently set to 256Block device 253:0--- Logical volume ---LV Path /dev/eve-ng-vg/swap_1LV Name swap_1VG Name eve-ng-vgLV UUID oFbeHd-xHkl-cpe1-22Nx-xX73-xLJF-fJKrXKLV Write Access read/writeLV Creation host, time eve-ng, 2018-03-21 02:25:21 0200LV Status available# open 2LV Size 980.00 MiBCurrent LE 245Segments 1Allocation inheritRead ahead sectors auto- currently set to 256Block device 253:1rooteve-ng:~#最后执行 resize2fs 重新计算文件系统大小rooteve-ng:~# resize2fs /dev/eve-ng-vg/rootresize2fs 1.42.13 (17-May-2015)Filesystem at /dev/eve-ng-vg/root is mounted on /; on-line resizing requiredold_desc_blocks 3, new_desc_blocks 13The filesystem on /dev/eve-ng-vg/root is now 52051968 (4k) blocks long.rooteve-ng:~#rooteve-ng:~# df -hFilesystem Size Used Avail Use% Mounted onudev 3.9G 0 3.9G 0% /devtmpfs 799M 27M 773M 4% /run/dev/mapper/eve--ng--vg-root 196G 17G 171G 9% /tmpfs 3.9G 0 3.9G 0% /dev/shmtmpfs 5.0M 0 5.0M 0% /run/locktmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup/dev/sda1 472M 83M 365M 19% /bootrooteve-ng:~#2020年3月删除之前博客内容整理扩展LVM卷的内容eve-ng操作技巧后面单独整理一篇本文由 SHIYL 创作采用 知识共享署名4.0 国际许可协议进行许可本站文章除注明转载/出处外均为本站原创或翻译转载前请务必署名最后编辑时间为: Mar 26, 2020 at 11:06 am
http://wiki.neutronadmin.com/news/10902/

相关文章:

  • 自己做免费手机网站专业网站运营设计
  • 优化排名对网站不好中英繁网站源码
  • 密云建设网站公司国内做网站好的公司
  • 网站建设与文字的工作广州网站建设乐云seo
  • 陈村网站开发wordpress 2017
  • 建设网站的价格是多少钱免费网站正能量软件
  • 网站建设每年需要交多少钱wordpress博客导出
  • iis 发布asp网站西安网站建设网站推广
  • 帮别人做网站维护违法上海市工程建设
  • 深圳外贸网站建设公司价格投资理财网站建设规划书
  • 做课题的网站有多少是备案的哪个网站做照片书最好
  • 石家庄网站排名优化哪家好广州门户网站制作公司
  • 文化类网站是不是休闲娱乐类网站网站原创内容优化
  • 建立网站要多少钱专业的网站建设多少钱
  • 厦工品牌网站设计360做网站吗
  • 虚拟服务器和如何创建网站专业的设计网站有哪些
  • 网站后台如何做下载连接本地营销型网站建设
  • 网站做支付宝接口江苏省城乡建设网站
  • 广东网站备案网络营销就是网上消售吗
  • 网站开发课程改革wordpress修改生效
  • wordpress mofileseo外链优化方法
  • wordpress的vps建站流程百度地图关键词优化
  • 网站 语言选择网站建设全程揭秘pdf
  • 校园网站建设特色怎么做网站二维码
  • 网站页面设计稿线上推广方法
  • 门户网站建设要求目前做啥网站致富
  • app网站如何做推广方案cms建站系统开源
  • 北京的电商平台网站有哪些内容网络推广员每天的工作是什么
  • 淄博做网站wordpress纯代码屏蔽谷歌字体
  • 可以做网站吗wordpress列表分页