NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/56550: swapctl: SWAP_STATS different to SWAP_NSWAP (1 != 3)
>Number: 56550
>Category: bin
>Synopsis: swapctl -l sometimes reports an error when there is no error
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 14 21:50:00 +0000 2021
>Originator: mac%culver.net@localhost
>Release: NetBSD 9.99.92
>Organization:
>Environment:
System: NetBSD arm64 9.99.92 NetBSD 9.99.92 (M64) #5: Sun Dec 12 00:57:02 UTC 2021 mac@arm64:/obj/sys/arch/evbarm/compile/M64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:
swapctl: SWAP_STATS different to SWAP_NSWAP (1 != 3)
>How-To-Repeat:
; /swapfile0 is set up in rc.local
# swapctl -ap0 /swapfile1
# swapctl -ap0 /swapfile2
# swapctl -l
Device 1048576-blocks Used Avail Capacity Priority
/swapfile0 4096 195 3900 5% 0
/swapfile2 4096 115 3980 3% 0
/swapfile1 4096 115 3980 3% 0
Total 12288 425 11862 3%
# swapctl -l
swapctl: SWAP_STATS different to SWAP_NSWAP (1 != 3)
Device 1048576-blocks Used Avail Capacity Priority
/swapfile0 4096 408 3687 10% 0
#
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index