Re: Have to wipe LVM after repeated reinstall

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

 



Nope. In our case I suspect its because at least one of the new
partitions lined up with an old one and the LVM superblock was still
present so pvscan picked it up. In addition there are issues with
clearpart see

http://lists.us.dell.com/pipermail/linux-poweredge/2006-October/027974.html


Greg

On Wed, 2007-01-10 at 12:57 +0900, John Summerfield wrote:
> Christopher Boumenot wrote:
> > Greetings,
> > 
> > I have been noticing a problem with anaconda when repeatedly installing 
> > a server with a disk configuration involving LVM.  Anaconda will fail 
> > because it cannot create the volume group VolumeGroup00.  After looking 
> > at the disk, it is clear why - the volume group still exists.  To get 
> > around this I wrote a simple %pre script that destroys all PGs, VGs, and 
> > LVs it knows about.  A copy of that script may be found at the bottom of 
> > this email.  Is this the correct solution, or should Anaconda be 
> > handling this?  I have verified this behavior on RHEL 4u2, and CentOS 4u4.
> 
> Doesn't clearpart work?
> 
> 
> 
-- 
Greg Dickie
just a guy
Maximum Throughput


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux