diff options
author | petede <none@none> | 2007-11-27 06:17:03 -0800 |
---|---|---|
committer | petede <none@none> | 2007-11-27 06:17:03 -0800 |
commit | f2fca83a3b7a626b6271643c10939834e2cee106 (patch) | |
tree | 304462ab277e7b363eda2595c5689a220f953a67 /usr/src/lib/lvm | |
parent | 6ffef14191e9a91493e97c80892f1c4266d522aa (diff) | |
download | illumos-joyent-f2fca83a3b7a626b6271643c10939834e2cee106.tar.gz |
6627803 svm mirror upgrade still fails in snv_68 and snv_77 even after bugid 6601022 is fixed.
Diffstat (limited to 'usr/src/lib/lvm')
-rw-r--r-- | usr/src/lib/lvm/libmeta/common/meta_getdevs.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/usr/src/lib/lvm/libmeta/common/meta_getdevs.c b/usr/src/lib/lvm/libmeta/common/meta_getdevs.c index 050fa28bb0..a46991b87f 100644 --- a/usr/src/lib/lvm/libmeta/common/meta_getdevs.c +++ b/usr/src/lib/lvm/libmeta/common/meta_getdevs.c @@ -522,15 +522,18 @@ meta_get_names( /* * np can be NULL if the /dev/md namespace entries - * do not exist. This could happen on a metaset - * take due to devfsadmd not having created them. - * Therefore, with disksets and a null np, assume - * devfsadmd has not run and so tell it to run - * for the specific device that is missing. - * The call to meta_update_devtree does not return - * until the /dev/md links have been created. + * do not exist. This could have happened due to + * devfsadmd not having created them. + * Therefore assume devfsadmd has not run and tell + * it to run for the specific device that is missing. + * Ignore any error return from meta_update_devtree + * as a failure to create the device nodes will be + * picked up in the metamnumname() call. Note that + * the call to meta_update_devtree should not return + * until the /dev/md links have been created or if + * there has been a failure of some sort. */ - if (np == NULL && !metaislocalset(sp)) { + if (np == NULL) { (void) meta_update_devtree(*m_ptr); np = metamnumname(&sp, *m_ptr, ((options & PRINT_FAST) ? 1 : 0), ep); |