Re: dumpdev AUTO in rc.conf does not work

From: Dave Cottlehuber <dch_at_skunkwerks.at>
Date: Mon, 09 Aug 2021 17:17:00 +0000
On Mon, 9 Aug 2021, at 15:54, Gary Jennejohn wrote:
> Maybe his problem arises from use of /dev/gpt/swap?  That's a difference
> between his setup and your setup.

good point, after amending fstab and checking gpt labels carefully, it still
works ok for me:

root_at_a01 /u/h/dch# gpart show
=>      40  97677232  da0  GPT  (47G)
        40    532480    1  efi  (260M)
    532520      2008       - free -  (1.0M)
    534528   8388608    2  freebsd-swap  (4.0G)
   8923136  88754136    3  freebsd-zfs  (42G)

root_at_a01 /u/h/dch# grep swap /etc/fstab
/dev/gpt/swap0          none            swap    sw                      0       0

root_at_a01 /u/h/dch# swapinfo
Device          512-blocks     Used    Avail Capacity
/dev/gpt/swap0     8388608        0  8388608     0%

root_at_a01 /u/h/dch# sysrc dumpdev
dumpdev: AUTO

root_at_a01 /u/h/dch# dumpon -l
gpt/swap0


I do have these set in loader.conf, though, switching them off makes no difference:

root_at_a01 /u/h/dch# grep geom /boot/loader.conf
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"

A+
Dave
Received on Mon Aug 09 2021 - 17:17:00 UTC

Original text of this message