From nobody Thu Mar 23 19:33:21 2023 X-Original-To: freebsd-questions@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 4PjFr50glVz41jGc for ; Thu, 23 Mar 2023 19:33:25 +0000 (UTC) (envelope-from 482254ac@razorfever.net) Received: from mta01.start.ca (mta01.start.ca [162.250.196.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.start.ca", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PjFr45n9qz3w29 for ; Thu, 23 Mar 2023 19:33:24 +0000 (UTC) (envelope-from 482254ac@razorfever.net) Authentication-Results: mx1.freebsd.org; none Received: from mta01.start.ca (localhost [127.0.0.1]) by mta01.start.ca (Postfix) with ESMTP id 2E92C20886; Thu, 23 Mar 2023 15:33:23 -0400 (EDT) Received: from mail.razorfever.net (unknown [45.59.188.50]) by mta01.start.ca (Postfix) with ESMTPSA id 04C6F20865; Thu, 23 Mar 2023 15:33:22 -0400 (EDT) Received: from [192.168.0.33] (bock.razorfever.net [192.168.0.33]) by mail.razorfever.net (8.15.2/8.15.2) with ESMTP id 32NJXLI3025284; Thu, 23 Mar 2023 15:33:21 -0400 (EDT) (envelope-from 482254ac@razorfever.net) X-Authentication-Warning: mail.razorfever.net: Host bock.razorfever.net [192.168.0.33] claimed to be [192.168.0.33] Message-ID: Date: Thu, 23 Mar 2023 15:33:21 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: Current best practices: UEFI boot on zfsboot nvme raid? Content-Language: en-US To: Paul Mather Cc: FreeBSD Mailing List References: From: "Derek (freebsd lists)" <482254ac@razorfever.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.4 required=5.0 tests=ALL_TRUSTED, FROM_STARTS_WITH_NUMS,RP_MATCHES_RCVD,URIBL_BLOCKED autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.razorfever.net X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4PjFr45n9qz3w29 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:40788, ipnet:162.250.196.0/22, country:CA] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 2023-03-23 15:23, Paul Mather wrote: > On Mar 22, 2023, at 4:56 PM, Derek (freebsd lists) <482254ac@razorfever.net> wrote: > >> My guess is, like swap, it might be possible to gmirror across my RAID this filesystem and remove all of these considerations. Is this the best practice? > > > I don't know if it's best practices, but that is what I do. I have a /dev/mirror/efi geom_mirror msdosfs mounted via /etc/fstab on /boot/efi. That makes it easy to update both copies at once and keep them in sync. > > However, the HUGE downside is that efibootmgr doesn't appear to work with GEOM labels, and so I get "efibootmgr: Cannot translate unix loader path" errors when trying to create new boot entries via "efibootmgr -c". :-( > > I believe this Bugzilla is pertinent, and it still appears to be open: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229191 > > So, I guess best practices for everything working is to stick with the low-level device names like ada0p1 and so on. > This is great information, and good leads to follow. Thanks for your reply. For those finding the thread later, I feel like "stick with low-level device names" refers to the work around when using efibootmgr referenced in the bug. People do win on freebsd-questions! Derek