From owner-freebsd-geom@freebsd.org Fri Feb 8 19:47:00 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 8EA3214BF624 for ; Fri, 8 Feb 2019 19:47:00 +0000 (UTC) (envelope-from harry@yewbarrow.net) Received: from mail-yw1-xc42.google.com (mail-yw1-xc42.google.com [IPv6:2607:f8b0:4864:20::c42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9274768103 for ; Fri, 8 Feb 2019 19:46:59 +0000 (UTC) (envelope-from harry@yewbarrow.net) Received: by mail-yw1-xc42.google.com with SMTP id o184so1836784ywo.5 for ; Fri, 08 Feb 2019 11:46:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yewbarrow-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iNlU0W+PjjtGgyEMp/K/R6KVdQyhzz17t12xFgvrwVY=; b=jGE59UDMeGPa0hGmDixxIqLP2ayw5Br1q7jkn3ci5dEB+6FUCaIlHoADPEZ/VMBOqK 2KVfgSb0lC52Io9Rob6qHfPe7o+IR3bT5mTeXZ7U92Ra1Y/Y4IWvo54qKBjpcXsu8XHq HiNPxgZgQVezmxeoNNfFrzuHtNHBnOXGhp58bqiYOnXkB3CQDAMZvh3Pp3iH9C0Euf5M aW8XvNBzqwE+CAkD2WOanzClcPpjkwwoqznkP263vSu9W4LutbpkAi/PDuV0vjDRrvRg ILm39cJdidsPK59DGdOI58ZUMC8OXfSR+W/b/8jpzmguXWMKA2BTXilIJCTsTR9QeGko 3bIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iNlU0W+PjjtGgyEMp/K/R6KVdQyhzz17t12xFgvrwVY=; b=o0LgHR8ibkErntLE9YiblJ1mnFZ9rxI8bSAVrRuyMOUU4yi3W9gKezrHYRaLDkT9oI LCEBxltMQADb4WXY0zEdMo3HQgIYgG4YQWnQ1bymZaHdKtEJ+8U9XdMkP3F0oxMwDOnV kyXdz53GVVtBdgnK+Y0JFCvncrTZn6Y/3yrBAjRK2mHtyRCeSGIP5mIQ60u83NlLRskN 9o8hWdBEiaDeJRlreUoHPI/vs21Zd/f3pBFjE2zy1Ldwq+mFkP14stCaN0PUjk6EpGp5 LZGm/lmHJinxAvf7Lf0RtFiQMYsUGH6WvZv5pp+KO/v4J09UOTloFLw/nRXifKJ2wVYs atcA== X-Gm-Message-State: AHQUAub3gJUcLlB0H2RClGMrR88cO2gG7UfHh78ZxMW0m2ODkkBBS8yP n1LFBxVhYCbvbCM0GlAE/9hV3MDYpn7g6vN+P/BFhi+L X-Google-Smtp-Source: AHgI3IYGFlSFf+aIFAvg5F+0ZTIpFbTye7z72HBS179s8FbqLMbKkRGm61E6SlRWIXHHfcJVQ47qbmcRQGRw0a7AEVk= X-Received: by 2002:a81:3604:: with SMTP id d4mr19124442ywa.177.1549655218555; Fri, 08 Feb 2019 11:46:58 -0800 (PST) MIME-Version: 1.0 References: <20190207142545.GA44858@in-addr.com> <20190208191926.GB44858@in-addr.com> In-Reply-To: <20190208191926.GB44858@in-addr.com> From: Harry Newton Date: Fri, 8 Feb 2019 19:46:46 +0000 Message-ID: Subject: Re: geom_linux_lvm To: Gary Palmer Cc: freebsd-geom@freebsd.org X-Rspamd-Queue-Id: 9274768103 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yewbarrow-net.20150623.gappssmtp.com header.s=20150623 header.b=jGE59UDM X-Spamd-Result: default: False [-2.11 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.89)[-0.887,0]; R_DKIM_ALLOW(-0.20)[yewbarrow-net.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.13)[0.128,0]; NEURAL_HAM_LONG(-0.97)[-0.972,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-geom@freebsd.org]; DMARC_NA(0.00)[yewbarrow.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yewbarrow-net.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ASPMX.L.GOOGLE.COM]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2.4.c.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.07)[ip: (4.13), ipnet: 2607:f8b0::/32(-2.45), asn: 15169(-1.95), country: US(-0.07)] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:47:00 -0000 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 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 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 > -- Harry Newton