Login
Discover
Waves
Communities
Write
Login
Signup
Topics
#
umount
Explore topics
#umount
Global
Trending
Hot
New
Payout
Muted
Promoted
#umount
New
#umount
Follow to get notified about new posts with this tag
Get #umount by email
Follow
ningbufan
ansible
9y
使用ansible批量格式化并挂载磁盘
初始化安装elasticsearch这类集群系统的时候,往往需要批量操作大量的磁盘。可以通过ansible快速完成这类工作。 假设每台设备有10块盘(sdxxx),要挂载到/dataxxx,elasticsearch数据目录为/dataxxx/es,首先将变量写入vars/main.yaml, --- disks: /dev/sdb: /data1 /dev/sdc: /data2 /dev/sdd:
$ 0.000
1
2
Discover communities
Explore communities
Create your community