[linux-lvm] LVM2 and RAID 1 not working on Fedora Core 2

Zachary Hamm zhamm at nc.rr.com
Thu Jul 22 19:25:09 UTC 2004


Thanks for the tip.  But "md_component_detection = 1" is already set in my
lvm.conf file.   Any other tips?  Perhaps also linked to sometimes getting
an "out of memory" message when running the user tools?

-----------------------------------
commands/toolcontext.c:139   Logging initialised at Wed Jul 21 13:48:44 2004

commands/toolcontext.c:158   Set umask to 0077
vgscan.c:51 vgscan  Wiping cache of LVM-capable devices
vgscan.c:54 vgscan  Wiping internal cache
vgscan.c:57 vgscan  Reading all physical volumes.  This may take a while...
toollib.c:414 vgscan  Finding all volume groups
toollib.c:330 vgscan  Finding volume group "vg00"
mm/pool-fast.c:224 vgscan  Out of memory.  Requested 3191341076 bytes.
format1/disk-rep.c:364 vgscan  Failed to read extents from /dev/sdb
mm/pool-fast.c:224 vgscan  Out of memory.  Requested 3191341076 bytes.
format1/disk-rep.c:364 vgscan  Failed to read extents from /dev/sdb
mm/pool-fast.c:224 vgscan  Out of memory.  Requested 3191341076 bytes.
format1/disk-rep.c:364 vgscan  Failed to read extents from /dev/sdc
vgscan.c:22 vgscan  Volume group "vg00" not found
toollib.c:330 vgscan  Finding volume group "rootvg"
vgscan.c:37 vgscan  Found volume group "rootvg" using metadata type lvm2
-------------------------------

The partition scheme on all three drives are the same:
--------------------------------------------------
# fdisk -l /dev/sda
Disk /dev/sda: 36.4 GB, 36420075008 bytes
255 heads, 63 sectors/track, 4427 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   fd  Linux raid
autodetect
/dev/sda2              14         144     1052257+  82  Linux swap
/dev/sda3             145        4427    34403197+  fd  Linux raid
autodetect
--------------------------------------------------------------




----- Original Message ----- 
From: "Patrick Caulfield" <pcaulfie at redhat.com>
To: "LVM general discussion and development" <linux-lvm at redhat.com>
Sent: Thursday, July 22, 2004 11:34 AM
Subject: Re: [linux-lvm] LVM2 and RAID 1 not working on Fedora Core 2


> On Thu, Jul 22, 2004 at 09:42:58AM -0400, Zachary Hamm wrote:
> >
> > Hello, I'm running Fedora Core 2 on a Dell Poweredge 1750 with three 36G
> > SCSI drives setup with two volumes, /boot and /, setup with software
RAID 1
> > with online spare.  This was setup at install, which reported no errors.
> > I've done a yum update as well.
> >
> > The problem is that only one of the to volume groups is recognized and
> > mirrored (/boot), as apparently vgscan does not like the the large
drives
> > (which aren't that large...).   Any help is appreciated.
> >
>
> It looks to me like you need to stop LVM looking at the "real" disks, and
make
> it only look at the MD devices.
>
> Either add a filter like "a/md*/" or add "md_component_detection = 1" to
the
> devices section of the lvm.conf file - if you're running a recent lvm2
> userspace.
>
> -- 
>
> patrick
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.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