1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Fix 'pvs -a' to detect VGs of PVs without metadata areas.

This commit is contained in:
Alasdair Kergon 2008-02-06 16:09:51 +00:00
parent bb097a97ea
commit 814d9d5bd0
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.34 - Version 2.02.34 -
=================================== ===================================
Fix 'pvs -a' to detect VGs of PVs without metadata areas.
Divide up internal orphan volume group by format type. Divide up internal orphan volume group by format type.
Update usage message for clvmd. Update usage message for clvmd.
Fix clvmd man page printing <br>, clarified debug options. Fix clvmd man page printing <br>, clarified debug options.

View File

@ -648,6 +648,11 @@ static int _process_all_devs(struct cmd_context *cmd, void *handle,
int ret_max = 0; int ret_max = 0;
int ret = 0; int ret = 0;
if (!scan_vgs_for_pvs(cmd)) {
stack;
return ECMD_FAILED;
}
if (!(iter = dev_iter_create(cmd->filter, 1))) { if (!(iter = dev_iter_create(cmd->filter, 1))) {
log_error("dev_iter creation failed"); log_error("dev_iter creation failed");
return ECMD_FAILED; return ECMD_FAILED;