From nobody Fri Sep 9 20:02:11 2022 X-Original-To: hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MPRjX6y8mz4cCd5 for ; Fri, 9 Sep 2022 20:02:24 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com [209.85.160.181]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MPRjX0sYzz3QXk for ; Fri, 9 Sep 2022 20:02:24 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-qt1-f181.google.com with SMTP id x7so1961268qtv.9 for ; Fri, 09 Sep 2022 13:02:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=1E4H3gaXOZpIBI2qnTModsuov8e3+zwmrB/vJD8eMfA=; b=2IxTCH9PdjaiFntdMBCiJxrhsQZhxEUGtmZT6fjWkmqalaqtfKHuhW1UlGsFrP82kZ zIXnn5hCpjkBmHNdR70EBH/7cfkjjOrV/gNmODx/EJiKEibPZI7V+7i9J3bXyYTOSQ6p c5Cexklt984J5c2YRUtrGn4dnx5TcbFlo6S/XO/s4Xjum91WVnw7fNOQVHzUBkmmPLn7 MHI6/ACtP7t96IJfMC1ICz561U2sa08gzuMU7OQ/tWMp4MwUhZ0BE37pB9gxN3jBNJsz KYWucH0AmRaJzXKT25sIfapsFGnZfkl7UdBy0xLZ90A5P0N2XC7k2UdHw0XKpxIfHcv8 2Buw== X-Gm-Message-State: ACgBeo0BryqWjFYAt5XIlRZVXo2kLSdwBeUzA7L1Fs2+kqYKUFuGf0aj 6Ojayjv8oSQ3pfq/PIdjUIdoTORgwshiOzeA+ZxJt+Hn+/U= X-Google-Smtp-Source: AA6agR4+RA8BTrvHeMQd9dmwJVqzVxvJpvaOpCPR534lkPHA/9xpF5koSdm7Tz0h2sg4ixjwEleQHHCYewJfzLcHz6s= X-Received: by 2002:a05:622a:2593:b0:35b:a66e:ac5e with SMTP id cj19-20020a05622a259300b0035ba66eac5emr824485qtb.659.1662753743227; Fri, 09 Sep 2022 13:02:23 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Fri, 9 Sep 2022 14:02:11 -0600 Message-ID: Subject: Re: openbsd disklabels incompatible? To: "Michael W. Lucas" Cc: hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4MPRjX0sYzz3QXk X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.160.181 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-2.10 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[209.85.160.181:from]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.181:from]; MLMMJ_DEST(0.00)[hackers@freebsd.org]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[freebsd.org]; FREEFALL_USER(0.00)[asomers]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On Fri, Sep 9, 2022 at 10:15 AM Michael W. Lucas wrote: > > Hi, > > I don't know if anyone cares, if this is a bug, or what. > > Using ctl as an iscsi target for an OpenBSD initiator, and GEOM tells > me: > > GEOM: zvol/zroot/iscsi1p1: invalid disklabel > GEOM: gpt/OpenBSD%20Area: invalid disklabel. > > Is this expected? It doesn't seem to matter for iscsi, but it might > bite someone? Have our labels forked? This isn't a problem for iSCSI. It just means that GEOM is tasting the partition, and can't find anything that it can mount. But you don't need to mount it in order to export it via ctld. Also, pro tip: if you do zfs set volmode=dev zroot/iscsi1 Then geom won't even see the device. That will prevent these warning messages, and is slightly faster. I'm assuming that your zvol is named "zroot/iscsi1", and you've partitioned it, but are serving the entire volume via ctld. -Alan