写了个简单的自动扩容LVM脚本
摘要:
#!/bin/bash echo "- - -" > /sys/class/scsi_host/host0/scan diskn=$(fdisk -l | grep "Disk " | grep "/dev/sd" | awk '{print $2}' | sort -r | head -1 | c 阅读全文
posted @ 2021-07-09 16:08 9394952 阅读(130) 评论(0) 推荐(0) 编辑