ResultsThe microbial diversity and composition were different in the C. sativus rhizosphere from different habitats. The diversity index (Simpson index) was significantly lower in the C. sativus rhizospheric soil from Chongming (Rs_CM) and degenerative C. sativus rhizospheric soil from Chongming (RsD_CM) than in others. Linear discriminant analysis effect size results showed that differences among habitats were mainly at the order (Burkholderiales, Micrococcales, and Hypocreales) and genus (Oidiodendron and Marssonina) levels. Correlation analysis of the relative lesion area of corm rot showed that Asanoa was the most negatively correlated bacterial genus (ρ = −0.7934, p< 0.001), whereas Moniliophthora was the most negatively correlated fungal genus (ρ = −0.7047, p< 0.001). The relative lesion area result showed that C. sativus from Qiaocheng had the highest resistance, followed by Xiuzhou and Jiande. C. sativus groups with high disease resistance had abundant pathogen resistance genes, such as chitinase and β-1,3-glucanase genes, from rhizosphere microorganisms. Further, 13 bacteria and 19 fungi were isolated from C. sativus rhizosphere soils, and antagonistic activity against pathogenic F. oxysporum was observed on potato dextrose agar medium. In vivo corm experiments confirmed that Trichoderma yunnanense SR38, Talaromyces sp. SR55, Burkholderia gladioli SR379, and Enterobacter sp. SR343 displayed biocontrol activity against corm rot disease, with biocontrol efficiency of 20.26%, 31.37%, 39.22%, and 14.38%, respectively.