Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

Use value from System -> Advanced for swapsize in vdev estimation

Description

Seen in FreeNAS-11.3-MASTER-201911181319 (i also ran it on TrueNAS-11.3-MASTER-201911150922 and the value didn't change)

The swap size in the ui was 2. I ran

root@fn07[~]# swapinfo
Device 1K-blocks Used Avail Capacity
/dev/mirror/swap0.eli 2097152 0 2097152 0%
/dev/mirror/swap1.eli 2097152 0 2097152 0%
/dev/mirror/swap2.eli 2097152 0 2097152 0%
Total 6291456 0 6291456 0%
root@fn07[~]#

I navigated to System->Advanced -> swap size

I changed it to a 1, saved, and rebooted
I ran:
root@fn07[~]# swapinfo
Device 1K-blocks Used Avail Capacity
/dev/mirror/swap0.eli 2097152 0 2097152 0%
/dev/mirror/swap1.eli 2097152 0 2097152 0%
/dev/mirror/swap2.eli 2097152 0 2097152 0%
Total 6291456 0 6291456 0%
root@fn07[~]#

I changed it to 4, saved and rebooted and ran:
root@fn07[~]# swapinfo
Device 1K-blocks Used Avail Capacity
/dev/mirror/swap0.eli 2097152 0 2097152 0%
/dev/mirror/swap1.eli 2097152 0 2097152 0%
/dev/mirror/swap2.eli 2097152 0 2097152 0%
Total 6291456 0 6291456 0%
root@fn07[~]#

I left it on 4 and saved a debug. I wiull include the debug as soon as it's finished.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Erin Clark November 20, 2019 at 7:39 PM

Note this will not  change the size of swap after it is created, but there was a bug where the pool manager wasn't displaying the swap size properly in pool creation size estimates.

Erin Clark November 20, 2019 at 7:38 PM

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created November 18, 2019 at 8:40 PM
Updated July 1, 2022 at 4:47 PM
Resolved November 20, 2019 at 10:51 PM