Re: savecore: can't find device

Sad Clouds <[email protected]>
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
On Wed, 20 May 2026 08:29:34 +0100
Sad Clouds <[email protected]> wrote:

> Does anyone know if there are potentially undocumented issues with
> savecore(8) when using swap on LVM volumes on top of CGD?
> 
> # savecore -n
> savecore: can't find device 194/1
> 

I think the bug with savecore(8) is that it does not descend into
subdirectories under /dev

# ktruss savecore -n | grep -e vg -e mapper
savecore: can't find device 194/1
  5611   5611 savecore __lstat50("/dev/mapper", 0x7f7fff391210) = 0
  5611   5611 savecore __lstat50("/dev/vg0", 0x7f7fff391210) = 0

See find_dev() in src/sbin/savecore/savecore.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.