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

Add option to not use SWAP partition on selected disks

Description

while inspecting https://jira.ixsystems.com/browse/NAS-113554

we found out that the load on the drive came trough usage of automatic created swap partitions. we fixed it by turning off automatic swap creation when extending/resilvering
and I detatched and reattached the disk/extended the pool/resilvered.

That hack solved the problem.

But Waqar Amed also came up with the idea of adding an option to the gui,
where the user can decide to not use swap partition on selected drives.

So this feature wish is exactly that: an option in the GUI, where users can exclude disks/pools from swap partition usage.

ps.: as I get the following errormsg "Only iX Engineers can create Improvement / Feature Ticket Types", this "new feature" wish, was posted as an "Suggestion"

Activity

Show:

Kris Moore 
July 18, 2024 at 5:56 PM

Thank you for submitting this feature request! To better accommodate and gauge community interest for future versions of TrueNAS we have moved the submission process to our TrueNAS Community Forums. If this feature is still important and relevant for consideration, please refer to the links below on how to submit it for community voting and TrueNAS roadmap review.

Feature Requests Forum:
https://forums.truenas.com/c/features/12

Feature Requests FAQ:
https://forums.truenas.com/t/about-the-feature-requests-category-readme-first/8802

Jip-Hop 
April 10, 2022 at 11:49 AM
(edited)

I'd like to use my mirrored boot SSD's for swap. Was surprised to see that my 32GB USB pendrive was suddenly part of the mdadm raid array for swap, after I created a test pool on it. My boot drives aren't used for swap any longer... Would love a GUI option to prevent creation of swap partition when creating a new pool.

 
root@nas[~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 232.9G 0 disk
├─sda1 8:1 1 1M 0 part
├─sda2 8:2 1 512M 0 part
└─sda3 8:3 1 232.4G 0 part
sdb 8:16 1 3.6T 0 disk
├─sdb1 8:17 1 2G 0 part
│ └─md127 9:127 0 2G 0 raid1
│ └─md127 253:0 0 2G 0 crypt [SWAP]
└─sdb2 8:18 1 3.6T 0 part
sdc 8:32 1 232.9G 0 disk
├─sdc1 8:33 1 1M 0 part
├─sdc2 8:34 1 512M 0 part
└─sdc3 8:35 1 232.4G 0 part
sdd 8:48 1 3.6T 0 disk
├─sdd1 8:49 1 2G 0 part
│ └─md127 9:127 0 2G 0 raid1
│ └─md127 253:0 0 2G 0 crypt [SWAP]
└─sdd2 8:50 1 3.6T 0 part
sde 8:64 1 3.6T 0 disk
├─sde1 8:65 1 2G 0 part
│ └─md126 9:126 0 2G 0 raid1
│ └─md126 253:1 0 2G 0 crypt [SWAP]
└─sde2 8:66 1 3.6T 0 part
sdf 8:80 1 28.6G 0 disk
├─sdf1 8:81 1 2G 0 part
│ └─md126 9:126 0 2G 0 raid1
│ └─md126 253:1 0 2G 0 crypt [SWAP]
└─sdf2 8:82 1 26.6G 0 part
 

 

Unresolved

Details

Priority

Assignee

Reporter

More fields

Katalon Platform

Created December 12, 2021 at 12:06 AM
Updated July 18, 2024 at 6:03 PM

Flag notifications