mongodb预先分配数据文件,避免出现客户端超时 #!/bin/bash for i in {1..5} do echo $i head -c 120000000 /dev/zero > test.$i done