![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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_4kkernal不会立即出现故障,但是约五六个小时...原创 2019-11-21 11:50:52 · 1036 阅读 · 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 · 1355 阅读 · 0 评论 -
centos6 桥接多vlan NAT
基础环境外网网卡:eth0内网网卡:eth11、br100,桥接vlan100,ip:172.16.100.0/242、br200,桥接vlan200,ip:172.16.200.0/24配置:1、echo 1 > /etc/sys/net/ipv4/ip_forward2、修改/etc/sysctl.conf:添加net.ipv4.ip_forward = 1(...原创 2018-08-28 17:01:57 · 323 阅读 · 0 评论 -
CentOS7双网卡bonding
#!/bin/bashIP=$1nmcli con add type team con-name bond1 ifname bond1 config '{"runner":{"name":"loadbalance"}}'nmcli con modify bond1 ipv4.addresses $IP/24nmcli con modify bond1 ipv4.method manual...原创 2018-11-06 09:43:42 · 382 阅读 · 0 评论