From owner-freebsd-geom@freebsd.org Fri Feb 8 20:06:19 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 1163E14BFD07 for ; Fri, 8 Feb 2019 20:06:19 +0000 (UTC) (envelope-from harry@yewbarrow.net) Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) (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 1B6C669D59 for ; Fri, 8 Feb 2019 20:06:18 +0000 (UTC) (envelope-from harry@yewbarrow.net) Received: by mail-yb1-xb2c.google.com with SMTP id k9so1926112ybg.1 for ; Fri, 08 Feb 2019 12:06:18 -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=B0UGC1ev54pPw3sVHmM5czPj5NC95+dMhtgOzdzoris=; b=bbcuzDMUSFaNmR39l/+/SawUQI6uA6K6XdQenrUbcueZ2sJRWPjLmvpupK4+yfglD9 t/C1EPIJqIMpLOmwMUP9mE4+0qWYI9QzewFF+T20oeq1O9syc3PnidMz8ypja2Psb9h7 INajtEZKQueoGdE700o8IS3H4pdEAaNpKrGtoci5yMk1yY8mLVlsV9YX1ztnlSkA2XmS ixzjqf3qLCViJ/mpii7aB2WEdC7OPyyL8uD9PP7WFwWZWKsUdHjpjPF/LkYDcU5Av1OV it2c1HcEs/mgU6avzOtWn+ieyeAvLmpwmnsH+htWQ1Lj4PyfFrJqnqcLJrfgmZKxJMeD A67A== 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=B0UGC1ev54pPw3sVHmM5czPj5NC95+dMhtgOzdzoris=; b=oOOz9rjcRUzJrzIyNkHQA9Nv2l5a+fpA3dcYStjz+2h8YJlTYQddsCAhJKxkvaTxo9 9Sx6/DY79vC8B/yQYWwHHbv7wR/hwoZHjPNjj5MkTE/uGwQkI1UZ832PH9g5VBQcgMT0 gm6bsYy6GBkyWSz7k8bMA+aJYtf4+dFrRttVRNZkDw/OkCB9IPRuE5KcI0PlJegro0qj zr/+2Bmr1AhkpucU5gr3+gBpa0QR7qLIjFJDgyircQOD7n2SoMpLmNd4EivXUouWXRsE rlgVFf8RyOa+ZmGvptiqv1Q8D7ID8Uy6sxdZ9i8UDsfdKO96ypnbbUigQ5+z0bhT9/Nm kOiw== X-Gm-Message-State: AHQUAuatUK/KNT/Lj8sqA+PK6sTb5woh3OpFZLFRoZ/VT0/d2tWz4LZZ WlkRh674uMP43/fmD++IyX7xCQShwL1cQIUEMOMWZA== X-Google-Smtp-Source: AHgI3Ib8m8GB5qMcadxChZWWqPH/UznUr1sDpDX8We6Vsqvdl0R4UVC9q0zIah7zePx8QpDCRijtVMY2wM/ImRVuAbM= X-Received: by 2002:a25:d209:: with SMTP id j9mr3755982ybg.291.1549656377180; Fri, 08 Feb 2019 12:06:17 -0800 (PST) MIME-Version: 1.0 References: <20190207142545.GA44858@in-addr.com> <20190208191926.GB44858@in-addr.com> <20190208200027.GC44858@in-addr.com> In-Reply-To: <20190208200027.GC44858@in-addr.com> From: Harry Newton Date: Fri, 8 Feb 2019 20:06:04 +0000 Message-ID: Subject: Re: geom_linux_lvm To: Gary Palmer Cc: freebsd-geom@freebsd.org X-Rspamd-Queue-Id: 1B6C669D59 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yewbarrow-net.20150623.gappssmtp.com header.s=20150623 header.b=bbcuzDMU X-Spamd-Result: default: False [-6.04 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[yewbarrow-net.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,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:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[c.2.b.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]; MX_GOOD(-0.01)[cached: ASPMX.L.GOOGLE.COM]; R_SPF_NA(0.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.959,0]; 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(-2.77)[ip: (-9.36), 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 20:06:19 -0000 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 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 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 > > > > > 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