Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2019 18:40:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 228461] swapinfo(8) is not able to align the columns with longer names of devices
Message-ID:  <bug-228461-227-0cruYUzEeY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-228461-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-228461-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228461

Benedict Reuschling <bcr@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |bcr@FreeBSD.org

--- Comment #2 from Benedict Reuschling <bcr@FreeBSD.org> ---
It is definitely valid, especially when you have your swap on zvols and/or =
GELI
encrypted swap. This easily overflows the space. Another misalignment happe=
ns
when you have multiple swap providers, like a swap file or a swap area on e=
ach
of many disks like this:=20

$ swapinfo -h
Device          1K-blocks     Used    Avail Capacity
/dev/gpt/swap0.eli  16777216       0B      16G     0%
/dev/gpt/swap1.eli  16777216       0B      16G     0%
/dev/gpt/swap2.eli  16777216       0B      16G     0%
/dev/gpt/swap3.eli  16777216       0B      16G     0%
Total            67108864       0B      64G     0%

There is a patch in this PR here that might provide a solution:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223876

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228461-227-0cruYUzEeY>