1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-10-29 16:23:49 +03:00

Cope with new devices appearing by rescanning /dev if a uuid can't be found.

This commit is contained in:
Alasdair Kergon
2005-03-08 13:46:17 +00:00
parent e0bdde3630
commit 851a2bf855
11 changed files with 20 additions and 18 deletions

View File

@@ -1185,7 +1185,7 @@ static int _pv_read(const struct format_type *fmt, const char *pv_name,
/* Perform full scan and try again */
if (!memlock()) {
lvmcache_label_scan(fmt->cmd, 1);
lvmcache_label_scan(fmt->cmd, 2);
if (info->vginfo && info->vginfo->vgname &&
*info->vginfo->vgname &&