Re: dumpdev AUTO in rc.conf does not work
- Reply: Gary Jennejohn : "Re: dumpdev AUTO in rc.conf does not work"
- In reply to: Gary Jennejohn : "Re: dumpdev AUTO in rc.conf does not work"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Aug 2021 17:17:00 UTC
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@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@a01 /u/h/dch# grep swap /etc/fstab
/dev/gpt/swap0 none swap sw 0 0
root@a01 /u/h/dch# swapinfo
Device 512-blocks Used Avail Capacity
/dev/gpt/swap0 8388608 0 8388608 0%
root@a01 /u/h/dch# sysrc dumpdev
dumpdev: AUTO
root@a01 /u/h/dch# dumpon -l
gpt/swap0
I do have these set in loader.conf, though, switching them off makes no difference:
root@a01 /u/h/dch# grep geom /boot/loader.conf
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
A+
Dave