On Wed, Jun 17 2009 at 10:27am -0400, liam@landv.org.uk <liam@landv.org.uk> wrote: > I've had a closer look at the vgimportclone script and I think the fix for the > lost filter is very straight forward. The errors are coming out of the final > vgscan and it seems to be caused by the LVM_SYSTEM_DIR variable being set to an > empty string rather than being unset. So I made the following change and it seemed > to fix the errors... > > 327,333c327 > < > < if [[ -z ${ORIG_LVM_SYS_DIR} ]] > < then > < unset LVM_SYSTEM_DIR > < else > < LVM_SYSTEM_DIR=${ORIG_LVM_SYS_DIR} > < fi > --- > > LVM_SYSTEM_DIR=${ORIG_LVM_SYS_DIR} > > I'm not sure if this change causes any issues but I'd be suprised. Liam, Looks good, I've committed your fix along with various other fixes to vgimportclone. Thanks, Mike _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/