[linux-lvm] lvm with raid

James james at fr.clara.net
Wed Feb 7 16:31:30 UTC 2001


Seems to work a treat :-) (upgraded to 0.9.1 beta1)

Thanks

On Wed, 7 Feb 2001, James wrote:

> 
> Apparantly I need the latest beta, I will give a go and let you know
> 
> On Wed, 7 Feb 2001, Jean-Eric Cuendet wrote:
> 
> > 
> > > I created /dev/md0 (raid autodetect)
> > > Did a pvcreate /dev/md0
> > > lvcreate'd partitions /usr /home /var
> > 
> > I think it's because of NO "LVM linux" partition ID.
> > Your md0 partition is "RAID Auto detect" and that's normal.
> > I'm not a guru of LVM, so I have no idea of what to do, but anyone out
> > there?
> > I'm interested too in this thing.
> > It works for me to have RAID partitions in LVM because I have a mix of hda1
> > + hda2 + md0 + md1, so vgscan and vgchange works because of the "Linux LVM"
> > IDs on hda1 and hda2
> > Thanks for the GURU response.
> > 
> > -jec
> > 
> > 
> > > 
> > > copied and remounted everything.
> > > This all goes surprisingly well, until I decided to test with 
> > > a reboot.
> > > 
> > > vgscan and vgchange don't find a thing !
> > > 
> > > test:/home/james# vgscan 
> > > vgscan -- reading all physical volumes (this may take a while...)
> > > vgscan -- no volume groups found
> > > 
> > > test:/home/james# vgchange -a y
> > > vgchange -- no volume groups found
> > > 
> > > but if I try to recreate a PV 
> > > 
> > > test:/home/james# pvcreate /dev/md0
> > > pvcreate -- ERROR: can't initialize physical volume 
> > > "/dev/md0" of volume
> > > group "devlvm" without -ff
> > >  
> > > Everything is still there apparantly.
> > > 
> > > I must be missing something fundamental. Thanks fot any help 
> > > in advance.
> > > 
> > > James
> > > 
> > > 
> > > _______________________________________________
> > > linux-lvm mailing list
> > > linux-lvm at sistina.com
> > > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > > 
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm at sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> 




More information about the linux-lvm mailing list