一. 查看多路径状态,确认本地存在需要做lvm的多路径磁盘

二. Fdisk创建分区,转换成lvm类型,完成后 w 保存退出

如果遇到以下错误,重新加载多路径即可
错误:
WARNING: Re-reading the partition table failed with error 22: 无效的参数.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpar

本文档详细介绍了如何在Linux环境下将多路径磁盘创建为LVM,包括查看多路径状态、创建分区、处理创建过程中的错误、创建物理卷、卷组以及逻辑卷,并对磁盘进行格式化和挂载。
最低0.47元/天 解锁文章
888





