5.2.3. 防止在物理卷中进行分配
您可以使用
pvchange 命令防止在一个或者多个物理卷的剩余空间进行物理扩展分配。这在出现磁盘错误或者要删除物理卷时是很必要的。
The following command disallows the allocation of physical extents on
/dev/sdk1.
pvchange -x n /dev/sdk1
# pvchange -x n /dev/sdk1
您还可以使用
pvchange 命令的 -xy 参数来允许在之前禁止进行分配的地方分配扩展。