CmdrDeLiver
Cadet
- Joined
 - Mar 25, 2021
 
- Messages
 - 3
 
Hi everyone,
So I installed TrueNAS-12.0-U2.1 on a testing rig. This is for learning purposes and the hardware is not production. 16G ECC, G2020T, HPE Microserver Gen8, 1.5T hdd, 1.0T hdd, and 500G sdd.
During boot, it offered to make a 16G swap partition - yes. So it created the partition and doesn't use it. Instead it is using much smaller 2G parts spread across the data drives.
Questions:
Why is a swap partition made but not used?
What is the recommended way to add and persist it across reboots?
	
		
			
		
		
	
			
			So I installed TrueNAS-12.0-U2.1 on a testing rig. This is for learning purposes and the hardware is not production. 16G ECC, G2020T, HPE Microserver Gen8, 1.5T hdd, 1.0T hdd, and 500G sdd.
During boot, it offered to make a 16G swap partition - yes. So it created the partition and doesn't use it. Instead it is using much smaller 2G parts spread across the data drives.
Questions:
Why is a swap partition made but not used?
What is the recommended way to add and persist it across reboots?
gpart show
=>        40  2930277088  ada0  GPT  (1.4T)
          40          88        - free -  (44K)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  2926082696     2  freebsd-zfs  (1.4T)
=>        40  1953525088  ada1  GPT  (932G)
          40          88        - free -  (44K)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  1949330696     2  freebsd-zfs  (930G)
=>       40  976773088  ada2  GPT  (466G)
         40       1024     1  freebsd-boot  (512K)
       1064   33554432     3  freebsd-swap  (16G)
   33555496  943194112     2  freebsd-zfs  (450G)
swapinfo
Device          1K-blocks     Used    Avail Capacity
/dev/mirror/swap0.eli   2097152       0B     2.0G     0%