Hello Members.
Try to run an Postinit commando but nothing happens.
Where can I search for possible errors?
In the log files I know I cannot see anything. It is a headless setup, so no console at startup.
Nothing changed in /etc on boot/root-pool. So look like script is not executed at all.
Any hints for next investigations?
Thanks and Greetings
Bernd
PS: have stability problems with swap on my ssd pool and try to work around the issue until I find the target solution.
System: FreeNAS-11.2-RC1
Try to run an Postinit commando but nothing happens.
Where can I search for possible errors?
swapoff -a ; grep -v -E 'none[[:blank:]]+swap[[:blank:]]' /etc/fstab > /etc/fstab.new && echo "md99 none swap sw,file=/usr/swap0,late 0 0" >> /etc/fstab.new && mv /etc/fstab.new /etc/fstab ; swapon -aL

In the log files I know I cannot see anything. It is a headless setup, so no console at startup.
Nothing changed in /etc on boot/root-pool. So look like script is not executed at all.
Any hints for next investigations?
Thanks and Greetings
Bernd
PS: have stability problems with swap on my ssd pool and try to work around the issue until I find the target solution.
System: FreeNAS-11.2-RC1