当前位置:首页 > 服务器系统 > Centos > 正文内容

Centos 扩展磁盘大小实战 Linux 磁盘分区扩容

一二三4年前 (2022-01-06)Centos1199
yum install cloud-utils-growpart
yum install xfsprogs
LANG=en_US.UTF-8
growpart /dev/xvdb 1
resize2fs /dev/xvdb1
扫描二维码至手机访问

扫描二维码推送至手机访问。

版权声明:本文由一二三博客发布,如需转载请注明出处。

分享给朋友:

相关文章

Nginx TCP协议 多域名配置 80单独配置

1、第一步双台机器分别安装nginx2、如IP分别vim /etc/nginx/conf.d/default.conf 修改端口 去掉80域名解析IP:10.10.1.100 中转IP:9....

Centos7 mariadb 10.5集群式部署常见故障处理

Centos7 mariadb 10.5集群式部署常见故障处理

1、It may not be safe to bootstrap the cluster from this node. It was not the last one一、故障现象查看mysql错误...

Centos7 yum 安装 keepalived

1、安装epel源,方便后面安装keepalivedyum install epel-release -y2、安装keepalivedyum install keepalived -y3、常用命令开机...

Centos 同步网络时间

Centos 同步网络时间yum install ntpdate -yntpdate ntp1.aliyun.com...

CENTOS7开机自启动脚本

1、因为在centos7中/etc/rc.d/rc.local的权限被降低了,所以需要赋予其可执行权 chmod +x /etc/rc.d/rc.local 2、赋予脚本可执行...

Centos7 防火墙(firewall)常用操作

防火墙操作查看防火墙状态启动: systemctl start firewalld查看状态: systemctl status firewalld 停止:  systemctl s...