File:  [NetBSD Developer Wiki] / wikisrc / projects / project / live-upgrade.mdwn
Revision 1.6: download - view: text, annotated - select for diffs
Thu Mar 9 06:35:39 2017 UTC (4 years, 10 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by spz: blymn wrote that it's been done, but didn't say who, assume himself

[[!template id=project

title="Live upgrade"


[Brett Lymn](
[Brett Lymn](

duration="3 months"

Updating an operating system image can be fraught with danger, an error could cause the system to be unbootable and require significant work to restore the system to operation.  The aim of this project is to permit a system to be updated while it is running only requiring a reboot to activate the updated system and provide the facility to rollback to a "known good" system in the event that the update causes regressions.

Milestones for this project:

* Make a copy of the currently running system
* Either apply patches, install binary sets, run a source build with the copy as the install target
* Update critical system files to reference the copy (things like fstab)
* Update the boot menu to make the copy the default boot target, the current running system should be left as an option to boot to

The following link shows how live upgrade works on Solaris: <>
The aim is to implement something that is functionally similar to this which can not only be used for upgrading but for any risky operation where a reliable back out is required.


[[!tag gsoc]]

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb