[TriLUG] Problem with LVM

Brian McCullough bdmc at bdmcc-us.com
Sat Jun 3 22:42:32 EDT 2006


On Sat, Jun 03, 2006 at 10:28:44PM -0400, T. Bryan wrote:
> 
> One other question.
> 
> Last time, I created /dev/md0 on /dev/hde1 and /dev/hdg1.  I also created an 
> LVM Physical Volume on /dev/md0, and a Volume Group on /dev/md0.  I was 

Much as I just described.


> Do I need to do anything special to get mdadm and LVM to forget about the 
> previous configuration?  I figured that I'd remove /etc/mdadm/mdadm.conf.  I 

Remove or edit.

The fdisk "automatic raid" type, along with the configuration file, is 
the signal to mdadm.


> also see, for example, /etc/lvm/backup/localvg.  If I plan to call the volume 
> group localvg, do I need to remove this file?  

This file won't really have much effect.


> Or should I be running some 
> sort of LVM command to make it forget about the previous physical and logical 
> volumes?

pvcreate will re-initialize the PV data.  vgcreate on that new PV will
take care of the rest.


> ---Tom

Brian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2229 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20060603/bd3c2c58/attachment.bin>


More information about the TriLUG mailing list