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

建设网站广告语山东建设厅官方网站临沂

建设网站广告语,山东建设厅官方网站临沂,济南网站建设哪个好,郴州网站制作公司在哪里通常情况下#xff0c;云平台开出来的服务器只有默认的系统盘#xff0c;而数据盘需要运维人员自己挂载在数据目录#xff0c;此篇记录centos磁盘挂载的过程#xff0c;以便今后遇到类似情况便于查看。 系统版本#xff1a;centos7.9 1、查看磁盘情况#xff1a; [root…通常情况下云平台开出来的服务器只有默认的系统盘而数据盘需要运维人员自己挂载在数据目录此篇记录centos磁盘挂载的过程以便今后遇到类似情况便于查看。 系统版本centos7.9 1、查看磁盘情况 [rootxus ~]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 7.8G 0 7.8G 0% /dev tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 7.9G 17M 7.8G 1% /run tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/vda1 20G 2.4G 18G 12% / /dev/vdb1 69G 24K 66G 1% /dataext tmpfs 1.6G 0 1.6G 0% /run/user/02、查看磁盘挂载 [rootxus ~]# fdisk -l # /dev/vda已经做了分区 Disk /dev/vda: 21.5 GB, 21474836480 bytes, 41943040 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: 0x0000c4baDevice Boot Start End Blocks Id System /dev/vda1 * 2048 41929649 20963801 83 Linux# /dev/vdb已经做了分区,如果还有未分区的空间就没有下面的 /dev/vdb1 分区 Disk /dev/vdb: 75.2 GB, 75161927680 bytes, 146800640 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: 0xf8c48eecDevice Boot Start End Blocks Id System /dev/vdb1 2048 146800639 73399296 83 Linux3、分区(操作完分区步骤后就会看到步骤2的结果) [rootxus ~]# fdisk /dev/vdb 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 . Device does not contain a recognized partition tableBuilding a new DOs disklabel with disk identifier 0x774b38c4 Command (m for help): #输入n回车添加新分区如果需要更多请输入m回车看帮助Partition type:p primary (0 primary, extended, 4 free)e extended select (default p): # 输入p回车P的意思是主分区Partition number (1-4): # 输入数字1回车分区数量First sector (2048-20971519default 2048): #认回车 Using default value 2048Last sectorsectors or sizefk,M,G) (2048-419430399default 419430399): # 默认回车 Using default value 419430399 Partition 1 of type Linux and of size 200GiB is setCommand (m for help): # 输入w保存 The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks.4、格式化分区 [rootxus ~]# mkfs.ext4 /dev/vdb15、建立挂载目录 [rootxus ~]# mkdir /dataext6、挂载分区 [rootxus ~]# mount /dev/vdb1 /dataext7、设置开机自动挂载 [rootxus ~]# echo /dev/vdb1 /dataext ext4 defaults 0 0 /etc/fstab8.确认是否挂载成功 [rootxus ~]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 7.8G 0 7.8G 0% /dev tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 7.9G 17M 7.8G 1% /run tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/vda1 20G 2.4G 18G 12% / /dev/vdb1 69G 24K 66G 1% /dataext #这是挂载完的磁盘 tmpfs 1.6G 0 1.6G 0% /run/user/09、重启系统 [rootxus ~]# reboot
http://www.zqtcl.cn/news/890820/

相关文章:

  • 网站建设备案是什么ps培训班
  • 深圳网站推广优化wordpress 运行速度慢
  • 谁能给个网站谢谢发布广东建设工程信息网站
  • 网站建设用户需求分析中国加盟网
  • 建设上线网站seo关键词优化软件排名
  • 郑州手工网站建设公司企业做网站好做吗
  • 苏华建设集团网站产品营销网站
  • 郑州专业做网站的网站收录最好的方法
  • 微信小程序网站建设哪家好视频教学网站开发
  • 个人网站排行网站集约化后如何建设
  • 企业网站维护wordpress特效代码
  • 建设银行网站短信错误6次wordpress新主题去版权
  • 国外 配色网站天猫店购买交易平台
  • 网站推广广告词大全集网站和网络建设自查报告
  • 电子商务网站建设备案须知自己做的网站服务器在哪里
  • 怎样用wordpress做网站wordpress 首页判断
  • jsp做的网站效果织梦网站程序模板
  • 展示型网站设计公司网盘wordpress
  • 网站建设 保密学服装设计后悔了
  • 网站建设前端和后端网站开发所遵循的
  • 有自己域名的个人网站企业网站建设制作公司
  • 工程行业网站优化网站推广排名
  • 青岛网站建设软件下载广州app网站建设
  • 天津市建设厅官方网站qq电脑版登录
  • 贵阳手机网站建设公司辽源网站建设
  • 淄博网站设计制作wordpress 纯静态首页
  • 规划电子商务网站流程福清建设局网站简介
  • 使用joomla的网站网络营销师资格证有什么用
  • 做经营网站怎么赚钱吗关于做网站的合同
  • 上海手机网站建设哪家好重庆景点