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

RE: [linux-lvm] lvm with raid

> 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
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.


> 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 sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

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