[linux-lvm] pvcreate problem

Alexander Lazarevich alazarev at hera.itg.uiuc.edu
Fri Dec 6 08:56:02 UTC 2002


I fixed the problem. I initialized the RAID 5 array, which must have
erased whatever was causing the problem. Because now my pvcreate works
just fine.

Thanks!

alex

On Thu, 5 Dec 2002, Alexander Lazarevich wrote:

> i just installed a fresh RH linux 7.3, with LVM 1, or whatever comes in
> the RH distribution.
>
> ihe first thing i'm trying to do is pvcreate on my big RAID 5 array, which
> is /dev/sdb:
>
> [root at discord root]# pvcreate /dev/sdb
> pvcreate -- ERROR: can't initialize physical volume "/dev/sdb" of volume
> group "homevg" without -ff
>
> but there is no volume group homevg:
>
> [root at discord root]# vgdisplay homevg
> vgdisplay -- volume group "homevg" not found
>
> i am able to fdisk a partition onto /dev/sdb, and then do a pvcreate on
> that partition, but i want to do a pvcreate on the whole free volume, no
> partitions! i may have made a typo before, by trying to do a pvcreate
> /dev/sdb, i instead did a vgcreate /dev/sdb. and them i might have tried
> some other crap cause it was freeking out. i rebooted so i can see the
> history, unless lvm keeps some kind of log file? i couldnt find one.
>
> i rebooted, etc. id prefer not to have to reinstall everything. how do i
> fix this problem?
>
> any ideas?
>
> thanks in advance!
>
> alex
> ---                                                        ---
>    Alex Lazarevich | Systems | Imaging Technology Group
>    alazarev at itg.uiuc.edu | (217)244-1565 | www.itg.uiuc.edu
> ---                                                        ---
>
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>





More information about the linux-lvm mailing list