[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[linux-lvm] Re: Exposing the same VG from two different disks
- From: Mike Snitzer <snitzer redhat com>
- To: liam landv org uk
- Cc: linux-lvm redhat com
- Subject: [linux-lvm] Re: Exposing the same VG from two different disks
- Date: Wed, 17 Jun 2009 11:48:45 -0400
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]