重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1142|回复: 0

[基础命令] WARNING: Device for PV XXXX not found or rejected by a filter

[复制链接]
发表于 2023-11-19 19:17:39 | 显示全部楼层 |阅读模式
136546559eec36dde1.png
命令解释
vgreduce - Remove physical volume(s) from a volume group

--removemissing
Removes all missing PVs from the VG, if there are no LVs allocated on them.
This resumes normal operation of the VG (new LVs may again be created, changed and so on). If this is not possible because LVs are referencing the missing PVs, this option can be combined with --force to have the command remove any partial LVs. In this case, any LVs and dependent snapshots that were partly on the missing disks are removed completely, including those parts on disks that are still present. If LVs spanned several disks, including ones that are lost, salvaging some data first may be possible by activating LVs in partial mode.
从VG中删除所有丢失的pv(如果没有在这些pv上分配lv)。这将恢复VG的正常操作(可能会再次创建、更改新的lv等等)。如果由于lv引用了丢失的pv而无法执行此操作,则可以将此选项与--force结合使用,以使命令删除任何部分lv。在这种情况下,部分位于缺失磁盘上的所有lv和从属快照都将被完全删除,包括磁盘上仍然存在的那些部分。如果lv跨越多个磁盘,包括丢失的磁盘,则可以通过在部分模式下激活LVs来先恢复一些数据。

解决办法:
vgreduce --removemissing VG


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-6-25 17:37 , Processed in 0.110259 second(s), 24 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表