From owner-freebsd-geom@freebsd.org Fri Feb 8 19:19:29 2019 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93AC014BE725 for ; Fri, 8 Feb 2019 19:19:29 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from mail.in-addr.com (mail.in-addr.com [IPv6:2a01:4f8:191:61e8::2525:2525]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E8A858F17B for ; Fri, 8 Feb 2019 19:19:28 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by mail.in-addr.com with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1gsBgM-000M6j-MF; Fri, 08 Feb 2019 19:19:26 +0000 Date: Fri, 8 Feb 2019 19:19:26 +0000 From: Gary Palmer To: Harry Newton Cc: freebsd-geom@freebsd.org Subject: Re: geom_linux_lvm Message-ID: <20190208191926.GB44858@in-addr.com> References: <20190207142545.GA44858@in-addr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false X-Rspamd-Queue-Id: E8A858F17B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.945,0]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE] X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2019 19:19:29 -0000 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 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