我是 LVM 新手,但仍然不知道删除故障磁盘/PV 的最佳实践是什么?例如:我有一个精简池my_volume_group/my_lv
。我从 raid 控制器中删除了一个磁盘 (/dev/sde),lvm 给出了以下警告:
WARNING: Couldn't find device with uuid QHOWyk-Ofjr-jnqU-iF7i-YqSJ-BeI4-UpqeI7.
WARNING: VG my_volume_group is missing PV QHOWyk-Ofjr-jnqU-iF7i-YqSJ-BeI4-UpqeI7 (last written to [unknown]).
我试过:
vgreduce --removemissing --force my_volume_group
Logical volume my_volume_group/res0_00000 is used by another device.
然后我删除该节点中的资源 res0,然后重试:
vgreduce --removemissing --force my_volume_group
Cannot activate my_volume_group/my_lv_tdata: pool incomplete.
Failed to suspend my_volume_group/my_lv with queued messages.
Failed to update pool my_volume_group/my_lv.
现在我不知道如何摆脱这种情况。