Re: dumpdev AUTO in rc.conf does not work

From: Graham Perrin <grahamperrin_at_gmail.com>
Date: Sun, 08 Aug 2021 13:18:34 UTC
On 08/08/2021 01:10, Daniel Morante via freebsd-current wrote:
> Hello,
>
> I am running 14.0-CURRENT using the snapshot from 2021-08-05. …
> root@callisto:~ # uname -a
> FreeBSD callisto 14.0-CURRENT FreeBSD 14.0-CURRENT #0 
> main-n248478-f3a3b061216: Thu Aug  5 06:03:20 UTC 2021 root@releng 
> 1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 
> …

I normally set
dumpdev="/dev/ada0p3"
but changed it today, temporarily, for test purposes.

% sysrc dumpdev
dumpdev: /dev/ada0p3
% dumpon -l
/dev/null
% swapinfo -h
Device              Size     Used    Avail Capacity
/dev/ada0p3.eli      16G       0B      16G     0%
% lsblk ada0
DEVICE         MAJ:MIN SIZE 
TYPE                                          LABEL MOUNT
ada0             0:127 466G 
GPT                                               - -
   ada0p1         0:129 200M efi gpt/efiboot0 -
   ada0p2         0:131 512K freebsd-boot gpt/gptboot0 -
   <FREE>         -:-   492K 
-                                                 - -
   ada0p3         0:133  16G freebsd-swap                              
gpt/swap0 SWAP
   ada0p3.eli     1:32   16G 
freebsd-swap                                      - SWAP
   ada0p4         0:135 450G freebsd-zfs                                
gpt/zfs0 <ZFS>
   ada0p4.eli     0:146 450G 
zfs                                               - -
   <FREE>         -:-   4.0K 
-                                                 - -
% uname -a
FreeBSD mowa219-gjp4-zbook-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT 
#104 main-n248478-f3a3b061216: Thu Aug  5 08:19:36 BST 2021 
root@mowa219-gjp4-zbook-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG 
amd64
%