TrueNAS Documentation Archive
This content follows the TrueNAS 23.10 (Cobia) releases. Archival documentation is provided for reference only and not actively maintained. Use the Product and Version selectors above to view content specific to different TrueNAS software or major version.
Managing Boot Environments
6 minute read.
Last Modified 2023-07-24 15:49 EDTTrueNAS supports a ZFS feature known as boot environments. These are snapshot clones that TrueNAS can boot into. Only one boot environment can be used for booting.
To view the list of boot environments on the system, go to System Settings > Boot. Each boot environment entry contains this information:
- Name: the name of the boot entry as it appears in the boot menu.
- Active: indicates which entry boots by default if a boot environment is not active.
- Date Created: indicates the boot environment creation date and time.
- Space: shows boot environment size.
- Keep: indicates whether or not TrueNAS deletes this boot environment when a system update does not have enough space to proceed.
To access more options for a boot environment, click to display the list of options.
The option to activate a boot environment only displays for boot entries not set to Active
Cloning copies the selected boot environment into a new entry.
You can change the name of any boot environment on the System Settings > Boot screen.
Deleting a boot environment removes it from the System Settings > Boot screen and from the boot menu.
Keep toggles with the Unkeep option, and they determine whether the TrueNAS updater can automatically delete this boot environment if there is not enough space to proceed with an update.
You can make a new boot environment to your TrueNAS.
The Stats/Settings option displays current system statistics and provides the option to change the scrub interval, or how often the system runs a data integrity check on the operating system device.
You an attach or replace the boot environment.
You can perform a manual data integrity check (scrub) of the operating system device at any time.
Sometimes, rolling back to an older boot environment can be useful. For example, if an update process does not go as planned, it is easy to roll back to a previous boot environment. TrueNAS automatically creates a boot environment when the system updates.
Use the Activate option on the more_vert for the desired boot environment.
This changes the Active column to Reboot for the boot environment, and means the boot environment becomes active on the next system boot. The system configuration also changes to the state it was in when the boot environment was created.