file missing after reboot

B-XIT

Cadet
Joined
Oct 6, 2022
Messages
2
Hi all,

i have installed a TrueNAS core 13 in virtual machine
i create a file within name "SerialNumber" in directory /usr/local/etc/rc.d , it's just for information of Serial Number.
before reboot.png


but after restarting the server, the file is gone. how to save the file permanently?
Screenshot from 2023-03-01 15-49-13.png
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Files on your data pool won't be removed.

The /root/ directory on the boot pool is left alone also.

Anything else on the boot pool is not for user modification, so is at risk of loss if you mess with it.
 
Top