I just upgraded to Truenas from Freenas 11.3 (U5) and while upgrading my jails to FreeBSD 12.2 i noticed the cpuset command can only be issued ONCE after a jail started, compared to an unlimited time back on FreeNAS.
Steps to reproduce;
1. start a 12.2 jail
2. find out jailid by iocage list
3. set corecount restriction with "cpuset -j<ID> -l 1-6" to any core amount
4. check corerestriction by either running work inside the jail or check with "cpuset -j<ID> -g"
5. run command again with different corecount results in: "cpuset: setaffinity: Invalid argument"
(Even rerunning the original command gets rejected)
Can anyone please verify this ?
Best regards and thanks for the new version of the best NAS software ;)
Steps to reproduce;
1. start a 12.2 jail
2. find out jailid by iocage list
3. set corecount restriction with "cpuset -j<ID> -l 1-6" to any core amount
4. check corerestriction by either running work inside the jail or check with "cpuset -j<ID> -g"
5. run command again with different corecount results in: "cpuset: setaffinity: Invalid argument"
(Even rerunning the original command gets rejected)
Can anyone please verify this ?
Best regards and thanks for the new version of the best NAS software ;)