Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2019 20:06:04 +0000
From:      Harry Newton <harry@yewbarrow.net>
To:        Gary Palmer <gpalmer@freebsd.org>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: geom_linux_lvm
Message-ID:  <CAKAm69HYLF2P_%2B7WyEaGws%2B_9wP1%2B5WVt%2BKCM1pdV4UMncorKA@mail.gmail.com>
In-Reply-To: <20190208200027.GC44858@in-addr.com>
References:  <CAKAm69H4nEVgCo06BPP8dEDkNQUMJKaYBhYmvMRXNii1NXZmkw@mail.gmail.com> <20190207142545.GA44858@in-addr.com> <CAKAm69EusDQzf%2BVWipfjnPxDHL3-NiRLpTPGjFuCdBMENnkwrg@mail.gmail.com> <20190208191926.GB44858@in-addr.com> <CAKAm69HTnHVJPdGJ68bJS0nursBY0bqHgARWBCWmPajkEGLkOw@mail.gmail.com> <20190208200027.GC44858@in-addr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ahh.  gpart_gpt *is* compiled in, so unfortunately back to square one.

If I look in the logs, there's plenty of debug information from GEOM_RAID
and GEOM_LABEL but nothing about LVM.



On Fri, 8 Feb 2019 at 20:00, Gary Palmer <gpalmer@freebsd.org> wrote:

> On Fri, Feb 08, 2019 at 07:46:46PM +0000, Harry Newton wrote:
> > There's a single gpt partition of type *Linux RAID* on each disk.
> > geom_part_gpt is apparently already in the kernel, according to kldload
> > geom_part_gpt, but doesn't appear in the list returns by kldstat and I
> > don't have GEOM_PART_GPT in my kernconf.
> >
> > I'll rebuild the kernel with GEOM_PART_GPT and retry.
> >
> > Thanks for steer.
> >
> > /Harry
> >
> >
> > On Fri, 8 Feb 2019 at 19:19, Gary Palmer <gpalmer@freebsd.org> wrote:
> >
> > > On Fri, Feb 08, 2019 at 06:58:56PM +0000, Harry Newton wrote:
> > > >  Name Status Components
> > > > da0p1     OK da0
> > > >
> > > > and the same for da1.
> > > >
> > > >
> > > > On Thu, 7 Feb 2019 at 14:25, Gary Palmer <gpalmer@freebsd.org>
> wrote:
> > > >
> > > > > On Thu, Feb 07, 2019 at 05:36:03AM +0000, Harry Newton wrote:
> > > > > > Trying to read a Linux raid array ( as per
> > > > > > https://wiki.archlinux.org/index.php/Software_RAID_and_LVM )
> which
> > > I can
> > > > > > read perfectly well on a couple of Linux boxes.
> geom_linux_lvm.ko
> > > > > loaded,
> > > > > > but:
> > > > > >
> > > > > >   geom linux_lvm list
> > > > > >   geom linux_lvm status
> > > > > >
> > > > > > return nothing.  kern.geom.debugflags=16 and
> > > > > kern.geom.linux_lvm.debug=16,
> > > > > > but *nothing* in logs.  No /dev/linux_lvm/ entries appear, though
> > > the two
> > > > > > component disks appear as /dev/da0 and /dev/da1.
> > > > > >
> > > > > > Suspect I maybe missing something obvious: any ideas where I can
> > > start
> > > > > > debugging this ?
> > > > >
> > > > > Unless I'm missing something (not a big Linux user), LVM is
> normally
> > > > > as a partition on the disks, not the whole disk.  Do the disk
> > > > > partitions show up or just the whole disks?  What does
> > > > >
> > > > > gpart show da0
> > > > > gpart show da1
> > > > >
> > > > > return?
> > > > >
> > > > > Gary
> > > > >
> > >
> > > Hi,
> > >
> > > Do you know if the disks are partitioned under Linux?  If so, you'll
> need
> > > to find the appropriate partition module for FreeBSD.  e.g.
> > > geom_part_mbr or geom_part_gpt or something.
> > >
> > > Regards,
> > >
> > > Gary
> > >
>
> Hi Harry,
>
> Use "kldstat -v" to check for compiled in modules.  e.g.
>
> % kldstat -v | grep part
>                 131 g_part_bsd
>                 134 g_part_mbr
>                 133 g_part_gpt
>                 132 g_part_ebr
>                 130 g_part
>
>
> Regards,
>
> Gary
>
>

-- 
Harry Newton



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKAm69HYLF2P_%2B7WyEaGws%2B_9wP1%2B5WVt%2BKCM1pdV4UMncorKA>