From owner-freebsd-fs@freebsd.org Tue Mar 2 19:27:26 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 75CE454DD73 for ; Tue, 2 Mar 2021 19:27:26 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from fc.opsec.eu (fc.opsec.eu [IPv6:2001:14f8:200:4::4]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqnFp31p7z3FpR for ; Tue, 2 Mar 2021 19:27:26 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by fc.opsec.eu with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lHAfz-000Nla-Ci; Tue, 02 Mar 2021 20:27:23 +0100 Date: Tue, 2 Mar 2021 20:27:23 +0100 From: Kurt Jaeger To: John Kennedy Cc: freebsd-fs@freebsd.org Subject: Re: digital ocean droplet, FreeBSD update from 11.2 to 12.2p4, zpool upgrade and boot sector ? Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4DqnFp31p7z3FpR X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 19:27:26 -0000 Hi! > > Now: How do I update the boot sector for the additional zpool > > features ? > > > > It normally says: > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 > > > > But I have no da0 on the digitalocean droplet ? > > As always, be careful. For my droplet, my disk looks like this: > > # gpart show > => 40 104857520 vtbd0 GPT (50G) > --> 40 512 1 freebsd-boot (256K) > 552 4194304 2 freebsd-swap (2.0G) > 4194856 100662704 3 freebsd-zfs (48G) > > So, BIOS (gpart bootcode Ok, vs UEFI) on partition 1. If your setup is like > mine, you'd want to be using "vtbd0" instead of "da0". > > So, presumably: > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 vtbd0 Thanks -- gpart does not work, but /dev/ has: l vtbd* crw-r----- 1 root operator 0x55 Mar 1 06:20 vtbd0 crw-r----- 1 root operator 0x57 Mar 1 06:20 vtbd0p1 crw-r----- 1 root operator 0x58 Mar 1 06:20 vtbd0p2 crw-r----- 1 root operator 0x59 Mar 1 06:20 vtbd0p3 crw-r----- 1 root operator 0x56 Mar 1 06:20 vtbd1 So that part looks similar, but gpart has this: # gpart show *** Fatal error: open(show): No such file or directory. -- pi@FreeBSD.org +49 171 3101372 Now what ?