[linux-lvm] Re: pvcreate: possible problem near line 98 of lib/pv_get_size.c
Seth D. Alford
setha at plaza.ds.adp.com
Wed Jun 27 17:24:56 UTC 2001
On Mon, Jun 25, 2001 at 10:02:53AM -0700, Seth D. Alford wrote:
> I'm trying to install RedHat 7.1 onto a system which has no existing partitions.
> I want one of the filesystems to be an LVM volume. I modified the RH 7.1
> BOOT kernel to include an lvm-mod.o, and I managed to get the LVM binaries
> included in the ramdisk itself. When I try to run pvcreate, though, it
> gets a segmentation fault.
> The partitions which RedHat is trying to create are in /mnt/sysimage.
> Part of my installation process runs chrooted in /mnt/sysimage.
There appears to be a workaround: make sure that all the /dev/ entries
for the disk drives exist. When we do that, the problem disappears.
More information about the linux-lvm