存储映射到主机的disk直接删除后无法删除vg
存储映射到主机的disk,建了一些vg,但是现在直接从san交换机上去掉了映射,主机已经扫描这些disk已经是fail状态,但是vg没有删除,如何删除vg,而且rmdev -l hdiskn时无法删除,提示资源繁忙。
# varyoffvg datavg2
0516-062 lqueryvg: Unable to read or write logical volume manager
record. PV may be permanently corrupted. Run diagnostics
0516-012 lvaryoffvg: Logical volume must be closed. If the logical
volume contains a filesystem, the umount command will close
the LV device.
0516-942 varyoffvg: Unable to vary off volume group datavg2.
#rmdev -l hdisk9
Method error (/etc/methods/ucfgdevice):
0514-062 Cannot perform the requested function because the
specified device is busy.