Doh....gmail didn't send my reply to the list.

Hopefully this information will help someone else.

--
David Miller

---------- Forwarded message ----------
From: David Miller <[EMAIL PROTECTED]>
Date: May 31, 2005 9:29 PM
Subject: Re: [gentoo-server] LVM2 issues
To: [EMAIL PROTECTED]


Ben,
  Thanks.  I found an answer to this on redhat's lvm list.  The
problem is a result of mixed up partitioning.  In my case I had
created LVM partitions on the devices in the partition table and had
added the entire device to the volume group rather than the partition.
 But this unused partition in the partition table is confusing the
newer version of the device-mapper or LVM2.  According to this post
removing the partition tables from the devices should straighten this
problem up.  https://www.redhat.com/archives/linux-lvm/2005-April/msg00019.html

Hopefully this post will help someone else who finds themself in the
same situation.

  I'm in the process now of moving my PV's from one raid controller to
another so I plan to re-add them to the VG using the partition that I
created just to make things clearer as I add them to my VG again..

-David


On 5/31/05, Benjamin Smee <[EMAIL PROTECTED]> wrote:
> lo,
>
> On Tuesday 31 May 2005 17:49, David Miller wrote:
> >    I've been running LVM2 now for some time but recently I have not
> > been able to update device-mapper or lvm2 without vgscan failing to
> > find all the pv's.  So I'm stuck using lvm2-2.00.25 and device-mapper
> > 1.00.19-r2.
> >    Now one thing to note is that a few of my pv's were added as the
> > entire device rather than a partition.  Could this be throwing a newer
> > version for a loop since it may first be looking for an LVM partition
> > before looking for a vg metadata?  Or have I just overlooked something
> > that I need to do in order to migrate my current vg's up to the newer
> > versions?
>
> There is nothing that you need to do to "migrate" your lvm2 partitions to a
> newer format, whatever problem that you have will be something local not
> generic as many people are successfully using the latest versions of both
> with no problems. You could start off running the vgscan in debug mode and
> letting us know the relevant output, and if that fails try running it with a
> strace or similar util to see precisely what is happening. Other pertinant
> questions are things like, are you using udev? with persistant devices (ie
> the tarball option in the rc.conf) what version of baselayout are you using,
> do you have devfs enabled?
>
> regards,
>
> --
> Benjamin Smee (strerror)
> 497F 5E98 1FA0 C313 EA0B 08C7 004A 66ED 448B E78C
>
>
>

-- 
[email protected] mailing list

Reply via email to