Exporting pool(s) on TrueNAS 12.0-RELEASE

Description

I get the below errors on the console when attempting to export any pool on TrueNAS 12.0. This is with pools created on FreeNAS 11.3 and on TrueNAS 12.0. They are all encrypted pools (2 legacy GELI, and 1 ZFS native). Please let me know if I can provide any logs.

The steps I took:

Go to Storage > Pools
Click "Pool Operations"
Click "Export/Disconnect"

Once that happens a spinning blue circle appears, after a few minutes the below errors start appearing on the console (hundreds of them). After the errors stop the normal export window loads as expected, after I confirm export and click "Export/Disconnect" the export hangs on %20 while the same errors start generating again. I currently cannot export pools.

Oct 26 15:57:51 freenas swap_pager_getswapspace(3): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(3) [2345] : Last message 'failed' repeated 1 times, suppressed by syslog-ng on freenas.local
Oct 26 15:57:51 freenas swap_pager_getswapspace(20): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(18): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(9): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(3): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(20): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(18): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(9): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(3): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(20): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(18): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(9): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(32): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(20): failed
Oct 26 15:57:51 freenas swap_pager_getswapspace(32): failed
Oct 26 15:57:53 freenas kernel: pid 42622 (lsof), jid 0, uid 0, was killed: out of swap space
Oct 26 15:57:53 freenas kernel [2345] : Last message 'pid 42622 (lsof), ji' repeated 1 times, suppressed by syslog-ng on freenas.local
Oct 26 15:57:53 freenas swap_pager_getswapspace(32): failed
Oct 26 15:57:55 freenas kernel: pid 42627 (lsof), jid 0, uid 0, was killed: out of swap space
Oct 26 15:57:56 freenas kernel [2345] : Last message 'pid 42627 (lsof), ji' repeated 1 times, suppressed by syslog-ng on freenas.local
Oct 26 15:57:56 freenas kernel: pid 41153 (collectd), jid 0, uid 0, was killed: out of swap space
Oct 26 15:57:57 freenas kernel [2345] : Last message 'pid 41153 (collectd)' repeated 1 times, suppressed by syslog-ng on freenas.local
Oct 26 15:57:57 freenas swap_pager_getswapspace(32): failed
Oct 26 15:57:57 freenas swap_pager_getswapspace(32) [2345] : Last message 'failed' repeated 2 times, suppressed by syslog-ng on freenas.local
Oct 26 15:57:57 freenas swap_pager_getswapspace(24): failed
Oct 26 15:57:57 freenas swap_pager_getswapspace(32): failed
Oct 26 15:57:57 freenas swap_pager_getswapspace(24): failed
Oct 26 15:57:57 freenas swap_pager_getswapspace(12): failed

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Bug Clerk 
November 2, 2020 at 2:59 PM

Bug Clerk 
November 1, 2020 at 1:50 PM

John Smith 
October 31, 2020 at 12:09 PM

 Here is the output you asked for. I ran it for both pools that are currently connected, the third pool is offline and disconnected for DR. Let me know if you need anything else. Thanks again for the fix!

John Smith 
October 30, 2020 at 10:12 PM

Sure thing, I'll be able to run those commands tomorrow.

Caleb 
October 30, 2020 at 5:38 PM

Great news! thanks for the confirmation. There is 1 last command that I would greatly appreciate if you could run.

Import your zpools and start up all your jails etc etc and get it back to a normal state. Then log in via SSH and run these commands

1. sqlite3 /data/freenas-v1.db ".mode line" "select * from storage_volume"

The above command should return formatted output but there is an "id" field that will have a number for each of your zpools.

If you could take that id number and then run this command for each id

midclt call pool.processes id_0 >> /tmp/processes.txt
midclt call pool.processes id_1 >> /tmp/processes.txt

(take note of the append operator ">>" in the example above)

Complete

Details

Assignee

Reporter

Labels

Impact

Components

Affects versions

Priority

More fields

Katalon Platform

Created October 26, 2020 at 8:20 PM
Updated July 1, 2022 at 5:00 PM
Resolved November 2, 2020 at 2:59 PM