geom_linux_lvm
Gary Palmer
gpalmer at freebsd.org
Fri Feb 8 20:00:30 UTC 2019
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 at 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 at 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
More information about the freebsd-geom
mailing list