POSTINIT command not fired - where to search?

Status
Not open for further replies.

joyride

Cadet
Joined
Nov 14, 2018
Messages
6
Hello Members.

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

Bildschirmfoto 2018-11-14 um 18.18.05.jpg

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
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479

joyride

Cadet
Joined
Nov 14, 2018
Messages
6
And now? Login via ssh was the first thing.
Again the question: where to look?
 
Status
Not open for further replies.
Top