
centos系统
李茂超
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
fio造成内核崩溃
执行下面命令后: fio -filename=/dev/sda -direct=1 -iodepth 1 -thread -rw=randwrite -ioengine=psync -bs=4k -size=1000G -numjobs=10 -runtime=30 -group_reporting -name=rand_100write_4k kernal不会立即出现故障,但是约五六个小时...原创 2019-11-21 11:50:52 · 1220 阅读 · 0 评论 -
lvm卷删除故障记录
故障描述: 在centos7中,用lvremove,vgremove,pvremove删除lvm卷后,格式化分区重新挂载出现故障 Unit xxx.mount is bound to inactive unit dev-mapper-centos\x2dxxx 解决办法: systemctl daemon-reload ...原创 2018-08-27 17:21:52 · 1603 阅读 · 0 评论 -
centos6 桥接多vlan NAT
基础环境 外网网卡:eth0 内网网卡:eth1 1、br100,桥接vlan100,ip:172.16.100.0/24 2、br200,桥接vlan200,ip:172.16.200.0/24 配置: 1、echo 1 > /etc/sys/net/ipv4/ip_forward 2、修改/etc/sysctl.conf:添加net.ipv4.ip_forward = 1(...原创 2018-08-28 17:01:57 · 387 阅读 · 0 评论 -
CentOS7双网卡bonding
#!/bin/bash IP=$1 nmcli con add type team con-name bond1 ifname bond1 config '{"runner":{"name":"loadbalance"}}' nmcli con modify bond1 ipv4.addresses $IP/24 nmcli con modify bond1 ipv4.method manual ...原创 2018-11-06 09:43:42 · 423 阅读 · 0 评论