[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: LVM problem - mounting old lvm with same name



On Tue, 2005-06-21 at 16:45 +0100, Alasdair G Kergon wrote:
> On Sat, Jun 18, 2005 at 11:09:59AM -0500, John Bray wrote:
> > i did a clean install on a new disk for fc4.
> > i need to mount my old fc3 disk and get some of the data off.
>  
> > but both, of course, are marked VolGroup00.  and because of this, i
> > can't mount hdb2.
>  
> > what am i missing here?  how do i handle this?
>  
> Edit lvm.conf to hide the old disk. [with a filters line]
> 
> Then you can add the disk to the machine and lvm will ignore it.
> 
> Create a temporary 'lvm' directory somewhere else and copy
> lvm.conf into it and reverse the filter so it *only* looks
> at your old disk.
> 
> Set environment variable LVM_SYSTEM_DIR to your temp dir.
> and run 'vgrename' to change the name of the VG.
> 
> Then get rid of the environ var & the temp dir and reset
> the filter in lvm.conf so it sees everything again.
> 
> Alasdair

thanks Alasdair!  your information is VERY much appreciated!


john


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]