From nobody Mon Sep 6 15:45:31 2021 X-Original-To: current@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 ABEA917C3BE8 for ; Mon, 6 Sep 2021 15:45:35 +0000 (UTC) (envelope-from gardask@gmail.com) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H3CR31HyVz4k2Y for ; Mon, 6 Sep 2021 15:45:35 +0000 (UTC) (envelope-from gardask@gmail.com) Received: by mail-qk1-x735.google.com with SMTP id b64so7307172qkg.0 for ; Mon, 06 Sep 2021 08:45:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=vFOtBvTXGmCAhzYCKvWM+FJMWuPK0yAjfQ+kX5UpY3c=; b=UqlUbBbK5AtVaq07FZ45NnnIgFf7ADeup3Pjoelk/9NK+sIZoQTlEkzPC5Sf8yoYYN 6fy7OoyCvSmQBMCAnYteGzvAAW9FiPDBJgjls1H3qIJ3ufj/twYxPRhTCIThwTkaxheQ giB+unyGseyTjrOLoBR+Af72gYw6+688YN71aOwMg/c5OrKeTLxy1p0ihqNQTZQUWDV9 hWWRRjg+x7b7cQhc8onB1g7hsTmmU2pCW6IO4KaoufRvvOsh/Hrw7UdTQ+eHzcEs31w9 b/5HmV14ZloA43cQEwjJlAO1H0Sw9SRlT5xAJLv5A+FEoyDy9hjCkMgmncsC0yQ/wPag Zu0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=vFOtBvTXGmCAhzYCKvWM+FJMWuPK0yAjfQ+kX5UpY3c=; b=IOuWluee5DAkV+T4GG+S0tGfTovivEDXzmXWQ+ySn1eXbkuLKW3G7wdZKBnV/xn4fh lftsuDfuJ0kAEbBHmKK3jUzpV/MX/tNXoz6336nG0OLOCEHOzS5g2QMOmN93MkpJaz2C yup1Tf5zKon4j14QLeJTZLvblOdky9+UHAG2usNqo3HIq2bTGhcfp5fJt5bJQ6n97Faf GAxv1OAE21FfbkaasiZGgZF2aJJfvjFe/CEFRYWrhqB5dcIxDIsU00/jPKeD+OwOETVR 6myPWeGD0YFfMW+aYi0g/uV4QIzyNvO0c2pAzXlZTjelt22dDRFpl2Lq14GJuO1h0fHj SYOg== X-Gm-Message-State: AOAM532I3UQshbti22TivSe5NbXMF3t6kPlvMKhEoiI9ny646IFTR9K0 s8JhEGlzaRDA6s7yadiGRq3xc7q6f7s= X-Google-Smtp-Source: ABdhPJwPaRoXYdUo0ztKwe+y7WD8VOK9xp1uT1GTfhL7tJEGYWXd//mKXx5zL7AEFTE/8qx8DReF8A== X-Received: by 2002:a37:a405:: with SMTP id n5mr11727585qke.218.1630943134664; Mon, 06 Sep 2021 08:45:34 -0700 (PDT) Received: from [10.0.30.5] ([31.47.99.1]) by smtp.gmail.com with ESMTPSA id c2sm5423619qte.22.2021.09.06.08.45.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Sep 2021 08:45:34 -0700 (PDT) To: current@freebsd.org From: Karel Gardas Subject: Install to ZFS root is using device names hence failing when device tree is changed. Message-ID: <73602bc2-44d9-f45e-e91e-fb0bd30dd640@gmail.com> Date: Mon, 6 Sep 2021 17:45:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4H3CR31HyVz4k2Y X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=UqlUbBbK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gardask@gmail.com designates 2607:f8b0:4864:20::735 as permitted sender) smtp.mailfrom=gardask@gmail.com X-Spamd-Result: default: False [-3.52 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::735:from]; NEURAL_HAM_SHORT(-0.52)[-0.521]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N Hello, just installed 14-current snapshot from 2.9. on uefi amd64 machine. Installed from USB memstick which was detected as da0 into the ssd hanging on usb3 in external enclosure which was detected as da1. ZFS root pool is then using /dev/da1p3 as swap and /dev/da1p1 as /boot/efi and probably also something as root zpool. Anyway, expected thing happen. When I pulled out USB stick identified as da0 on reboot, the drive on USB3 switch from da1 to da0 and result is unbootable system with complains about various /dev/da1xx drives missing for swap efi boot etc. Would be great if ZFS root install was using kind of device uuids or serial numbers or so so such device change would not disrupt freebsd from running correctly. Thanks, Karel